diff options
| author | 2014-10-24 15:17:07 +0200 | |
|---|---|---|
| committer | 2014-10-24 15:17:07 +0200 | |
| commit | 3e2d34c8671acae33568fdeb1398afad8296d9bf (patch) | |
| tree | 6a8fa1430115d12e78855362e093dae9667008f8 /lib/Minz/Request.php | |
| parent | 5d7d01be296a23058026e0dc610b2e2077b3262c (diff) | |
| parent | 83d95ca4b894a84de467a97c7f413c1d04c43631 (diff) | |
Merge branch '634-refactor-with-context' into dev
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 |
