Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Themosis
Ajax
IAjax
PHP Interface Themosis\Ajax\IAjax
Mostrar archivo
Open project: themosis/framework
Public Methods
Method
Description
listen
(
string
$action
,
Closure
|
string
$callback
,
string
|
boolean
$logged
= 'both' )
Listen to AJAX API calls.
Method Details
listen()
public
method
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.