Beispiel #1
0
 /**
  * @param string $sKey
  *
  * @return string
  */
 public function Get($sKey)
 {
     $sValue = '';
     if ($this->oDriver) {
         $sValue = $this->oDriver->Get($sKey . $this->sCacheIndex);
     }
     return $sValue;
 }
 /**
  * @param string $sKey
  * @param string $bClearAfterGet = false
  *
  * @return string
  */
 public function Get($sKey, $bClearAfterGet = false)
 {
     $sValue = '';
     if ($this->oDriver) {
         $sValue = $this->oDriver->Get($sKey . $this->sCacheIndex);
     }
     if ($bClearAfterGet) {
         $this->Delete($sKey);
     }
     return $sValue;
 }