diff options
| author | 2014-10-21 16:46:36 +0200 | |
|---|---|---|
| committer | 2014-10-21 16:55:19 +0200 | |
| commit | 80cffa6de51771cd80995fb1c4f1e04ee868eb45 (patch) | |
| tree | 5199c6512140b804e2c456d263d40816ab79a6eb /lib/Minz/Request.php | |
| parent | 8a7bab3a55442f85553ab1d897084e89c10f7e05 (diff) | |
Views are in dedicated actions + improve Context
- Seperate normal, global and rss outputs in dedicated actions (NOT WORKING YET!)
- Rewrite aside_flux and nav_menu to use Context object
- Improve Context object
See https://github.com/marienfressinaud/FreshRSS/issues/634
Diffstat (limited to 'lib/Minz/Request.php')
| -rw-r--r-- | lib/Minz/Request.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Minz/Request.php b/lib/Minz/Request.php index f7a24c026..4b97a3caf 100644 --- a/lib/Minz/Request.php +++ b/lib/Minz/Request.php @@ -45,6 +45,13 @@ class Minz_Request { public static function defaultActionName() { return self::$default_action_name; } + public static function currentRequest() { + return array( + 'c' => self::$controller_name, + 'a' => self::$action_name, + 'params' => self::$params, + ); + } /** * Setteurs |
