| [ Index ] |
|
Code source de Plume CMS 1.2.2 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 154 lignes (5 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
Dispatcher:: (5 méthodes):
Launch()
match()
loadBuiltinControllers()
loadControllers()
registerController()
Classe: Dispatcher - X-Ref
Dispatcher of the requests to the handlers.| Launch($query='') X-Ref |
| The unique method to call. param: string Query string ('') |
| match($query) X-Ref |
| Match a query against the actions controllers. param: string Query string |
| loadBuiltinControllers() X-Ref |
| Load the builtin controllers. The builtin controllers are for: news, article, category, page not found, search and rss. |
| loadControllers() X-Ref |
| Load the controllers. |
| registerController($plugin, $regex, $priority=5) X-Ref |
| Register an action controller. - The plugin must provide a "standalone" action method pluginname::action($querystring) - The priority is to order the controller matches. 5: Default, if the controller provides some content 1: If the controller provides a control before, without providing content, note that in this case the return code must be a redirection. 8: If the controller is providing a catch all case to replace the default 404 error page. param: string Plugin name providing the action controller param: string Regex to match on the query string param: int Priority (5) return: void |
| Généré le : Mon Nov 26 11:57:01 2007 | par Balluche grâce à PHPXref 0.7 |
|