Detailed Description
TbActiveForm class file. New BSD License For available attributes and values read TbButton documentation.
- See Also
- TbButton
Definition at line 11 of file TbFormButtonElement.php.
Member Function Documentation
TbFormButtonElement::evaluateVisible |
( |
| ) |
|
|
protected |
Evaluates the visibility of this element. This method will check the on property to see if the model is in a scenario that should have this string displayed.
- Returns
- boolean whether this element is visible.
Definition at line 59 of file TbFormButtonElement.php.
TbFormButtonElement::getOn |
( |
| ) |
|
Returns a value indicating under which scenarios this button is visible. If the value is empty, it means the button is visible under all scenarios. Otherwise, only when the model is in the scenario whose name can be found in this value, will the button be visible. See CModel::scenario for more information about model scenarios.
- Returns
- string scenario names separated by commas. Defaults to null.
Definition at line 29 of file TbFormButtonElement.php.
TbFormButtonElement::render |
( |
| ) |
|
TbFormButtonElement::setOn |
( |
|
$value | ) |
|
Member Data Documentation
TbFormButtonElement::$_on |
|
private |
TbFormButtonElement::$name |
The documentation for this class was generated from the following file: