Yoast\WP\SEO\Presenters\Admin

Light_Switch_Presenter::__construct()publicYoast 1.0

Light_Switch_Presenter constructor.

Метод класса: Light_Switch_Presenter{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$Light_Switch_Presenter = new Light_Switch_Presenter();
$Light_Switch_Presenter->__construct(;

Код Light_Switch_Presenter::__construct() Yoast 22.4

public function __construct(
	$variable,
	$label,
	$buttons,
	$name,
	$value,
	$reverse = true,
	$help = '',
	$strong = false,
	$disabled_attribute = ''
) {
	$this->var                = $variable;
	$this->label              = $label;
	$this->buttons            = $buttons;
	$this->name               = $name;
	$this->value              = $value;
	$this->reverse            = $reverse;
	$this->help               = $help;
	$this->strong             = $strong;
	$this->disabled_attribute = $disabled_attribute;
}