setBucket($CC_CONFIG['cloud_storage']['bucket']); $this->setAccessKey($CC_CONFIG['cloud_storage']['api_key']); $this->setSecretKey($CC_CONFIG['cloud_storage']['api_key_secret']); $this->setZendServiceAmazonS3(); } public function getZendServiceAmazonS3() { return $this->zendServiceAmazonS3; } private function setZendServiceAmazonS3() { $this->zendServiceAmazonS3 = new Zend_Service_Amazon_S3( $this->getAccessKey(), $this->getSecretKey()); } public function getBucket() { return $this->bucket; } private function setBucket($bucket) { $this->bucket = $bucket; } public function getAccessKey() { return $this->accessKey; } private function setAccessKey($accessKey) { $this->accessKey = $accessKey; } public function getSecretKey() { return $this->secretKey; } private function setSecretKey($secretKey) { $this->secretKey = $secretKey; } }