5 * @license http://www.gnu.org/licenses/agpl.html AGPL Version 3
6 * @author Cornelius Weiß <c.weiss@metaways.de>
7 * @copyright Copyright (c) 2016-2017 Metaways Infosystems GmbH (http://www.metaways.de)
11 * Filemanager config class
13 * @package Filemanager
16 class Filemanager_Config extends Tinebase_Config_Abstract
18 const PUBLIC_DOWNLOAD_URL = 'publicDownloadUrl';
22 * @see tine20/Tinebase/Config/Definition::$_properties
24 protected static $_properties = array(
25 self::PUBLIC_DOWNLOAD_URL => array(
26 //_('Public Download URL')
27 'label' => 'Public Download URL',
28 //_('Serve anonymous downloads from a differnt URL. Make sure to setup propper rewrite rules.')
29 'description' => 'Serve anonymous downloads from a differnt URL. Make sure to setup propper rewrite rules.',
31 'clientRegistryInclude' => true,
32 'setByAdminModule' => false,
33 'setBySetupModule' => true,
39 * @see tine20/Tinebase/Config/Abstract::$_appName
41 protected $_appName = 'Filemanager';
44 * holds the instance of the singleton
46 * @var Tinebase_Config
48 private static $_instance = NULL;
53 * don't use the constructor. use the singleton
55 private function __construct() {}
60 * don't use the constructor. use the singleton
62 private function __clone() {}
65 * Returns instance of Tinebase_Config
67 * @return Tinebase_Config
69 public static function getInstance()
71 if (self::$_instance === NULL) {
72 self::$_instance = new self();
75 return self::$_instance;
80 * @see tine20/Tinebase/Config/Abstract::getProperties()
82 public static function getProperties()
84 return self::$_properties;