Class that extends Array object to add Gems specific functions.
| package | Gems |
|---|---|
| subpackage | Project |
| copyright | Copyright (c) 2011 Erasmus MC |
| license | New BSD License |
| since | Class available since version 1.5 |
__construct(mixed $array)
mixed
_getDefaultValues()
By doing this, we make sure the settings show up in the project information with the defaults even if the settings was not present in the project.ini
checkRequiredValues() : void
checkSuperAdminPassword(string $password) : boolean
string
booleanTrue if the password is correct.decrypt(string $input, string $method = 'default') : \decrypted
stringString to decrypt
stringThe method used for encrypting (null = no encryption)
\decryptedstringencrypt(string $input, string $method = 'default') : \decrypted
stringString to decrypt
stringThe method used for encrypting (null = no encryption)
\decryptedstringgetAskDelay(\Zend_Controller_Request_Abstract $request, boolean $wasAnswered) : integer
\Zend_Controller_Request_Abstract
booleanWhen true use the ask delay
integer-1 means waiting indefinitelygetAskThrottleSettings() : array
arraygetCache() : string
stringgetConsoleRole() : string
If the role is not defined (or does not exist) running GemsTracker in console mode requires the users login name, organization and password to be specified on the command line.
stringgetConsoleUrl() : string
stringgetDefaultOrganization() : integer
integerOrganization number or -1 when not setgetDefaultTrackId() : integer
Usually used in by single track project
integerOrganization number or -1 when not setgetDescription() : string
stringgetDocumentationUrl() : string
stringgetEmailBcc() : string
stringgetEmailBounce() : boolean
booleangetEmailCreateAccount() : string
stringTemplate CodegetEmailMultiLanguage() : boolean
booleangetEmailResetPassword() : string
stringTemplate CodegetFileImportRoot() : string
stringgetForumUrl() : string
stringgetFrom() : string
stringE-Mail addressgetImageDir() : string
stringE-Mail addressgetInitialPassword() : String
StringgetJQueryLocal() : boolean
Instead of e.g. google Content Delivery Network.
booleangetLocaleDefault() : string
stringlocalegetLogLevel() : integer
Default settings is for development and testing environment to use \Zend_Log::DEBUG and for all other environments to use the \Zend_Log::ERR level. This can be overruled by specifying a logLevel in the project.ini
Using a level higher than \Zend_Log::ERR will output full error messages, traces and request info to the logfile. Please be aware that this might introduce a security risk as passwords might be written to the logfile in plain text.
integerThe loglevel to usegetLogLevelDefault() : integer
Default settings is for development and testing environment to use \Zend_Log::DEBUG and for all other environments to use the \Zend_Log::ERR level. This can be overruled by specifying a logLevel in the project.ini
integerThe loglevel to usegetLongDescription(string $language) : string
stringIso code languahe
stringgetMailFields() : array
arraygetManualUrl() : string
stringgetMonitorFrom(string $name = null) : string
stringOptional section name
stringgetMonitorPeriod(string $name = null) : string
stringOptional section name
stringgetMonitorTo(string $name = null) : string
stringOptional section name
stringgetName() : string
stringgetPasswordRules(array $codes) : array
arrayAn array of code names that identify rules that should be used only for those codes.
arraygetResponseDatabase() : \Zend_Db_Adapter_Abstract
\Zend_Db_Adapter_AbstractgetSessionTimeOut() : integer
integergetSiteEmail() : string
stringgetSuperAdminIPRanges() : string
stringgetSuperAdminName() : string
stringgetSupportUrl() : string
stringgetValueHash(string $value, $algorithm = null) : string
stringThe value to hash
stringThe salted hexadecimal hash, length depending on the algorithm (32 for md5, 128 for sha512.hasAnySupportUrl() : boolean
booleanhasBugsUrl() : boolean
booleanhasInitialPassword() : boolean
booleanhasResponseDatabase() : boolean
booleanisBootstrapLocal() : boolean
Instead of e.g. google Content Delivery Network.
booleanisConsoleAllowed() : string
If allowed you can call index.php from the command line.
Use -h as a parameter to get more info, e.g:
php.exe -f index.php -- -f
The -- is needed because otherwise the command is interpreted
as php.exe -h.
stringisHttpsRequired() : boolean
booleanisJQueryLocal() : boolean
Instead of e.g. google Content Delivery Network.
booleanisLoginShared() : boolean
booleanisMultiLocale() : boolean
booleanisValidUntilRequired() : boolean
booleanuseCsrfCheck() : boolean
boolean_getPasswordRules(array $current, array $codes, array $rules) : void
arrayThe current (part)sub) array of $this->passwords to check
arrayAn array of code names that identify rules that should be used only for those codes.
arrayThe array that stores the activated rules.
getSuperAdminPassword() : string
string$_responsesDb : \Zend_Db_Adapter_Abstract
$defaultSessionTimeout : integer
1800Can be overruled in sesssion.idleTimeout
$minimumSuperPasswordLength : integer
10