⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.78
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
psa-pear
/
pear
/
php
/
Horde
/
Core
/
Data
/
View File Name :
Storage.php
* @category Horde * @copyright 2012-2017 Horde LLC * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 * @package Core */ class Horde_Core_Data_Storage implements Horde_Data_Storage { /* Data storage prefix. */ const PREFIX = 'data_import'; /** * The HashTable object. * * @var Horde_Core_HashTable_PersistentSession */ private $_ht; /** * Constructor. */ public function __construct() { $this->_ht = new Horde_Core_HashTable_PersistentSession(); } /* Horde_Data_Storage methods. */ /** */ public function get($key) { global $injector; try { return $injector->getInstance('Horde_Pack')->unpack( $this->_ht->get($this->_hkey($key)) ); } catch (Exception $e) { return null; } } /** */ public function set($key, $value = null) { global $injector; if (is_null($value)) { $this->_ht->delete($this->_hkey($key)); } else { $this->_ht->set( $this->_hkey($key), $injector->getInstance('Horde_Pack')->pack($value) ); } } /** */ public function exists($key) { return $this->_ht->exists($this->_hkey($key)); } /** */ public function clear() { $this->_ht->clear(); } /* Internal methods. */ /** * Return the hash key to use. * * @return string Hash key. */ private function _hkey($key) { return implode(':', array( self::PREFIX, $GLOBALS['registry']->getAuth(), $key )); } }