PHP 인터페이스 Themosis\Ajax\IAjax

파일 보기 프로젝트 열기: themosis/framework

공개 메소드들

메소드 설명
listen ( string $action, Closure | string $callback, string | boolean $logged = 'both' ) Listen to AJAX API calls.

메소드 상세

listen() 공개 메소드

Listen to AJAX API calls.
public listen ( string $action, Closure | string $callback, string | boolean $logged = 'both' )
$action string The AJAX action name.
$callback Closure | string
$logged string | boolean true, false or 'both' type of users.