[Phphtmllib-devel] SF.net SVN: phphtmllib:[3341] trunk/open2300/lib/modules/wxdate/page/WxDate .inc
Status: Beta
Brought to you by:
hemna
From: <he...@us...> - 2010-02-21 22:23:28
|
Revision: 3341 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3341&view=rev Author: hemna Date: 2010-02-21 22:23:15 +0000 (Sun, 21 Feb 2010) Log Message: ----------- changed the cache key to include the date Modified Paths: -------------- trunk/open2300/lib/modules/wxdate/page/WxDate.inc Modified: trunk/open2300/lib/modules/wxdate/page/WxDate.inc =================================================================== --- trunk/open2300/lib/modules/wxdate/page/WxDate.inc 2010-02-21 22:21:32 UTC (rev 3340) +++ trunk/open2300/lib/modules/wxdate/page/WxDate.inc 2010-02-21 22:23:15 UTC (rev 3341) @@ -87,5 +87,13 @@ // $table->add_row(new TDtag(array('style' => 'vertical-align:top;width:510px;'),$right_div)); // return $table; } + + public function get_cache_key() { + return get_class($this).$this->wxdate; + } + + public function get_cache_lifetime() { + return 60; + } } ?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |