[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/ctools/page_manager/plugins/tasks/ -> search.inc (summary)

(no description)

File Size: 291 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 10 functions

  page_manager_search_page_manager_tasks()
  page_manager_search_menu_alter()
  page_manager_search_view()
  page_manager_search_page()
  page_manager_search_get_arguments()
  page_manager_search_get_contexts()
  page_manager_search_enable()
  page_manager_search_subtasks()
  page_manager_search_subtask()
  page_manager_search_build_subtask()

Functions
Functions that are not part of a class:

page_manager_search_page_manager_tasks()   X-Ref
Specialized implementation of hook_page_manager_task_tasks(). See api-task.html for
more information.


page_manager_search_menu_alter(&$items, $task)   X-Ref
Callback defined by page_manager_search_page_manager_tasks().

Alter the search tabs to work with page manager. The search flow is
quite odd, and tracing through the code takes hours to realize
that the tab you click on does not normally actually handle
the search. This tries to account for that.

Note to module authors: This tends to work a lot better with modules
that override their own search pages if their _alter runs *before*
this one.

page_manager_search_view($type = 'node')   X-Ref
Replacement function for normal search view.

This function resets the active trail because menu system loses track
of it due to the special way we're handling search items.

page_manager_search_page($type)   X-Ref
Entry point for our overridden node view.

This function asks its assigned handlers who, if anyone, would like
to run with it. If no one does, it passes through to Drupal core's
node view, which is node_page_view().

page_manager_search_get_arguments($task, $subtask_id)   X-Ref
Callback to get arguments provided by this task handler.

Since this is the node view and there is no UI on the arguments, we
create dummy arguments that contain the needed data.

page_manager_search_get_contexts($task, $subtask_id)   X-Ref
Callback to get context placeholders provided by this handler.


page_manager_search_enable($cache, $status)   X-Ref
Callback to enable/disable the page from the UI.


page_manager_search_subtasks($task)   X-Ref
Task callback to get all subtasks.

Return a list of all subtasks.

page_manager_search_subtask($task, $subtask_id)   X-Ref
Callback to return a single subtask.


page_manager_search_build_subtask($task, $name)   X-Ref
Build a subtask array for a given page.




Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7