public function __construct($id = 0) { parent::__construct(); if ($id > 0) { $this->charger($id); } }
function __construct($declidisp = 0, $produit = 0) { parent::__construct(); if ($declidisp > 0 && $produit > 0) { $this->charger($declidisp, $produit); } }
function __construct($produit = 0, $caracteristique = 0) { parent::__construct(); if ($produit > 0 && $caracteristique > 0) { $this->charger($produit, $caracteristique); } }
public function __construct($rubrique = 0, $declinaison = 0) { parent::__construct(); if ($rubrique > 0 && $declinaison > 0) { $this->charger($rubrique, $declinaison); } }
public function __construct($nom = "") { parent::__construct(); if ($nom != "") { $this->charger($nom); } }
public function __construct($rubrique = 0, $caracteristique = 0) { parent::__construct(); if ($rubrique > 0 && $caracteristique > 0) { $this->charger($rubrique, $caracteristique); } }
function __construct($code = false) { parent::__construct(); if ($code !== false) { $this->charger($code); } }
function __construct($url = "") { parent::__construct(); if ($url != "") { $this->charger($url); } }
function __construct($nom = "") { parent::__construct(); // Pour les plugins étourdis if ($nom == "") { $nom = strtolower(get_class($this)); } $this->nom_plugin = $nom; $this->modulesdesc = new Modulesdesc($this->getNom()); }
public function __construct($colonne, $fkey = "", $lang = false) { parent::__construct(); // Identifier la colonne qui contient la foreign key $this->colonne = $colonne; // Charger la description si nécessaire. if (!empty($fkey)) { $this->charger_desc($fkey, $lang); } }
/** * * * * @param string $query * @param int $currentPage * @param int $maxPagesDisplayed * @param int $viewPerPage */ public function __construct($query, $currentPage, $maxPagesDisplayed = 15, $viewPerPage = 30) { parent::__construct(); $this->maxPagesDisplayed = $maxPagesDisplayed; $this->viewPerPage = $viewPerPage; $this->currentPage = $currentPage; try { $resul = $this->query($query, true); $this->totalResults = $this->get_result($resul, 0); } catch (Exception $e) { Tlog::error($e->getMessage()); $this->totalResults = 0; } $this->calculatePages(); }
function __construct() { parent::__construct(); }
public function __construct($nom_colonnes = false, $methode_module = false) { parent::__construct(); $this->nom_colonnes = $nom_colonnes; $this->methode_module = $methode_module; }