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
boolean
True if the password is correct.decrypt(string $input, string $method = 'default'
) : \decrypted
string
String to decrypt
string
The method used for encrypting (null = no encryption)
\decrypted
stringencrypt(string $input, string $method = 'default'
) : \decrypted
string
String to decrypt
string
The method used for encrypting (null = no encryption)
\decrypted
stringgetAskDelay(\Zend_Controller_Request_Abstract $request, boolean $wasAnswered) : integer
\Zend_Controller_Request_Abstract
boolean
When true use the ask delay
integer
-1 means waiting indefinitelygetAskThrottleSettings() : array
array
getCache() : string
string
getConsoleRole() : 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.
string
getConsoleUrl() : string
string
getDefaultOrganization() : integer
integer
Organization number or -1 when not setgetDefaultTrackId() : integer
Usually used in by single track project
integer
Organization number or -1 when not setgetDescription() : string
string
getDocumentationUrl() : string
string
getEmailBcc() : string
string
getEmailBounce() : boolean
boolean
getEmailCreateAccount() : string
string
Template CodegetEmailMultiLanguage() : boolean
boolean
getEmailResetPassword() : string
string
Template CodegetFileImportRoot() : string
string
getForumUrl() : string
string
getFrom() : string
string
E-Mail addressgetImageDir() : string
string
E-Mail addressgetInitialPassword() : String
String
getJQueryLocal() : boolean
Instead of e.g. google Content Delivery Network.
boolean
getLocaleDefault() : string
string
localegetLogLevel() : 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.
integer
The 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
integer
The loglevel to usegetLongDescription(string $language) : string
string
Iso code languahe
string
getMailFields() : array
array
getManualUrl() : string
string
getMonitorFrom(string $name = null
) : string
string
Optional section name
string
getMonitorPeriod(string $name = null
) : string
string
Optional section name
string
getMonitorTo(string $name = null
) : string
string
Optional section name
string
getName() : string
string
getPasswordRules(array $codes) : array
array
An array of code names that identify rules that should be used only for those codes.
array
getResponseDatabase() : \Zend_Db_Adapter_Abstract
\Zend_Db_Adapter_Abstract
getSessionTimeOut() : integer
integer
getSiteEmail() : string
string
getSuperAdminIPRanges() : string
string
getSuperAdminName() : string
string
getSupportUrl() : string
string
getValueHash(string $value, $algorithm = null
) : string
string
The value to hash
string
The salted hexadecimal hash, length depending on the algorithm (32 for md5, 128 for sha512.hasAnySupportUrl() : boolean
boolean
hasBugsUrl() : boolean
boolean
hasInitialPassword() : boolean
boolean
hasResponseDatabase() : boolean
boolean
isBootstrapLocal() : boolean
Instead of e.g. google Content Delivery Network.
boolean
isConsoleAllowed() : 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.
string
isHttpsRequired() : boolean
boolean
isJQueryLocal() : boolean
Instead of e.g. google Content Delivery Network.
boolean
isLoginShared() : boolean
boolean
isMultiLocale() : boolean
boolean
isValidUntilRequired() : boolean
boolean
useCsrfCheck() : boolean
boolean
_getPasswordRules(array $current, array $codes, array $rules) : void
array
The current (part)sub) array of $this->passwords to check
array
An array of code names that identify rules that should be used only for those codes.
array
The array that stores the activated rules.
getSuperAdminPassword() : string
string
$_responsesDb : \Zend_Db_Adapter_Abstract
$defaultSessionTimeout : integer
1800
Can be overruled in sesssion.idleTimeout
$minimumSuperPasswordLength : integer
10