コード例 #1
0
ファイル: Post.php プロジェクト: sks40gb/jnv
 public function __construct()
 {
     $this->comments = new \Doctrine\Common\Collections\ArrayCollection();
     $this->tags = new \Doctrine\Common\Collections\ArrayCollection();
     $this->postedAt = \SKS\UTIL\DateUtil::getCurrentDateTime();
     $this->publish = true;
 }
コード例 #2
0
ファイル: User.php プロジェクト: sks40gb/jnv
 public function __construct()
 {
     $this->postList = new \Doctrine\Common\Collections\ArrayCollection();
     //$this->active = true;
     $this->role = "AUTHOR";
     $this->createdOn = \SKS\UTIL\DateUtil::getCurrentDateTime();
 }
コード例 #3
0
ファイル: Image.php プロジェクト: sks40gb/jnv
 public function __construct()
 {
     $this->date = \SKS\UTIL\DateUtil::getCurrentDateTime();
     $this->active = true;
 }
コード例 #4
0
ファイル: Email.php プロジェクト: sks40gb/jnv
 public function __construct()
 {
     $this->sentAt = \SKS\UTIL\DateUtil::getCurrentDateTime();
 }
コード例 #5
0
ファイル: Comment.php プロジェクト: sks40gb/sks
 public function __construct()
 {
     parent::__construct();
     $this->commentedAt = \SKS\UTIL\DateUtil::getCurrentDateTime();
 }