示例#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();
 }