Метод | Описание | |
---|---|---|
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. |
public static getInstance ( ) : WPDKServiceAjax | ||
Результат | WPDKServiceAjax |
public static init ( ) : WPDKServiceAjax | ||
Результат | WPDKServiceAjax |
public wpdk_action_alert_dismiss ( ) |
public wpdk_action_autocomplete ( ) : string | ||
Результат | string | JSON encode with search results |
public wpdk_action_autocomplete_posts ( ) : string | ||
Результат | string |
public wpdk_action_autocomplete_users ( ) |
public wpdk_action_dismiss_wp_pointer ( ) |
public wpdk_action_modal_dismiss ( ) |
public wpdk_action_on_swipe ( ) |
public wpdk_action_on_switch ( ) |
public wpdk_action_user_by ( ) : string | ||
Результат | string | JSON encode with search results |