⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.37
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-horde
/
timeobjects
/
lib
/
Factory
/
View File Name :
Driver.php
* @category Horde * @license http://www.horde.org/licenses/bsd BSD * @package Timeobjects */ class TimeObjects_Factory_Driver { /** * Creates a concrete TimeObjects_Driver object. * * @param string $name The driver type to create. * @param array $params Any driver parameters. * * @return TimeObjects_Driver * @throws TimeObjects_Exception */ public function create($name, array $params = array()) { $class = 'TimeObjects_Driver_' . basename($name); switch ($class) { case 'TimeObjects_Driver_Weather': if (!class_exists('Horde_Service_Weather')) { throw new TimeObjects_Exception('Horde_Service_Weather is not installed'); } break; case 'TimeObjects_Driver_FacebookEvents': if (!class_exists('Horde_Service_Facebook')) { throw new TimeObjects_Exception('Horde_Service_Facebook is not installed'); } break; default: throw new TimeObjects_Exception(sprintf('Unable to load the definition of %s', $class)); } return new $class($params); } }