

Public Member Functions | |
| __construct ($name= '', $label= '', $action=NULL, $image=NULL) | |
| __set ($name, $value) | |
| setImage ($location) | |
| setOnClick ($onclick) | |
| setAction ($action) | |
| setTarget ($target) | |
| getTarget () | |
| generateButton () | |
| generateInner () | |
Public Attributes | |
| $action | |
| $event | |
| $onclick | |
| $target = '_self' | |
| $type | |
| $image | |
Definition at line 3 of file buttoncontrols.class.
| MButton::__construct | ( | $ | name = '', |
|
| $ | label = '', |
|||
| $ | action = NULL, |
|||
| $ | image = NULL | |||
| ) |
Reimplemented in MButtonWindow.
Definition at line 13 of file buttoncontrols.class.
References $action, $image, MFormControl::$label, and MComponent::$name.
| MButton::__set | ( | $ | name, | |
| $ | value | |||
| ) |
The setter method. It is used, primarily, to decide if a attribute is for the control or for CSS Box.
Reimplemented from MControl.
Definition at line 25 of file buttoncontrols.class.
References MComponent::$name, and MFormControl::$value.
| MButton::setImage | ( | $ | location | ) |
Definition at line 43 of file buttoncontrols.class.
| MButton::setOnClick | ( | $ | onclick | ) |
| MButton::setAction | ( | $ | action | ) |
| MButton::setTarget | ( | $ | target | ) |
| MButton::getTarget | ( | ) |
Definition at line 64 of file buttoncontrols.class.
| MButton::generateButton | ( | ) |
Definition at line 69 of file buttoncontrols.class.
References $action, $onclick, and $type.
Referenced by generateInner().
Here is the caller graph for this function:

| MButton::generateInner | ( | ) |
Reimplemented from MControl.
Reimplemented in MInputButton.
Definition at line 162 of file buttoncontrols.class.
References generateButton(), MFormControl::generateLabel(), and MControl::getRender().
Here is the call graph for this function:

| MButton::$action |
Definition at line 5 of file buttoncontrols.class.
Referenced by MButtonFind::__construct(), __construct(), generateButton(), and setAction().
| MButton::$event |
Definition at line 6 of file buttoncontrols.class.
| MButton::$onclick |
Definition at line 7 of file buttoncontrols.class.
Referenced by generateButton(), and setOnClick().
| MButton::$target = '_self' |
Definition at line 8 of file buttoncontrols.class.
Referenced by MButtonWindow::__construct(), and setTarget().
| MButton::$type |
| MButton::$image |