Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Themosis
Ajax
IAjax
PHP Interface Themosis\Ajax\IAjax
Afficher le fichier
Open project: themosis/framework
Méthodes publiques
Méthode
Description
listen
(
string
$action
,
Closure
|
string
$callback
,
string
|
boolean
$logged
= 'both' )
Listen to AJAX API calls.
Method Details
listen()
public
méthode
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.