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.
Author: Matt Kynaston ([email protected])
Inheritance: extends Horde_Form_Action
Afficher le fichier Open project: horde/horde

Méthodes publiques

Свойство Type Description
$_trigger

Méthodes publiques

Méthode Description
getActionScript ( &$form, $renderer, $varname )

Method Details

getActionScript() public méthode

public getActionScript ( &$form, $renderer, $varname )

Property Details

$_trigger public_oe property

public $_trigger