Пример #1
0
 function __construct($id, $nome, $rua, $numero, $bairro, $cep, $cidade, $estado, $telefone, $tipo, $grauImport, $cpf, $cobRua, $cobNumero, $cobBairro, $cobCidade)
 {
     parent::__construct($id, $nome, $rua, $numero, $bairro, $cep, $cidade, $estado, $telefone, $tipo, $grauImport);
     //  function __construct($id, $nome, $rua, $numero, $bairro, $cep, $cidade, $estado, $telefone, $tipo, $grauImport);
     $this->cpf = $cpf;
     $this->cobRua = $cobRua;
     $this->cobNumero = $cobNumero;
     $this->cobBairro = $cobBairro;
     $this->cobCidade = $cobCidade;
     //print "CPF" .$this->getCpf();
 }
Пример #2
0
 function __construct($id, $nome, $rua, $numero, $bairro, $cep, $cidade, $estado, $telefone, $tipo, $grauImport, $cnpj, $cobRua, $cobNumero, $cobBairro, $cobCidade)
 {
     //  function __construct($id, $nome, $rua, $numero, $bairro, $cep, $cidade, $estado, $telefone, $tipo, $grauImport, $cnpj, $cobRua, $cobNumero, $cobBairro, $cobCidade)
     //Cliente//
     parent::__construct($id, $nome, $rua, $numero, $bairro, $cep, $cidade, $estado, $telefone, $tipo, $grauImport);
     $this->cnpj = $cnpj;
     $this->cobRua = $cobRua;
     $this->cobNumero = $cobNumero;
     $this->cobBairro = $cobBairro;
     $this->cobCidade = $cobCidade;
     //print "CNPJ" .$this->getCnpj();
 }