Represents a page that is defined using controller, action, route name and route params to assemble the href
Returns whether page should be considered active or not
This method will compare the page properties against the route matches composed in the object.
Parameters: | bool – [optional] whether page should be considered active if any child pages are active. Default is false. |
---|---|
Return type: | bool whether page should be considered active or not |
Sets action name to use when assembling URL
Parameters: | string – action name |
---|---|
Return type: | Mvc fluent interface, returns self |
Throws : | ExceptionInvalidArgumentException if invalid $action is given |
Returns action name to use when assembling URL
Return type: | string|null action name |
---|
Sets controller name to use when assembling URL
Parameters: | string|null – controller name |
---|---|
Return type: | Mvc fluent interface, returns self |
Throws : | ExceptionInvalidArgumentException if invalid controller name is given |
Returns controller name to use when assembling URL
Return type: | string|null controller name or null |
---|
Sets params to use when assembling URL
Parameters: | array|null – [optional] page params. Default is null which sets no params. |
---|---|
Return type: | Mvc fluent interface, returns self |
Returns params to use when assembling URL
Return type: | array page params |
---|
Sets route name to use when assembling URL
Parameters: | string – route name to use when assembling URL |
---|---|
Return type: | Mvc fluent interface, returns self |
Throws : | ExceptionInvalidArgumentException if invalid $route is given |
Returns route name to use when assembling URL
Return type: | string route name |
---|
Get the route match.
Return type: | ZendMvcRouterRouteMatch |
---|
Set route match object from which parameters will be retrieved
Parameters: | RouteMatch – |
---|---|
Return type: | Mvc fluent interface, returns self |
Sets router for assembling URLs
Parameters: | RouteStackInterface – Router |
---|---|
Return type: | Mvc fluent interface, returns self |
Sets the default router for assembling URLs.
Parameters: | RouteStackInterface – Router |
---|---|
Return type: | void |
Full-text doc search.
Enter search terms or a module, class or function name.