| Current Path : /home/smartconb/www/armencom33/components/com_eventgallery/src/Library/Configuration/ |
| Current File : /home/smartconb/www/armencom33/components/com_eventgallery/src/Library/Configuration/Storage.php |
<?php
namespace Svenbluege\Component\Eventgallery\Site\Library\Configuration;
/**
* @package Sven.Bluege
* @subpackage com_eventgallery
*
* @copyright Copyright (C) 2005 - 2019 Sven Bluege All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
class Storage extends Configuration
{
public function getMaxItemsPerBatch() {
return (int)$this->get('sync_max_files_per_batch', 25);
}
public function getMaxParallelRequests() {
return (int)$this->get('sync_max_parallel_requests', 4);
}
public function getS3Endpoint() {
return $this->get('storage_s3_endpoint', null);
}
public function getS3Region() {
return $this->get('storage_s3_region', '');
}
public function getS3CredentialsKey() {
return $this->get('storage_s3_credentials_key', '');
}
public function getS3CredentialsSecret() {
return $this->get('storage_s3_credentials_secret', '');
}
public function getS3SignatureVersion() {
return $this->get('storage_s3_signature_version', 'v4');
}
public function getS3BucketOriginals() {
return $this->get('storage_s3_bucket_originals', '');
}
public function getS3BucketResized() {
return $this->get('storage_s3_bucket_resized', '');
}
public function getS3CloundfrontDomain() {
return $this->get('storage_s3_cloudfront_domain', '');
}
}