Méthode | Description | |
---|---|---|
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. |
Méthode | Description | |
---|---|---|
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 | ||
Résultat | WPDKServiceAjax |
public static init ( ) : WPDKServiceAjax | ||
Résultat | WPDKServiceAjax |
public wpdk_action_alert_dismiss ( ) |
public wpdk_action_autocomplete ( ) : string | ||
Résultat | string | JSON encode with search results |
public wpdk_action_autocomplete_posts ( ) : string | ||
Résultat | 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 | ||
Résultat | string | JSON encode with search results |