Changeset 892
- Timestamp:
- 10/25/2007 08:49:36 PM (12 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/View.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/View.php
r866 r892 23 23 24 24 // The view file name and type 25 pr ivate$kohana_filename = FALSE;26 pr ivate$kohana_filetype = FALSE;25 protected $kohana_filename = FALSE; 26 protected $kohana_filetype = FALSE; 27 27 28 28 // Set variables 29 pr ivate$data = array();29 protected $data = array(); 30 30 31 31 /** … … 86 86 public function __set($name, $value) 87 87 { 88 $protected = array('kohana_filename', 'kohana_renderer', 'kohana_filetype'); 89 90 if (in_array($name, $protected) AND $this->$name === FALSE) 91 { 92 $this->$name = $value; 93 } 94 else 88 if ( ! isset($this->$name)) 95 89 { 96 90 $this->data[$name] = $value;
