public function __construct($model, $viewPath) { parent::__construct(array(), $model); $this->viewPath = $viewPath; }
public function __construct($location) { parent::__construct(array('Location: ' . APP_ROOT_URL . $location), null); }
public function __construct($data) { $headers = array('Content-Type: text/html'); parent::__construct($headers, $data); }