/** * Default constructor for ZoneSettingMobileRedirect. * * @param bool $status * TRUE if enabled. FALSE if disabled. * @param string $mobile_subdomain * Subdomain prefix you wish to redirect visitors on mobile devices to * (subdomain must already exist). * @param bool $strip_uri * Whether to drop the current page path and redirect to the mobile * subdomain URL root or to keep the path and redirect to the same page on * the mobile subdomain. * @param bool $setting_id * The name of the setting. * @param bool $editable * TRUE if editable. FALSE if setting is read-only. * @param int $modified_on * The last time that the setting was modified on the server. */ public function __construct($status, $mobile_subdomain, $strip_uri, $setting_id, $editable, $modified_on) { parent::__construct($setting_id, $editable, $modified_on); $this->setInternalIsMobileRedirectEnabled($status); $this->setInternalMobileSubdomain($mobile_subdomain); $this->setInternalIsStripUriEnabled($strip_uri); }
/** * Default constructor for ZoneSettingsBool. * * @param bool $value * The settings boolean value. * @param bool $setting_id * The name of the setting. * @param bool $editable * TRUE if editable. FALSE if setting is read-only. * @param int $modified_on * The last time that the setting was modified on the server. */ public function __construct($value, $setting_id, $editable, $modified_on) { parent::__construct($setting_id, $editable, $modified_on); $this->setInternalValue($value); }
/** * Default constructor for ZoneSettingSecurityHeader. * * @param bool $value * The settings boolean value. * @param bool $setting_id * The name of the setting. * @param bool $editable * TRUE if editable. FALSE if setting is read-only. * @param int $modified_on * The last time that the setting was modified on the server. */ public function __construct($value, $setting_id, $editable, $modified_on) { parent::__construct($setting_id, $editable, $modified_on); $this->value = $value; }
/** * Default constructor for ZoneSettingsMinify. * * @param bool $css_minify * TRUE if minification enabled on css files. FALSE otherwise. * @param bool $html_minify * TRUE if minification enabled on html files. FALSE otherwise. * @param bool $js_minify * TRUE if minification enabled on js files. FALSE otherwise. * @param bool $setting_id * The name of the setting. * @param bool $editable * TRUE if editable. FALSE if setting is read-only. * @param int $modified_on * The last time that the setting was modified on the server. */ public function __construct($css_minify, $html_minify, $js_minify, $setting_id, $editable, $modified_on) { parent::__construct($setting_id, $editable, $modified_on); $this->setInternalValue($css_minify, $html_minify, $js_minify); }