PHP Класс Inpsyde\MultilingualPress\Widget\Sidebar\LanguageSwitcher\Widget

С версии: 3.0.0
Наследование: extends WP_Widge\WP_Widget
Показать файл Открыть проект

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

Метод Описание
__construct ( ) Constructor. Sets up the properties.
form ( array $instance ) : void Renders the widget's admin view.
update ( array $new_instance, array $instance ) : array Updates the widget settings.
widget ( array $args, array $instance ) : void Renders the widget's front end view.

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

Метод Описание
enqueue_style ( ) : void Enqueues the front-end styles.

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

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

Constructor. Sets up the properties.
С версии: 3.0.0
public __construct ( )

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

Renders the widget's admin view.
С версии: 3.0.0
public form ( array $instance ) : void
$instance array Widget settings.
Результат void

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

Updates the widget settings.
С версии: 3.0.0
public update ( array $new_instance, array $instance ) : array
$new_instance array New widget settings.
$instance array Current widget settings.
Результат array Update widget settings.

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

Renders the widget's front end view.
С версии: 3.0.0
public widget ( array $args, array $instance ) : void
$args array Widget arguments.
$instance array Widget settings.
Результат void