|
@@ 2165-2167 (lines=3) @@
|
| 2162 |
|
* @return bool |
| 2163 |
|
*/ |
| 2164 |
|
function setCreated( $year=FALSE, $month=FALSE, $day=FALSE, $hour=FALSE, $min=FALSE, $sec=FALSE, $params=FALSE ) { |
| 2165 |
|
if( !isset( $year )) { |
| 2166 |
|
$year = date('Ymd\THis', mktime( date( 'H' ), date( 'i' ), date( 's' ) - date( 'Z'), date( 'm' ), date( 'd' ), date( 'Y' ))); |
| 2167 |
|
} |
| 2168 |
|
$this->created = $this->_setDate2( $year, $month, $day, $hour, $min, $sec, $params ); |
| 2169 |
|
return TRUE; |
| 2170 |
|
} |
|
@@ 2800-2801 (lines=2) @@
|
| 2797 |
|
* @return boll |
| 2798 |
|
*/ |
| 2799 |
|
function setLastModified( $year=FALSE, $month=FALSE, $day=FALSE, $hour=FALSE, $min=FALSE, $sec=FALSE, $params=FALSE ) { |
| 2800 |
|
if( empty( $year )) |
| 2801 |
|
$year = date('Ymd\THis', mktime( date( 'H' ), date( 'i' ), date( 's' ) - date( 'Z'), date( 'm' ), date( 'd' ), date( 'Y' ))); |
| 2802 |
|
$this->lastmodified = $this->_setDate2( $year, $month, $day, $hour, $min, $sec, $params ); |
| 2803 |
|
return TRUE; |
| 2804 |
|
} |