1<?php 2// (c) Copyright by authors of the Tiki Wiki CMS Groupware Project 3// 4// All Rights Reserved. See copyright.txt for details and a complete list of authors. 5// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. 6// $Id$ 7 8class Search_Type_Timestamp implements Search_Type_Interface 9{ 10 private $value; 11 private $dateOnly; 12 13 function __construct($value, $dateOnly = false) 14 { 15 $this->value = $value; 16 $this->dateOnly = $dateOnly; 17 } 18 19 function getValue() 20 { 21 return $this->value; 22 } 23 24 function isDateOnly() 25 { 26 return $this->dateOnly; 27 } 28} 29