| | 295 | * Returns the timestamp selected by the user. |
| | 296 | * This method is required by {@link IDataRenderer}. |
| | 297 | * It is the same as {@link getTimeStamp()}. |
| | 298 | * @return integer the timestamp of the TDatePicker control. |
| | 299 | * @see getTimeStamp |
| | 300 | * @since 3.1.2 |
| | 301 | */ |
| | 302 | public function getData() |
| | 303 | { |
| | 304 | return $this->getTimeStamp(); |
| | 305 | } |
| | 306 | |
| | 307 | /** |
| | 308 | * Sets the timestamp represented by this control. |
| | 309 | * This method is required by {@link IDataRenderer}. |
| | 310 | * It is the same as {@link setTimeStamp()}. |
| | 311 | * @param integer the timestamp of the TDatePicker control. |
| | 312 | * @see setTimeStamp |
| | 313 | * @since 3.1.2 |
| | 314 | */ |
| | 315 | public function setData($value) |
| | 316 | { |
| | 317 | $this->setTimeStamp($value); |
| | 318 | } |
| | 319 | |
| | 320 | /** |