Yoast_Input_Select::__construct()publicYoast 1.0

Constructor.

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

Хуков нет.

Возвращает

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

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

$Yoast_Input_Select = new Yoast_Input_Select();
$Yoast_Input_Select->__construct( $select_id, $select_name, $select_options, $selected_option );
$select_id(строка) (обязательный)
ID for the select.
$select_name(строка) (обязательный)
Name for the select.
$select_options(массив) (обязательный)
Array with the options to parse.
$selected_option(строка) (обязательный)
The current selected option.

Код Yoast_Input_Select::__construct() Yoast 22.4

public function __construct( $select_id, $select_name, array $select_options, $selected_option ) {
	$this->select_id       = $select_id;
	$this->select_name     = $select_name;
	$this->select_options  = $select_options;
	$this->selected_option = $selected_option;
}