public function __construct() { if (!file_exists(\base_config::$baseDir . '/inc/config/config.php') || file_exists(\base_config::$baseDir . '/inc/config/config.php') && file_exists(\base_config::$baseDir . '/install/')) { $this->request = array_merge($_REQUEST, $_COOKIE); $this->runInstall(); } else { parent::__construct(); } }
public function __construct($categoryId, $viewName = null, $acceptedOnly = false, $textOnly = 0, $openBlank = false, $isNotUtf8 = false) { $viewName = is_null($viewName) ? 'affiliate_list' : $viewName; parent::__construct(); $this->categoryId = $categoryId; $this->viewName = $viewName; $this->acceptedOnly = $acceptedOnly; $this->textOnly = $textOnly; $this->openBlank = $openBlank; $this->isNotUtf8 = $isNotUtf8; $this->returnRender = false; }
function __construct($isNotUtf8, $maxSize = array()) { parent::__construct(); $this->isNotUtf8 = $isNotUtf8; $this->returnRender = false; if (isset($maxSize['width']) && !isset($maxSize['height'])) { $maxSize['height'] = $maxSize['width']; } if (isset($maxSize['height']) && !isset($maxSize['width'])) { $maxSize['width'] = $maxSize['height']; } $this->maxSize = $maxSize; }
function __construct($isNotUtf8) { parent::__construct(); $this->isNotUtf8 = $isNotUtf8; $this->returnRender = false; }