PHP 클래스 WPDKServiceAjax

저자: =undo= ([email protected])
상속: extends WPDKAjax
파일 보기 프로젝트 열기: wpxtreme/wpdk

공개 메소드들

메소드 설명
getInstance ( ) : WPDKServiceAjax Create or return a singleton instance of WPDKServiceAjax
init ( ) : WPDKServiceAjax Alias of getInstance();
wpdk_action_alert_dismiss ( ) Permanent alert dismiss by user logged in
wpdk_action_autocomplete ( ) : string This method is such wpdk_action_user_by but used for custom autocomplete.
wpdk_action_autocomplete_posts ( ) : string Return a posts list for type and status
wpdk_action_autocomplete_users ( ) Return the autocomplete for users.
wpdk_action_dismiss_wp_pointer ( ) Dismiss a WPDK pointer for an user
wpdk_action_modal_dismiss ( ) Permanent modal dismiss by user logged in.
wpdk_action_on_swipe ( ) This action will fires if 'on_swipe' data attribute is set on the swipe control.
wpdk_action_on_switch ( ) This action will fires if 'on_switch' data attribute is set on the switch ui button control.
wpdk_action_user_by ( ) : string Display the autocomplete for input tag. List all user by term.

보호된 메소드들

메소드 설명
actions ( ) : array Return the array list with allowed method. This is a Key value pairs array with value for not signin user ajax method allowed.

메소드 상세

actions() 보호된 메소드

Return the array list with allowed method. This is a Key value pairs array with value for not signin user ajax method allowed.
protected actions ( ) : array
리턴 array

getInstance() 공개 정적인 메소드

Create or return a singleton instance of WPDKServiceAjax
public static getInstance ( ) : WPDKServiceAjax
리턴 WPDKServiceAjax

init() 공개 정적인 메소드

Alias of getInstance();
public static init ( ) : WPDKServiceAjax
리턴 WPDKServiceAjax

wpdk_action_alert_dismiss() 공개 메소드

Permanent alert dismiss by user logged in
부터: 1.4.21

wpdk_action_autocomplete() 공개 메소드

This method is such wpdk_action_user_by but used for custom autocomplete.
사용 중단: Since 1.0.0.b4
public wpdk_action_autocomplete ( ) : string
리턴 string JSON encode with search results

wpdk_action_autocomplete_posts() 공개 메소드

Return a posts list for type and status

wpdk_action_autocomplete_users() 공개 메소드

Return the autocomplete for users.
부터: 1.5.1

wpdk_action_dismiss_wp_pointer() 공개 메소드

Dismiss a WPDK pointer for an user

wpdk_action_modal_dismiss() 공개 메소드

Permanent modal dismiss by user logged in.
부터: 1.5.6

wpdk_action_on_swipe() 공개 메소드

This action will fires if 'on_swipe' data attribute is set on the swipe control.
사용 중단: since 1.9.0
부터: 1.7.0

wpdk_action_on_switch() 공개 메소드

This action will fires if 'on_switch' data attribute is set on the switch ui button control.
부터: 1.9.0

wpdk_action_user_by() 공개 메소드

Display the autocomplete for input tag. List all user by term.
public wpdk_action_user_by ( ) : string
리턴 string JSON encode with search results