|
pclib
3.2.0
Lightweight PHP framework
|
It encapsulates call of the controller's action: $controller->method($params). More...
Public Member Functions | |
| toString () | |
| Convert route to string. More... | |
| fromString ($s) | |
| Create new Action object from the string. More... | |
| fromArray ($get) | |
| Create new Action object from $_GET array. More... | |
Data Fields | |
| $module | |
| Name of the plugin module. | |
| $controller | |
| Name of the controller. | |
| $method | |
| Controller's method name. | |
| $params | |
| Array of action parameters. | |
It encapsulates call of the controller's action: $controller->method($params).
It Can be mapped to URL.
| fromArray | ( | $get | ) |
Create new Action object from $_GET array.
| array | $get |
| fromString | ( | $s | ) |
Create new Action object from the string.
| string | $s | string-route - example: 'orders/edit/id:1' |
| toString | ( | ) |
Convert route to string.