PHP 클래스 Give_Forms_Widget, Give

부터: 1.0
상속: extends WP_Widget
파일 보기 프로젝트 열기: wordimpress/give

보호된 프로퍼티들

프로퍼티 타입 설명
$self string The widget class name

공개 메소드들

메소드 설명
__construct ( ) Instantiate the class
admin_widget_scripts ( string $hook ) : void Load widget assets only on the widget page
flush_widget_cache ( ) : void Flush widget cache
form ( array $instance ) : string Output the settings update form.
update ( array $new_instance, array $old_instance ) : array Update the widget
widget ( array $args, array $instance ) Echo the widget content.
widget_init ( ) : void Register the widget

메소드 상세

__construct() 공개 메소드

Instantiate the class
public __construct ( )

admin_widget_scripts() 공개 메소드

Load widget assets only on the widget page
public admin_widget_scripts ( string $hook ) : void
$hook string
리턴 void

flush_widget_cache() 공개 메소드

Flush widget cache
public flush_widget_cache ( ) : void
리턴 void

form() 공개 메소드

Output the settings update form.
public form ( array $instance ) : string
$instance array Current settings.
리턴 string

update() 공개 메소드

Update the widget
public update ( array $new_instance, array $old_instance ) : array
$new_instance array
$old_instance array
리턴 array

widget() 공개 메소드

Echo the widget content.
public widget ( array $args, array $instance )
$args array Display arguments including before_title, after_title, before_widget, and after_widget.
$instance array The settings for the particular instance of the widget.

widget_init() 공개 메소드

Register the widget
public widget_init ( ) : void
리턴 void

프로퍼티 상세

$self 보호되어 있는 프로퍼티

The widget class name
protected string $self
리턴 string