/** * Construct. * * @param array $options Class instances. */ public function __construct(array $options = []) { parent::__construct($options); $this->categorizeForeign = $this->pdo->getSetting('categorizeforeign') == "0" ? false : true; $this->catWebDL = $this->pdo->getSetting('catwebdl') == "0" ? false : true; $this->regexes = new Regexes(['Settings' => $this->pdo, 'Table_Name' => 'category_regexes']); }
function __construct($id, $cat_vin) { parent::__construct($id); $this->type = 'sous-region'; $this->data = "id_sous_region={$id}"; $this->category = $cat_vin; $this->set_label(); }
function __construct($data) { parent::__construct($data['id']); $this->id = $data['id']; $this->data = $data['id']; $this->label = $data['label']; $this->type = $data['type']; }
function __construct($id, $cat_vin) { parent::__construct($id); $this->type = 'region-monde'; $this->data = "id_region_du_monde={$id}"; $this->category = $cat_vin; $this->set_label(); }
function __construct($id, $cat_vin) { parent::__construct($id); $this->type = 'pays'; $this->data = "id_pays={$id}"; $this->category = $cat_vin; $this->set_label(); }
public function _construct() { parent::__construct(); }
/** * Group does not need Sluggable behavior * @param int $id * @param string $table * @param string $ds */ public function __construct($id = false, $table = null, $ds = null) { parent::__construct($id, $table, $ds); $this->Behaviors->unload('Utils.Sluggable'); }
public function __construct() { parent::__construct(); $this->output->set_header('Content-Type: application/json; charset=utf-8'); }
/** * Set data related to t_category table */ function __construct() { parent::__construct(RESTDAO_DEF_LANGUAGE); }
/** * Construct. * * @param array $options Class instances. */ public function __construct(array $options = array()) { parent::__construct($options); $this->categorizeForeign = $this->pdo->getSetting('categorizeforeign') == "0" ? false : true; $this->catWebDL = $this->pdo->getSetting('catwebdl') == "0" ? false : true; }