[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/multicolumncheckboxesradios/ -> multicolumncheckboxesradios.module (summary)

(no description)

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

Defines 5 functions

  multicolumncheckboxesradios_widget_settings_alter()
  multicolumncheckboxesradios_elements()
  multicolumncheckboxesradios_element_process()
  _multicolumncheckboxesradios_chunk_transpose()
  _multicolumncheckboxesradios_make_heading_markup()

Functions
Functions that are not part of a class:

multicolumncheckboxesradios_widget_settings_alter(&$v, $op, $widget)   X-Ref


multicolumncheckboxesradios_elements()   X-Ref
No description

multicolumncheckboxesradios_element_process($element, $edit, &$form_state, $form)   X-Ref
Form element process function to add multi-column markup to checkboxes/radios

param: $element
return: the processed element

_multicolumncheckboxesradios_chunk_transpose($items, $width)   X-Ref
Break the 1D array into 2D chunk array, always satify the $width value by
varying the height of each chunk, then transpose it.

param: array $items element to break up
param: int $width the width
return: array the result in 2D array

_multicolumncheckboxesradios_make_heading_markup($items, $class_regular, $class_first, $class_last)   X-Ref
Take an array of string, produce a string of HTML markup of each string as
<div class="regular first">item-first</div><div class="regular">item-n</div>...
<div class="regular last">item-last</div>

param: array $items string items
param: string $class_regular class name normally
param: string $class_first class name in the first position
param: string $class_last class name in the last position
return: string the HTML markup



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