예제 #1
0
파일: Season.php 프로젝트: fuca/sportsclub
 public function __construct(array $values = [])
 {
     parent::__construct();
     $this->updated = new DateTime();
     $this->applications = new ArrayCollection();
     $this->fromArray($values);
 }
예제 #2
0
 public function __construct(array $values = [])
 {
     parent::__construct();
     $this->status = WallPostStatus::DRAFT;
     $this->commentMode = CommentMode::ALLOWED;
     $this->fromArray($values);
 }
예제 #3
0
파일: Partner.php 프로젝트: fuca/sportsclub
 public function __construct(array $values = [])
 {
     parent::__construct();
     $this->updated = new DateTime();
     $this->note = "";
     $this->fromArray($values);
 }
예제 #4
0
 public function __construct(array $values = [])
 {
     parent::__construct();
     $this->activity = false;
     $this->staticPages = new ArrayCollection();
     $this->fromArray($values);
 }
예제 #5
0
 public function __construct(array $values = [])
 {
     parent::__construct();
     $this->status = StaticPageStatus::DRAFT;
     $this->commentMode = CommentMode::RESTRICTED;
     $this->fromArray($values);
 }
예제 #6
0
파일: Role.php 프로젝트: fuca/sportsclub
 public function __construct(array $values = [])
 {
     parent::__construct();
     $this->added = new DateTime();
     $this->parents = new ArrayCollection();
     $this->children = new ArrayCollection();
     $this->fromArray($values);
 }
예제 #7
0
파일: Article.php 프로젝트: fuca/sportsclub
 public function __construct(array $values = [])
 {
     parent::__construct();
     $this->created = new DateTime();
     $this->status = ArticleStatus::DRAFT;
     $this->commentMode = CommentMode::ALLOWED;
     $this->highlight = false;
     $this->counter = 0;
     $this->fromArray($values);
 }
예제 #8
0
파일: User.php 프로젝트: fuca/sportsclub
 public function __construct(array $values = [])
 {
     parent::__construct();
     $this->created = new DateTime();
     $this->commentMode = CommentMode::ALLOWED;
     $this->active = false;
     $this->passwordChangeRequired = true;
     $this->positions = new ArrayCollection();
     $this->fromArray($values);
 }
예제 #9
0
파일: Forum.php 프로젝트: fuca/sportsclub
 public function __construct(array $values = [])
 {
     parent::__construct();
     $this->threads = new ArrayCollection();
     $this->fromArray($values);
 }
예제 #10
0
 public function __construct(array $values = [])
 {
     parent::__construct();
     $this->sent = new DateTime();
     $this->fromArray($values);
 }
예제 #11
0
 public function __construct(array $values = [])
 {
     parent::__construct();
     $this->status = WebProfileStatus::BAD;
     $this->fromArray($values);
 }
예제 #12
0
 public function __construct()
 {
     parent::__construct();
     $this->identifierInit();
 }
 public function __construct()
 {
     parent::__construct();
     $this->logTime = new \DateTime();
 }
예제 #14
0
 public function __construct(array $data)
 {
     parent::__construct();
     $this->fromArray($data);
 }
예제 #15
0
파일: Event.php 프로젝트: fuca/sportsclub
 public function __construct(array $values = [])
 {
     parent::__construct();
     $this->eventType = EventType::TRAINING;
     $this->visibility = EventVisibility::GROUP;
     $this->commentMode = CommentMode::ALLOWED;
     $this->updated = new DateTime();
     //$this->groups = new ArrayCollection();
     $this->fromArray($values);
 }
예제 #16
0
파일: Payment.php 프로젝트: fuca/sportsclub
 public function __construct(array $values = [])
 {
     parent::__construct();
     $this->status = PaymentStatus::NOT_YET;
     $this->fromArray($values);
 }
예제 #17
0
 public function __construct(array $values = [])
 {
     parent::__construct();
     $this->commentMode = CommentMode::ALLOWED;
     $this->fromArray($values);
 }
예제 #18
0
 public function __construct(array $values = [])
 {
     parent::__construct();
     $this->publishContact = false;
     $this->fromArray($values);
 }