Action grid field.
More...
Public Member Functions |
| __construct ($name) |
| Contruct of field, set label by its name with auto internationalization.
|
| __call ($method, $args) |
| Call method (sets properties)
|
| action ($action) |
| Sets action.
|
| url ($url) |
| Assign URL to action field, add URL base if there is no such.
|
| icon_action ($action) |
| Adds icon action.
|
| render () |
| Renders field.
|
| __toString () |
| Renders field.
|
| label ($label) |
| Sets label of field.
|
Public Attributes |
| $name = 'id' |
| $url |
| $action = 'action' |
| $script = null |
| $nextval = null |
| $img = null |
| $label |
| $name |
| $bool |
| $class |
| $order = true |
| $style |
| $help |
| $args |
Detailed Description
Action grid field.
Action_Field name(string $name) Action_Field script(string $script)
Constructor & Destructor Documentation
Action_Field::__construct |
( |
|
$name | ) |
|
Contruct of field, set label by its name with auto internationalization.
- Parameters
-
Reimplemented from Field.
Member Function Documentation
Action_Field::__call |
( |
|
$method, |
|
|
|
$args |
|
) |
| |
Call method (sets properties)
- Parameters
-
- Returns
- Field
Reimplemented from Field.
Action_Field::__toString |
( |
| ) |
|
Renders field.
- Returns
- string
Reimplemented from Field.
Action_Field::action |
( |
|
$action | ) |
|
Action_Field::icon_action |
( |
|
$action | ) |
|
Adds icon action.
Actions correspondes to icon names stared in /media/images/icons/grid_action
- Parameters
-
string | $action | Name of image (action) |
- Returns
- Action_Field
Renders field.
- Returns
- string
Reimplemented from Field.
Action_Field::url |
( |
|
$url | ) |
|
Assign URL to action field, add URL base if there is no such.
- Parameters
-
- Returns
- Action_Field
The documentation for this class was generated from the following file: