[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/panels/includes/ -> display-layout.inc (summary)

(no description)

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

Defines 6 functions

  _panels_edit_layout()
  panels_choose_layout()
  panels_choose_layout_submit()
  panels_change_layout()
  panels_change_layout_submit()
  panels_choose_layout_back()

Functions
Functions that are not part of a class:

_panels_edit_layout($display, $finish, $destination, $allowed_layouts)   X-Ref
Handle calling and processing of the form for editing display layouts.

Helper function for panels_edit_layout().


panels_choose_layout(&$form_state)   X-Ref
Form definition for the display layout editor.


panels_choose_layout_submit($form, &$form_state)   X-Ref
Handle form submission of the display layout editor.


panels_change_layout(&$form_state)   X-Ref
Form definition for the display layout converter.

This form is only triggered if the user attempts to change the layout
for a display that has already had content assigned to it. It allows
the user to select where the panes located in to-be-deleted panels should
be relocated to.

param: array $form
param: object $display instanceof panels_display \n
param: string $new_layout_id

panels_change_layout_submit($form, &$form_state)   X-Ref
Handle submission of the change layout form.

This submit handler will move panes around and save the display.

panels_choose_layout_back($form, &$form_state)   X-Ref
Handle submission of the change layout form.

This submit handler sets a flag on the form state, which is then used
by the calling wrapper to restart the process.



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