[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

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

(no description)

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

Defines 23 functions

  page_manager_page_page_manager_tasks()
  page_manager_page_subtasks()
  page_manager_page_subtask()
  page_manager_page_save_subtask()
  page_manager_page_build_subtask()
  page_manager_page_theme()
  page_manager_page_execute()
  page_manager_page_get_arguments()
  _page_manager_page_get_arguments()
  page_manager_page_get_contexts()
  page_manager_page_access_restrictions()
  page_manager_page_new()
  page_manager_page_load()
  page_manager_page_load_all()
  page_manager_page_save()
  page_manager_page_delete()
  page_manager_page_export()
  page_manager_page_get_named_arguments()
  _pm_arg_load()
  page_manager_page_admin_summary()
  page_manager_page_enable()
  page_manager_page_recalculate_arguments()
  page_manager_page_new_page_cache()

Functions
Functions that are not part of a class:

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


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

Return a list of all subtasks.

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


page_manager_page_save_subtask($subtask)   X-Ref
Call back from the administrative system to save a page.

We get the $subtask as created by page_manager_page_build_subtask.

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


page_manager_page_theme(&$items, $task)   X-Ref
Delegated implementation of hook_theme().


page_manager_page_execute($subtask_id)   X-Ref
Execute a page task.

This is the callback to entries in the Drupal menu system created by the
page task.

param: $subtask_id
param: ...

page_manager_page_get_arguments($task, $subtask)   X-Ref
Return a list of arguments used by this task.


_page_manager_page_get_arguments($page)   X-Ref
No description

page_manager_page_get_contexts($task, $subtask)   X-Ref
Get a group of context placeholders for the arguments.


page_manager_page_access_restrictions($task, $subtask, $contexts)   X-Ref
Return a list of arguments used by this task.


page_manager_page_new()   X-Ref
Create a new page with defaults appropriately set from schema.


page_manager_page_load($name)   X-Ref
Load a single page subtask.


page_manager_page_load_all($task = NULL)   X-Ref
Load all page subtasks.


page_manager_page_save(&$page)   X-Ref
Write a page subtask to the database.


page_manager_page_delete($page)   X-Ref
Remove a page subtask.


page_manager_page_export($page, $with_handlers = FALSE, $indent = '')   X-Ref
Export a page subtask.


page_manager_page_get_named_arguments($path)   X-Ref
Get a list of named arguments in a page manager path.

param: $path
return:

_pm_arg_load($value, $subtask, $argument)   X-Ref
Load a context from an argument for a given page task.

Helper function for pm_arg_load(), which is in page_manager.module because
drupal's menu system does not allow loader functions to reside in separate
files.

param: $value
param: $subtask
param: $argument
return:

page_manager_page_admin_summary($task, $subtask)   X-Ref
Provide a nice administrative summary of the page so an admin can see at a
glance what this page does and how it is configured.


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


page_manager_page_recalculate_arguments(&$page)   X-Ref
Recalculate the arguments when something like the path changes.


page_manager_page_new_page_cache(&$page, &$cache)   X-Ref
When adding or cloning a new page, this creates a new page cache
and adds our page to it.

This does not check to see if the existing cache is already locked.
This must be done beforehand.

param: &$page
param: &$cache



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