Short description for ToggleCheckboxes

Long description for class ToggleCheckboxes (if any)...

package Gems
subpackage JQuery
copyright Copyright (c) 2011 Erasmus MC
license New BSD License
since Class available since version 1.5

 Methods

Create a button to toggle all cyhackboxes found by a given jQuery selector

__construct(\type $spec, \type $options = null

Specify the 'selector' in the options http://api.jquery.com/category/selectors/

Usage: $element = new \Gems_JQuery_Form_Element_ToggleCheckboxes('name', array('selector'=>'input[name^=oid]')

Parameters

$spec

\type

$options

\type

Set the view object

setView(\Zend_View_Interface $view = null) : \Gems_JQuery_Form_Element_ToggleCheckboxes

Ensures that the view object has the \Gems_jQuery view helper path set.

Parameters

$view

\Zend_View_Interface

Returns

\Gems_JQuery_Form_Element_ToggleCheckboxes

 Properties

 

Use toggleCheckboxes view helper by default

$helper : string

Default

'toggleCheckboxes'