ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
class.ilExampleCache.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 include_once("./Services/Cache/classes/class.ilCache.php");
5 
15 class ilExampleCache extends ilCache
16 {
23  function __construct()
24  {
25  parent::__construct("ServicesCache", "Example", false);
26  $this->setExpiresAfter(5); // only five seconds to make a hit
27  // usually you would this value from some setting
28  }
29 }
30 ?>