[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/panels/plugins/layouts/flexible/ -> flexible.inc (summary)

Implementation of hook_panels_layouts()

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

Defines 26 functions

  panels_flexible_merge_plugin()
  panels_flexible_get_sublayout()
  panels_flexible_get_sublayouts()
  panels_flexible_convert_settings()
  panels_flexible_panels()
  panels_flexible_create_renderer()
  theme_panels_flexible()
  theme_panels_flexible_admin()
  panels_flexible_render_items()
  panels_flexible_render_item()
  panels_flexible_render_splitter()
  panels_flexible_render_item_links()
  panels_flexible_render_css()
  panels_flexible_render_css_group()
  panels_flexible_get_css_group()
  panels_ajax_flexible_edit_settings()
  panels_flexible_config_item_form()
  panels_flexible_config_item_form_submit()
  panels_ajax_flexible_edit_add()
  panels_flexible_add_item_form()
  panels_flexible_add_item_form_submit()
  panels_ajax_flexible_edit_remove()
  panels_ajax_flexible_edit_resize()
  panels_ajax_flexible_edit_reuse()
  panels_flexible_reuse_form()
  panels_flexible_reuse_form_validate()

Functions
Functions that are not part of a class:

panels_flexible_merge_plugin($plugin, $layout)   X-Ref
Merge the main flexible plugin with a layout to create a sub plugin.

This is used for both panels_flexible_get_sublayout and
panels_flexible_get_sublayouts.

panels_flexible_get_sublayout($plugin, $layout_name, $sublayout_name)   X-Ref
Callback to provide a single stored flexible layout.


panels_flexible_get_sublayouts($plugin, $layout_name)   X-Ref
Callback to provide all stored flexible layouts.


panels_flexible_convert_settings(&$settings, &$layout)   X-Ref
Convert settings from old style to new, or provide defaults for
empty settings.

param: <type> $settings

panels_flexible_panels($display, $settings, $layout)   X-Ref
Define the actual list of columns and rows for this flexible panel.


panels_flexible_create_renderer($admin, $id, $content, $settings, &$display, $layout, $handler)   X-Ref
Create a renderer object.

The renderer object contains data that is passed around from function
to function allowing us to render our CSS and HTML easily.


theme_panels_flexible($id, $content, $settings, $display, $layout, $handler)   X-Ref
Draw the flexible layout.


theme_panels_flexible_admin($id, $content, $settings, $display, $layout, $handler)   X-Ref
Draw the flexible layout.


panels_flexible_render_items($renderer, $list, $owner_id)   X-Ref
Render a piece of a flexible layout.


panels_flexible_render_item($renderer, $item, $content, $id, $position, $max, $clear = FALSE)   X-Ref
Render a column in the flexible layout.


panels_flexible_render_splitter($renderer, $left_id, $right_id)   X-Ref
Render a splitter div to place between the $left and $right items.

If the right ID is NULL that means there isn't actually a box to the
right, but we need a splitter anyway. We'll mostly use info about the
left, but pretend it's 'fluid' so that the javascript won't actually
modify the right item.

panels_flexible_render_item_links($renderer, $id, $item)   X-Ref
Render the dropdown links for an item.


panels_flexible_render_css($renderer)   X-Ref
Provide CSS for a flexible layout.


panels_flexible_render_css_group($renderer, $list, $owner_id, $type, $id)   X-Ref
Render the CSS for a group of items to be displayed together.

Columns and regions, when displayed as a group, need to cooperate in
order to share margins and make sure that percent widths add up
to the right total.

panels_flexible_get_css_group(&$css, $renderer, $list, $owner_id, $type, $item_id)   X-Ref
Construct an array with all of the CSS properties for a group.

This will parse down into children and produce all of the CSS needed if you
start from the top.

panels_ajax_flexible_edit_settings($handler, $id)   X-Ref
AJAX responder to edit flexible settings for an item.

$handler object
The display renderer handler object.

panels_flexible_config_item_form(&$form_state)   X-Ref
Configure a row, column or region on the flexible page.

param: <type> $form_state
return: <type>

panels_flexible_config_item_form_submit(&$form, &$form_state)   X-Ref
Submit handler for editing a flexible item.


panels_ajax_flexible_edit_add($handler, $id, $location = 'left')   X-Ref
AJAX responder to add a new row, column or region to a flexible layout.


panels_flexible_add_item_form(&$form_state)   X-Ref
Form to add a row, column or region to a flexible layout.

param: <type> $form_state
return: <type>

panels_flexible_add_item_form_submit(&$form, &$form_state)   X-Ref
Submit handler for editing a flexible item.


panels_ajax_flexible_edit_remove($handler, $id)   X-Ref
AJAX responder to remove an existing row, column or region from a flexible
layout.


panels_ajax_flexible_edit_resize($handler)   X-Ref
AJAX responder to store resize information when the user adjusts the
splitter.


panels_ajax_flexible_edit_reuse($handler)   X-Ref
AJAX form to bring up the "reuse" modal.


panels_flexible_reuse_form(&$form_state)   X-Ref
No description

panels_flexible_reuse_form_validate(&$form, &$form_state)   X-Ref
No description



Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7