[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/panels/plugins/display_renderers/ -> panels_renderer_editor.class.php (summary)

(no description)

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

Defines 1 class

panels_renderer_editor:: (57 methods):
  edit()
  add_meta()
  render()
  render_region()
  render_pane()
  get_style_links()
  get_display_links()
  get_region_links()
  get_pane_links()
  get_url()
  ajax_show()
  ajax_hide()
  ajax_select_content()
  get_category()
  get_categories()
  render_add_content_link()
  render_category_selector()
  render_category()
  ajax_add_pane()
  ajax_edit_pane()
  ajax_panel_title()
  ajax_cache_method()
  ajax_cache_settings()
  ajax_style_type()
  get_style()
  ajax_style_settings()
  ajax_pane_css()
  ajax_access_settings()
  ajax_access_add_test()
  ajax_access_configure_test()
  ajax_layout()
  ajax_style()
  command_update_pane()
  command_add_pane()
  command_update_display_links()
  command_update_region_links()
  panels_ajax_edit_pane_next()
  panels_ajax_edit_pane_finish()
  panels_ajax_edit_pane_cancel()
  panels_edit_cache_method_form()
  panels_edit_cache_method_form_submit()
  panels_edit_cache_settings_form()
  panels_edit_cache_settings_form_validate()
  panels_edit_cache_settings_form_submit()
  panels_edit_style_type_form()
  panels_edit_style_type_form_submit()
  panels_edit_style_settings_form()
  panels_edit_style_settings_form_validate()
  panels_edit_style_settings_form_submit()
  panels_edit_configure_pane_css_form()
  panels_edit_configure_pane_css_form_submit()
  panels_edit_configure_access_settings_form()
  panels_edit_configure_access_settings_form_submit()
  panels_edit_add_access_test_form()
  panels_edit_configure_access_test_form()
  panels_edit_configure_access_test_form_validate()
  panels_edit_configure_access_test_form_submit()


Class: panels_renderer_editor  - X-Ref


edit()   X-Ref
No description

add_meta()   X-Ref
No description

render()   X-Ref
No description

render_region($region_id, $panes)   X-Ref
No description

render_pane(&$pane)   X-Ref
No description

get_style_links($type, $id = NULL)   X-Ref
Get the style links.

This is abstracted out since we have styles on both panes and regions.

get_display_links()   X-Ref
Get the links for a panel display.

This is abstracted out for easy ajax replacement.

get_region_links($region_id)   X-Ref
Render the links to display when editing a region.


get_pane_links($pane, $content_type)   X-Ref
Render the links to display when editing a pane.


get_url()   X-Ref
Generate a URL path for the AJAX editor.


ajax_show($pid = NULL)   X-Ref
AJAX command to show a pane.


ajax_hide($pid = NULL)   X-Ref
AJAX command to show a pane.


ajax_select_content($region = NULL, $category = NULL)   X-Ref
AJAX command to present a dialog with a list of available content.


get_category($content_type)   X-Ref
Return the category name and the category key of a given content
type.


get_categories($content_types)   X-Ref
Create a list of categories from all of the content type.

return: array

render_add_content_link($region, $content_type)   X-Ref
Render a single link to add a content type.


render_category_selector($categories, $category, $region)   X-Ref
Render the selector widget in the add content modal to select categories.


render_category($content, $category, $region)   X-Ref
Render all of the content links in a category.


ajax_add_pane($region = NULL, $type_name = NULL, $subtype_name = NULL, $step = NULL)   X-Ref
AJAX entry point to add a new pane.


ajax_edit_pane($pid = NULL, $step = NULL)   X-Ref
AJAX entry point to edit a pane.


ajax_panel_title($pid = NULL)   X-Ref
AJAX entry point to select which pane is currently the title.

param: string $pid

ajax_cache_method($pid = NULL)   X-Ref
AJAX entry point to configure the cache method for a pane or the display.

param: string $pid

ajax_cache_settings($pid = 0)   X-Ref
AJAX entry point to configure the cache settings for a pane or the display.

param: string $pid

ajax_style_type($type, $pid = NULL)   X-Ref
AJAX entry point to select the style for a display, region or pane.

param: string $type
param: $pid

get_style($type, $pid = '')   X-Ref
Get the appropriate style from the panel in the cache.

Since we have styles for regions, panes and the display itself, and
they are stored differently, we use this method to simplify getting
style information into a way that's easy to cope with.

ajax_style_settings($type, $pid = '')   X-Ref
AJAX entry point to configure the style for a display, region or pane.

param: string $type
param: $pid

ajax_pane_css($pid = NULL)   X-Ref
AJAX entry point to configure CSS for a pane.

param: $pid

ajax_access_settings($pid = NULL)   X-Ref
AJAX entry point to configure access settings for a pane.

param: $pid

ajax_access_add_test($pid = NULL)   X-Ref
AJAX entry point for to add a visibility rule.


ajax_access_configure_test($pid = NULL, $id = NULL)   X-Ref
AJAX entry point for to configure vsibility rule.


ajax_layout()   X-Ref
AJAX Router function for layout owned AJAX calls.

Layouts like the flexible layout builder need callbacks of their own.
This allows those layouts to simply declare their callbacks and use
them with $this->get_url('layout', $command).

ajax_style()   X-Ref
AJAX Router function for style owned AJAX calls.

Styles like the stylizer need AJAX callbacks of their own. This
allows the system to figure out which style is being referenced,
load it, and execute the callback.

This allows those layouts to simply declare their callbacks and use
them using $this->get_url('style', $command, $type, $pid).

command_update_pane($pid)   X-Ref
Create a command array to redraw a pane.


command_add_pane($pid)   X-Ref
Create a command array to add a new pane.


command_update_display_links()   X-Ref
Create a command to update the links on a display after a change was made.


command_update_region_links($id)   X-Ref
Create a command to update the links on a region after a change was made.


panels_ajax_edit_pane_next(&$form_state)   X-Ref
Handle the 'next' click on the add/edit pane form wizard.

All we need to do is store the updated pane in the cache.

panels_ajax_edit_pane_finish(&$form_state)   X-Ref
Handle the 'finish' click on teh add/edit pane form wizard.

All we need to do is set a flag so the return can handle adding
the pane.

panels_ajax_edit_pane_cancel(&$form_state)   X-Ref
Handle the 'cancel' click on the add/edit pane form wizard.


panels_edit_cache_method_form(&$form_state)   X-Ref
Choose cache method form


panels_edit_cache_method_form_submit($form, &$form_state)   X-Ref
Submit callback for panels_edit_cache_method_form.

All this needs to do is return the method.

panels_edit_cache_settings_form(&$form_state)   X-Ref
Cache settings form


panels_edit_cache_settings_form_validate($form, &$form_state)   X-Ref
Validate cache settings.


panels_edit_cache_settings_form_submit($form, &$form_state)   X-Ref
Allows panel styles to validate their style settings.


panels_edit_style_type_form(&$form_state)   X-Ref
Choose style form


panels_edit_style_type_form_submit($form, &$form_state)   X-Ref
Submit callback for panels_edit_style_type_form.

All this needs to do is return the method.

panels_edit_style_settings_form(&$form_state)   X-Ref
Style settings form


panels_edit_style_settings_form_validate($form, &$form_state)   X-Ref
Validate style settings.


panels_edit_style_settings_form_submit($form, &$form_state)   X-Ref
Allows panel styles to validate their style settings.


panels_edit_configure_pane_css_form(&$form_state)   X-Ref
Configure CSS on a pane form.


panels_edit_configure_pane_css_form_submit($form, &$form_state)   X-Ref
FAPI submission function for the CSS configure form.

All this does is set up $pane properly. The caller is responsible for
actually storing this somewhere.

panels_edit_configure_access_settings_form(&$form_state)   X-Ref
Form to control basic visibility settings.


panels_edit_configure_access_settings_form_submit($form, &$form_state)   X-Ref
FAPI submission function for the edit access settings form.

All this does is set up $pane properly. The caller is responsible for
actually storing this somewhere.

panels_edit_add_access_test_form(&$form_state)   X-Ref
Form to add a visibility rule.


panels_edit_configure_access_test_form(&$form_state)   X-Ref
Form to configure a visibility rule.


panels_edit_configure_access_test_form_validate(&$form, &$form_state)   X-Ref
Validate handler for visibility rule settings


panels_edit_configure_access_test_form_submit(&$form, &$form_state)   X-Ref
Submit handler for visibility rule settings




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