BxDolCache.php 865 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. /**
  3. * @package Dolphin Core
  4. * @copyright Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  5. * @license CC-BY - http://creativecommons.org/licenses/by/3.0/
  6. */
  7. defined('BX_DOL') or die('hack attempt');
  8. class BxDolCache extends BxDol {
  9. /**
  10. * constructor
  11. */
  12. function BxDolCache() {
  13. parent::BxDol();
  14. }
  15. /**
  16. * Is cache engine available?
  17. * @return boolean
  18. */
  19. function isAvailable() {
  20. return true;
  21. }
  22. /**
  23. * Are required php modules are installed for this cache engine ?
  24. * @return boolean
  25. */
  26. function isInstalled() {
  27. return true;
  28. }
  29. function getData($sKey, $iTTL = false) {}
  30. function setData($sKey, $mixedData, $iTTL = false) {}
  31. function delData($sKey) {}
  32. function removeAllByPrefix ($s) {}
  33. function getSizeByPrefix ($s) {}
  34. }