public function __construct($chave = '', $tabela = '', $apelido = '') { $this->chave = $chave; $this->tabela = strtoupper(!empty($tabela) ? $tabela : str_replace('Model', '', get_class($this))); $this->apelido = $apelido; parent::__construct(CNX_dbname, CNX_drive, CNX_host, CNX_user, CNX_pass, CNX_MEN_CON); }
public function __construct() { parent::__construct(); }