Class Button
Generic-purpose button control. Usually used to trigger dynamic components such as dialogs.
- Core\Object implements Core\Chainable
-
Core\Set
implements
Core\Accessor
-
Core\View\Driver\coreui\Control
implements
Core\Configurable
-
Core\View\Driver\coreui\Control\Button
Direct known subclasses
Core\View\Driver\coreui\Control\Button\Navigate,
Core\View\Driver\coreui\Control\Button\Submit
Package: CoreUI\Control
Since: 3.1
Requires: PHP 5.3
Version: 1.1
Located at View/Driver/coreui/Control/Button.inc.php
Methods summary
public
|
|
public
string
|
|
public
string
|
#
id( )
Returns an automatically assigned ID for the control. The ID is generated on first request and buffered by the control. An ID is unique per instance and automatically reset if a control is cloned. |
public
|
#
setAccessKey( string $accessKey )
Sets an access key that allows the user to click the button using a key combination of the access key and modifiers that depend on the browser. |
public
|
|
public
|
#
setImage( string $imageURL )
Sets a fully-resolved icon image. To set an icon via the proxy resource
resolver, use the |
public
|
|
public
|
|
public
|
Methods inherited from Core\View\Driver\coreui\Control
_T(),
__clone(),
derive(),
on(),
setOption(),
setOptions(),
setTitle(),
setTranslator()
Methods inherited from Core\Object
__autocreateFactory(),
__call(),
__processParameters(),
attachMethod(),
chain(),
getValueForKey(),
getValueForKeyPath(),
getValueForUndefinedKey(),
hash(),
issetValueForKey(),
setValueForKey(),
setValueForKeyPath(),
setValueForUndefinedKey(),
uuid()
Constants summary
Constants inherited from Core\Object
AnyParameterType,
AutochainParameterType,
AutocreateParameterType,
BooleanParameterType,
CharParameterType,
EnumParameterType,
IntegerParameterType,
RealParameterType,
StringParameterType,
UserParameterType
Properties summary
protected
|
$_v_control
Button element node. |
Properties inherited from Core\View\Driver\coreui\Control
Magic properties
public read-only
|
$control
Root element node for control. |