Пример #1
0
 /**
  * Construtor
  * @param Perfil $perfil Caso definindo, 
  * cria uma instancia do Usuário com um perfil definido
  */
 public function __construct(Perfil $perfil = null)
 {
     parent::__construct();
     $this->funcao = new Funcao();
     if (is_null($perfil)) {
         $this->perfil = new Perfil();
     } else {
         $this->perfil = $perfil;
     }
 }
Пример #2
0
 /**
  *
  * @param \Kernel\Modelo\Perfil $perfil Caso definindo, cria uma instancia do Usuário com um perfil definido
  */
 public function __construct(Perfil $perfil = null)
 {
     parent::__construct();
     $this->senha = $this->foto = $this->nick = "";
     if (is_null($perfil)) {
         $this->perfil = new Perfil();
     } else {
         $this->perfil = $perfil;
     }
 }
Пример #3
0
 /**
  * Construtor
  */
 public function __construct()
 {
     parent::__construct();
     $this->tentativaLoginId = "tentativa_login";
     $this->idLogin = "******";
     $this->celular = new TelCelular();
     $this->areaDeInteresse = new AreaInteresse();
     $this->expProfissional = array();
     $this->formacao = array();
     $this->idiomas = array();
     $this->cursosCompl = array();
     $this->tiposAceitos = array(self::TIPO_EMPREGO => "Emprego", self::TIPO_ESTAGIO => "Estágio");
 }