You are here

function panels_page_render_handler in Panels 6.2

Execute the active page rendering callback.

This is the unified handler through which ALL (non-admin) panels_page-touched callbacks pass. It takes the callback and arguments calculated by the main brain, panels_page_get_loader_data(), and fires out the callback with its arguments.

Return value

mixed

2 string references to 'panels_page_render_handler'
panels_page_construct_static_menu_link in panels_page/panels_page.menu.inc
Build a panels_page menu entry for a static panels_page.
_panels_page_construct_dynamic_menu_link in panels_page/panels_page.menu.inc
Helper function to create a menu item for a panel.

File

panels_page/panels_page.module, line 240
panels_page.module

Code

function panels_page_render_handler() {
  $args = func_get_args();

  // FIXME all of these are wrapped in if statements b/c of the 403/404 possibility
  if ($loader_data = panels_page_master_loader($args)) {
    return call_user_func_array($loader_data->page_callback, $loader_data->page_arguments);
  }
}