public function __construct($file = NULL, $data = NULL) { isset(self::$ci) or self::$ci = get_instance(); $this->layout = $file; is_array($data) and $this->vars = $data; }