equal
deleted
inserted
replaced
18 /** |
18 /** |
19 * @var integer $id |
19 * @var integer $id |
20 */ |
20 */ |
21 protected $id; |
21 protected $id; |
22 |
22 |
23 |
|
24 /** |
23 /** |
25 * @var boolean $manualOrder |
24 * @var boolean $manualOrder |
26 */ |
25 */ |
27 protected $manualOrder = false; |
26 protected $manualOrder = false; |
28 |
27 |
38 |
37 |
39 /** |
38 /** |
40 * @var string tagsStr |
39 * @var string tagsStr |
41 */ |
40 */ |
42 protected $tagsStr; |
41 protected $tagsStr; |
|
42 |
|
43 /** |
|
44 * @var DateTime |
|
45 */ |
|
46 protected $createdAt; |
43 |
47 |
44 |
48 |
45 /** |
49 /** |
46 * Get id |
50 * Get id |
47 * |
51 * |
116 function getTagsStr() |
120 function getTagsStr() |
117 { |
121 { |
118 return $this->tagsStr; |
122 return $this->tagsStr; |
119 } |
123 } |
120 |
124 |
|
125 /** |
|
126 * (non-PHPdoc) |
|
127 * @see IRI\Bundle\WikiTagBundle\Model.DocumentInterface::getCreatedAt() |
|
128 */ |
|
129 function getCreatedAt() |
|
130 { |
|
131 return $this->createdAt; |
|
132 } |
|
133 |
|
134 /** |
|
135 * |
|
136 * construct the class |
|
137 */ |
|
138 function __construct() |
|
139 { |
|
140 $this->createdAt = new \DateTime("now", new \DateTimeZone('UTC')); |
|
141 } |
|
142 |
|
143 |
121 public function __toString() |
144 public function __toString() |
122 { |
145 { |
123 return print_r(Debug::export($this, 3),true); |
146 return print_r(Debug::export($this, 3),true); |
124 } |
147 } |
125 |
148 |