PHP 클래스 Inpsyde\MultilingualPress\Widget\Sidebar\LanguageSwitcher\Widget

부터: 3.0.0
상속: extends WP_Widge\WP_Widget
파일 보기 프로젝트 열기: inpsyde/multilingual-press

공개 메소드들

메소드 설명
__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