BxDolCache.php 792 B

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