__construct() public method

public __construct ( )
コード例 #1
0
ファイル: Utilisateur.php プロジェクト: dembadiax/Kusoma
 public function __construct()
 {
     parent::__construct();
     $this->{$commentaires} = new ArrayCollection();
     $this->{$commandesTraites} = new ArrayCollection();
     $this->{$commandesEnvoyes} = new ArrayCollection();
 }
コード例 #2
0
ファイル: User.php プロジェクト: Checo1983/petfriends
 public function __construct()
 {
     parent::__construct();
     // your own logic
     $this->usuario_adopciones = new ArrayCollection();
     $this->usuario_archivos = new ArrayCollection();
 }
コード例 #3
0
ファイル: Utilisateurs.php プロジェクト: nassafou/ecomApp
 public function __construct()
 {
     parent::__construct();
     // your own logic
     $this->commandes = new \Doctrine\Common\Collections\ArrayCollection();
     $this->adresses = new \Doctrine\Common\Collections\ArrayCollection();
 }
コード例 #4
0
ファイル: User.php プロジェクト: quentinrinaldi/jr_project
 public function __construct()
 {
     parent::__construct();
     $this->roles = array('ROLE_USER');
     $this->registrationRequests = new ArrayCollection();
     $this->createdAt = new \DateTime('now');
 }
コード例 #5
0
ファイル: User.php プロジェクト: JaronKing/BlogApplication
 public function __construct()
 {
     parent::__construct();
     $this->postsCreated = new ArrayCollection();
     $this->tagsCreated = new ArrayCollection();
     // your own logic
 }
コード例 #6
0
ファイル: Users.php プロジェクト: nicks78/MyFirst
 public function __construct()
 {
     parent::__construct();
     $this->address = new \Doctrine\Common\Collections\ArrayCollection();
     $this->orders = new \Doctrine\Common\Collections\ArrayCollection();
     $this->userImg = new \Doctrine\Common\Collections\ArrayCollection();
 }
コード例 #7
0
ファイル: User.php プロジェクト: iliegurzun/articleapi
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->articles = new ArrayCollection();
     $this->ratings = new ArrayCollection();
     $this->answers = new ArrayCollection();
 }
コード例 #8
0
ファイル: User.php プロジェクト: bhdm/bankrotOld
 public function __construct()
 {
     parent::__construct();
     $this->forumQuestions = new ArrayCollection();
     $this->forumAnswers = new ArrayCollection();
     $this->lots = new ArrayCollection();
 }
コード例 #9
0
ファイル: User.php プロジェクト: JavaTrain/train
 public function __construct()
 {
     parent::__construct();
     $this->groups = new \Doctrine\Common\Collections\ArrayCollection();
     $this->courses = new \Doctrine\Common\Collections\ArrayCollection();
     $this->payments = new \Doctrine\Common\Collections\ArrayCollection();
 }
コード例 #10
0
ファイル: User.php プロジェクト: riki343/MyPrivateDesktop
 public function __construct()
 {
     parent::__construct();
     $this->files = new ArrayCollection();
     $this->directories = new ArrayCollection();
     $this->playlists = new ArrayCollection();
 }
コード例 #11
0
ファイル: User.php プロジェクト: sfraoua/fitness-api-oauth
 public function __construct()
 {
     parent::__construct();
     $this->addRole('ROLE_USER');
     $this->autoPassword = false;
     $this->autoUsername = false;
 }
コード例 #12
0
ファイル: User.php プロジェクト: brunowerneck/php-br
 public function __construct()
 {
     $this->artigos = new ArrayCollection();
     $this->mensagens = new ArrayCollection();
     $this->topicos = new ArrayCollection();
     parent::__construct();
 }
コード例 #13
0
ファイル: User.php プロジェクト: molodoi/sfMcommerce
 public function __construct()
 {
     parent::__construct();
     $this->products = new ArrayCollection();
     $this->orders = new ArrayCollection();
     $this->address = new ArrayCollection();
 }
コード例 #14
0
ファイル: User.php プロジェクト: NeonXP/NightQuest
 public function __construct()
 {
     parent::__construct();
     $this->requests = new ArrayCollection();
     $this->experience = 0;
     $this->newOauth = false;
 }
