PHP Class Horde_Form_Action_ConditionalEnable, horde
Format of the $params passed to the constructor:
$params = array(
'target' => '[name of element this is conditional on]',
'enabled' => 'true' | 'false',
'values' => array([target values to check])
);
So $params = array('foo', 'true', array(1, 2)) will enable the field this
action is attached to if the value of 'foo' is 1 or 2, and disable it
otherwise.
Copyright 2002-2016 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you
did not receive this file, see http://www.horde.org/licenses/lgpl21.
Datei anzeigen
Open project: horde/horde
Public Properties
Public Methods
Method Details
getActionScript()
public method
Property Details
$_trigger public_oe property