Definition at line 19 of file dmRoute.class.php.
| dmRoute::__construct | ( | $ | action, | |
| $ | controller, | |||
| $ | view = null, |
|||
| $ | method = null, |
|||
| $ | id = null, |
|||
| $ | format = 'html', |
|||
| dmTemplateSet $ | tpl = null | |||
| ) | [final] |
| string | action The URI action to which the route is bound | |
| string | controller The controller that the action should instantiate | |
| string | view The view template that the action should load | |
| string | method The method that the action should invoke | |
| string | id The ID that should be passed to the method (optional) | |
| dmTemplateSet | tpl |
| dmInvalidRouteException | if the specified action's controller or method are invalid (the controller or method does not exist). |
Definition at line 223 of file dmRoute.class.php.
| dmRoute::getAction | ( | ) | [final] |
Definition at line 241 of file dmRoute.class.php.
| dmRoute::getController | ( | ) | [final] |
Definition at line 250 of file dmRoute.class.php.
Referenced by getTemplateSet(), and getViewFilename().
| static dmRoute::getCurrent | ( | ) | [static, final] |
| dmInvalidRouteException |
Definition at line 125 of file dmRoute.class.php.
Referenced by ObjectDraw::addFavoriteButton(), dmOutputFactory::getOutput(), ObjectDraw::ratingsSection(), and ObjectDraw::taggingSection().
| dmRoute::getFormat | ( | ) | [final] |
| dmRoute::getID | ( | ) | [final] |
Definition at line 266 of file dmRoute.class.php.
Referenced by getTemplateSet().
| dmRoute::getMethod | ( | ) | [final] |
Definition at line 274 of file dmRoute.class.php.
Referenced by getTemplateSet().
| dmRoute::getTemplateSet | ( | ) | [final] |
| dmRoute::getView | ( | ) | [final] |
Gets the name of the view template (not the full filename).
Definition at line 345 of file dmRoute.class.php.
Referenced by getViewFilename().
| dmRoute::getViewFilename | ( | dmTemplateSet $ | ts | ) | [final] |
Gets the filename of the view.
| dmTemplateSet | ts |
Definition at line 357 of file dmRoute.class.php.
| dmRoute::isMobile | ( | ) | [final] |
Definition at line 290 of file dmRoute.class.php.
Referenced by getTemplateSet().
| dmRoute::setMethod | ( | $ | str | ) | [final] |
| string | str |
Definition at line 282 of file dmRoute.class.php.
Referenced by __construct().
| dmRoute::setMobile | ( | $ | bool | ) | [final] |
| dmRoute::setTemplateSet | ( | dmTemplateSet $ | set | ) | [final] |
Overrides the current template set.
| dmTemplateSet | set |
Definition at line 334 of file dmRoute.class.php.
Referenced by __construct().
| dmRoute::setView | ( | $ | view | ) | [final] |
Overrides the current view.
| string | view View name (not full filename) |
Definition at line 378 of file dmRoute.class.php.
Referenced by __construct().
1.6.1