Exemplo n.º 1
0
 /**
  * Construtor
  */
 public function __construct()
 {
     parent::__construct();
     $this->setTipo(Pessoa::T_FISICA);
     $this->cpf = new Cpf();
     $this->rg = new Rg();
     $this->estCivilPermitido = array(self::EST_CIV_CASADO => "Casado(a)", self::EST_CIV_SOLTEIRO => "Solteiro(a)", self::EST_CIV_DIVORCIADO => "Divorciado(a)", self::EST_CIV_VIUVO => "Viúvo(a)");
 }
Exemplo n.º 2
0
 public function __construct()
 {
     parent::__construct();
     $this->setTipo(Pessoa::T_JURIDICA);
     $this->cnpj = new Cnpj();
 }
Exemplo n.º 3
0
 public function __construct()
 {
     parent::__construct();
     $this->setTipo(Pessoa::T_FISICA);
     $this->cpf = new Cpf();
 }