gyro/core/lib/interfaces/icacheitem.cls.php
Go to the documentation of this file.00001 <?php 00002 /** 00003 * Represent an item in cache, e.g. a row in cache table 00004 * 00005 * @author Gerd Riesselmann 00006 * @ingroup Interfaces 00007 */ 00008 interface ICacheItem { 00009 /** 00010 * Return creation date 00011 * 00012 * @return datetime 00013 */ 00014 public function get_creationdate(); 00015 00016 /** 00017 * Return expiration date 00018 * 00019 * @return datetime 00020 */ 00021 public function get_expirationdate(); 00022 00023 /** 00024 * Return data associated with this item 00025 * 00026 * @return mixed 00027 */ 00028 public function get_data(); 00029 00030 /** 00031 * Return the content in plain form 00032 * 00033 * @return string 00034 */ 00035 public function get_content_plain(); 00036 00037 /** 00038 * Return the content gzip compressed 00039 * 00040 * @return string 00041 */ 00042 public function get_content_compressed(); 00043 }