芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/www/cloud.pulsehost.co.uk/system/Managers/AbstractStorage.php
oManager = $oManager; $this->oSettings = & \Aurora\System\Api::GetSettings(); $this->oLastException = null; } /** * @return \Aurora\System\Settings */ public function &GetSettings() { return $this->oSettings; } /** * @return \Aurora\System\Exceptions\BaseException */ public function GetStorageException() { return $this->oLastException; } /** * @param \Aurora\System\Exceptions\BaseException $oException */ public function SetStorageException($oException) { $this->oLastException = $oException; } /** * @todo move to db storage */ protected function throwDbExceptionIfExist() { // connection in db storage if ($this->oConnection) { $oException = $this->oConnection->GetException(); if ($oException instanceof \Aurora\System\Exceptions\DbException) { throw new \Aurora\System\Exceptions\BaseException(\Aurora\System\Exceptions\Errs::Db_ExceptionError, $oException); } } } }