Beispiel #1
0
 /**
  * constructor
  */
 public function __construct($aObject)
 {
     parent::__construct($aObject);
     $sAccessKey = getParam('sys_storage_s3_access_key');
     $sSecretKey = getParam('sys_storage_s3_secret_key');
     $this->_s3 = new S3($sAccessKey, $sSecretKey);
     $this->_sBucket = getParam('sys_storage_s3_bucket');
     $this->_sDomain = getParam('sys_storage_s3_domain');
     $this->_bSSL = isset($this->_aParams['ssl']) && $this->_aParams['ssl'] ? true : false;
     $this->_bReducedRedundancy = isset($this->_aParams['reduced_redundancy']) && $this->_aParams['reduced_redundancy'] ? true : false;
 }
Beispiel #2
0
 /**
  * constructor
  */
 public function __construct($aObject)
 {
     parent::__construct($aObject);
 }