Action link grid field for displaying link with data item.
More...
Public Member Functions |
| __construct ($name) |
| Contruct of field, label is set and internacionalized from name.
|
| link ($url, $data_name=NULL, $data_title=NULL) |
| Link of field, label is set and internacionalized from data name.
|
| render () |
| Renders field.
|
| __call ($method, $args) |
| Call method (sets properties)
|
| label ($label) |
| Sets label of field.
|
| __toString () |
| Render field.
|
Public Attributes |
| $name = 'id' |
| $data_name = 'id' |
| $data_title = '' |
| $url |
| $script = null |
| $label |
| $name |
| $bool |
| $class |
| $order = true |
| $style |
| $help |
| $args |
Detailed Description
Action link grid field for displaying link with data item.
- Author
- Ondřej Fibich Link_Field name(string $name) Link_Field data_name(string $name) Link_Field script(string $script) Link_Field url(string $url)
Constructor & Destructor Documentation
Link_Field::__construct |
( |
|
$name | ) |
|
Contruct of field, label is set and internacionalized from name.
- Parameters
-
Reimplemented from Field.
Member Function Documentation
Link_Field::link |
( |
|
$url, |
|
|
|
$data_name = NULL , |
|
|
|
$data_title = NULL |
|
) |
| |
Link of field, label is set and internacionalized from data name.
- Parameters
-
string | $url | |
string | $data_name | Name of data field, if empty name is set as data name |
Renders field.
- Returns
- string
Reimplemented from Field.
The documentation for this class was generated from the following file: