Changeset 1533 for trunk/system/libraries/View.php
- Timestamp:
- 12/14/2007 11:24:55 AM (13 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/View.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/View.php
r1527 r1533 22 22 23 23 /** 24 * Creates a new View using the given parameters. 25 * 26 * @param string view name 27 * @param array pre-load data 28 * @param string type of file: html, css, js, etc. 29 */ 30 public static function instance($name, $data = NULL, $type = NULL) 31 { 32 return new View($name, $data, $type); 33 } 34 35 /** 24 36 * Attempts to load a view and pre-load view data. 25 37 * … … 27 39 * @param string view name 28 40 * @param array pre-load data 41 * @param string type of file: html, css, js, etc. 42 * @return void 29 43 */ 30 44 public function __construct($name, $data = NULL, $type = NULL)