コード例 #15
0
ファイル: User.php プロジェクト: m2fd/crud-contacts
 /**
  * User constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->isActive = true;
     // may not be needed, see section on salt below
     // $this->salt = md5(uniqid(null, true));
 }
コード例 #16
0
ファイル: Blogger.php プロジェクト: hejoseph/blog
 public function __construct()
 {
     parent::__construct();
     // your own logic
     $this->blog = new ArrayCollection();
     $this->comments = new ArrayCollection();
 }
コード例 #17
0
ファイル: User.php プロジェクト: Varenthein/find_bulb
 public function __construct()
 {
     parent::__construct();
     // your own logic
     $this->passwordExpireAt = new \DateTime('next month');
     $this->roles = new ArrayCollection();
 }
コード例 #18
0
ファイル: User.php プロジェクト: adashbob/pgiweb
 public function __construct()
 {
     parent::__construct();
     if (empty($this->roles)) {
         $this->roles[] = 'ROLE_USER';
     }
 }
コード例 #19
0
ファイル: Utilisateur.php プロジェクト: Anaroyondo/Prescrinet
 public function __construct($class)
 {
     parent::__construct($class);
     //$now = new \Datetime();
     //$this->created = $now;
     //$this->updated = $now;
 }
コード例 #20
0
ファイル: User.php プロジェクト: eliberis/academicbuddy
 public function __construct()
 {
     parent::__construct();
     $this->setPhase(3);
     //TODO: fix
     $this->plainPassword = substr(md5(uniqid(null, true)), 0, 5);
 }
コード例 #21
0
ファイル: User.php プロジェクト: Marquand/support
 public function __construct()
 {
     parent::__construct();
     $this->folders = new ArrayCollection();
     $this->events = new ArrayCollection();
     $this->enabled = 0;
 }
コード例 #22
0
ファイル: User.php プロジェクト: jreziga/portfolio
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->enabled = true;
     $this->username = microtime();
     $this->username_canonical = $this->username;
 }
コード例 #23
0
 /**
  * *******************************************************
  * Constructor
  * *******************************************************
  */
 public function __construct()
 {
     parent::__construct();
     $this->setSubscribe(true);
     $this->invoices = new ArrayCollection();
     $this->reviews = new ArrayCollection();
 }
コード例 #24
0
ファイル: User.php プロジェクト: itrascastro/IRB2
 public function __construct()
 {
     parent::__construct();
     $this->modulos = new ArrayCollection();
     $this->createdAt = new \DateTime();
     $this->updatedAt = $this->createdAt;
 }
コード例 #25
0
ファイル: User.php プロジェクト: houximing/sportfun
 public function __construct()
 {
     parent::__construct();
     // your own logic
     $this->stadiums = new ArrayCollection();
     $this->bookings = new ArrayCollection();
 }
コード例 #26
0
ファイル: User.php プロジェクト: Covert-Inferno/evetool
 public function __construct()
 {
     parent::__construct();
     $this->setCreatedAt(new \DateTime());
     $this->setUpdatedAt(new \DateTime());
     $this->characters = new ArrayCollection();
 }
コード例 #27
0
 /**
  * User constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->authored_tickets = new ArrayCollection();
     $this->assigned_tickets = new ArrayCollection();
     $this->workers = new ArrayCollection();
 }
コード例 #28
0
ファイル: User.php プロジェクト: a2c/BaconUserBundle
 public function __construct()
 {
     parent::__construct();
     if (in_array('ROLE_API', $this->getRoles())) {
         $this->setApiKey(ApiKeyGenerator::generate());
     }
 }
コード例 #29
0
ファイル: User.php プロジェクト: gorvelyfab/koopa-gbs-app
 public function __construct()
 {
     parent::__construct();
     $this->infos = new \Doctrine\Common\Collections\ArrayCollection();
     $this->articles = new \Doctrine\Common\Collections\ArrayCollection();
     $this->comments = new \Doctrine\Common\Collections\ArrayCollection();
 }
コード例 #30
0
ファイル: User.php プロジェクト: hatimashi/analytics
 public function __construct()
 {
     parent::__construct();
     $this->redirection = new \Doctrine\Common\Collections\ArrayCollection();
     $this->campaign = new \Doctrine\Common\Collections\ArrayCollection();
     // your own logic
 }