From fa1fa876b59ba4241a794c053dd80967886919f2 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Fri, 5 Aug 2011 11:12:15 -0500 Subject: [PATCH] Rearranged view methods. --- system/view.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/system/view.php b/system/view.php index 9dc0ef75..b7195cbf 100644 --- a/system/view.php +++ b/system/view.php @@ -204,17 +204,6 @@ class View { static::$composers[$module] = (file_exists($composers)) ? require $composers : array(); } - /** - * Magic Method for handling the dynamic creation of named views. - */ - public static function __callStatic($method, $parameters) - { - if (strpos($method, 'of_') === 0) - { - return static::of(substr($method, 3), $parameters); - } - } - /** * Get the parsed content of the view. * @@ -265,6 +254,17 @@ class View { return $this; } + /** + * Magic Method for handling the dynamic creation of named views. + */ + public static function __callStatic($method, $parameters) + { + if (strpos($method, 'of_') === 0) + { + return static::of(substr($method, 3), $parameters); + } + } + /** * Magic Method for getting items from the view data. */