PHP Класс Piwik\Settings\Measurable\MeasurableProperty

... The difference to {@link MeasurableSetting} is that these fields will be stored in the actual site table whereas MeasurableSetting will be stored in a site_settings table. For this reasons MeasurableProperty can be used only for some specific fields that already exist in site table such as "ecommerce", "sitesearch" etc. See {@link \Piwik\Settings\Setting}.
Наследование: extends Piwik\Settings\Setting
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( string $name, mixed $defaultValue, string $type, string $pluginName, integer $idSite ) Constructor.
isWritableByCurrentUser ( ) : boolean Returns true if this setting can be displayed for the current user, false if otherwise.

Приватные методы

Метод Описание
hasSiteBeenCreated ( )

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( string $name, mixed $defaultValue, string $type, string $pluginName, integer $idSite )
$name string The persisted name of the setting.
$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 setting belongs to.
$idSite integer The idSite this property belongs to.

isWritableByCurrentUser() публичный Метод

Returns true if this setting can be displayed for the current user, false if otherwise.
public isWritableByCurrentUser ( ) : boolean
Результат boolean