/** * Creates a new instance of the {@link XOAD_Events_Storage_PearDB} class. * * @access public * * @param string $dsn The data source name and parameters to use * when connecting with PearDB. * */ protected function __construct($dsn) { parent::__construct($dsn); $this->pearDSN = "{$this->type}://{$this->user}:{$this->password}@{$this->server}"; if (!empty($this->port)) { $this->pearDSN .= ':' . $this->port; } $this->pearDSN .= '/' . $this->database; }
/** * Creates a new instance of the {@link XOAD_Events_Storage_File} class. * * @access public * * @param string $dsn The data source name and parameters to use * when creating the instance. * */ public function __construct($dsn) { parent::__construct($dsn); }
/** * Creates a new instance of the {@link XOAD_Events_Storage_MySQL} class. * * @access public * * @param string $dsn The data source name and parameters to use * when connecting to MySQL. * */ protected function __construct($dsn) { parent::__construct($dsn); }