메소드 | 설명 | |
---|---|---|
__static ( ) | Register plugin hooks | |
act_ajax ( ) | Handles incoming ajax requests for which the user need not be authenticated. | |
act_auth_ajax ( ) | Handles incoming ajax requests for which the user must be authenticated. | |
locale_js ( ) | Serves the locale Javascript to translate javascript strings. | |
register_ajax ( string $name, callable $fn ) | Register a lambda/closure as an ajax dispatch function | |
register_auth_ajax ( string $name, callable $fn ) | Register a lambda/closure as an auth_ajax dispatch function |
URL::get( 'ajax', 'context=foo' );
public act_ajax ( ) |
public act_auth_ajax ( ) |
public locale_js ( ) |
public static register_ajax ( string $name, callable $fn ) | ||
$name | string | The context of the ajax URL |
$fn | callable | The function to dispatch to |
public static register_auth_ajax ( string $name, callable $fn ) | ||
$name | string | The context of the ajax URL |
$fn | callable | The function to dispatch to |