public function __construct($id, $nome, $sobrenome) { parent::__construct(); $this->tabela = "clientes"; $this->setCid($id); $this->setCid($nome); $this->setCid($sobrenome); }
public function __construct($id = NULL, $nome = NULL, $sobrenome = NULL, $cpf = NULL, $telefone = NULL, $email = NULL, $dataNasc = NULL, $endereco = NULL, $iplanos = NULL) { parent::__construct(); $this->setSchema("aulas"); $this->setTabela("pessoas"); $this->ci_clientes = $id; $this->cnome = $nome; $this->csobrenome = $sobrenome; }