Метод | Описание | |
---|---|---|
__construct ( string $name, mixed $defaultValue, string $type, string $pluginName ) | Constructor. | |
getValue ( ) | ||
isWritableByCurrentUser ( ) : boolean | Returns true if this setting is writable for the current user, false if otherwise. In case it returns writable for the current user it will be visible in the Plugin settings UI. |
Метод | Описание | |
---|---|---|
getValueFromConfig ( ) | ||
hasConfigValue ( ) |
public __construct ( string $name, mixed $defaultValue, string $type, string $pluginName ) | ||
$name | string | The setting's persisted name. |
$defaultValue | mixed | Default value for this setting if no value was specified. |
$type | string | Eg an array, int, ... see TYPE_* constants |
$pluginName | string | The name of the plugin the system setting belongs to. |
public isWritableByCurrentUser ( ) : boolean | ||
Результат | boolean |