__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.
Пример #1
0
 public function __construct($idSite)
 {
     $name = 'urls';
     $pluginName = 'WebsiteMeasurable';
     $defaultValue = array('http://siteUrl.com/', 'http://siteUrl2.com/');
     $type = FieldConfig::TYPE_ARRAY;
     parent::__construct($name, $defaultValue, $type, $pluginName, $idSite);
 }