MButton Class Reference

Inheritance diagram for MButton:

Inheritance graph
[legend]
Collaboration diagram for MButton:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Definition at line 3 of file buttoncontrols.class.


Constructor & Destructor Documentation

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.


Member Function Documentation

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  ) 

Definition at line 49 of file buttoncontrols.class.

References $onclick.

MButton::setAction ( action  ) 

Definition at line 54 of file buttoncontrols.class.

References $action.

MButton::setTarget ( target  ) 

Definition at line 59 of file buttoncontrols.class.

References $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:


Member Data Documentation

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

Definition at line 9 of file buttoncontrols.class.

Referenced by generateButton().

MButton::$image

Definition at line 10 of file buttoncontrols.class.

Referenced by __construct().


The documentation for this class was generated from the following file:
CopyLeft (L) 2001-2006 - [MIOLO Development Team] SOLIS - Cooperativa de Soluções Livres - Lajeado/RS - Brasil