All Data Structures Functions
Public Member Functions
plugin_jquery Class Reference

Public Member Functions

 __construct ($sName, $tParam=null)
 addLinkUpdateElement ($sUrl, $sCible)
 addLinkCallFunction ($sUrl, $sFunction)
 addModifyElement ($sCible, $sAction, $sParam=null)
 addJs ($sTxt)
 getJs ()

Detailed Description

plugin_jquery classe pour generer du code jquery


Definition at line 23 of file plugin_jquery.php.

Constructor & Destructor Documentation

__construct (   $sName,
  $tParam = null 

constructeur public

string$sNamenom de la fonction a creer
arraytableau de parametre attendu exple: array('id')

Definition at line 35 of file plugin_jquery.php.

Member Function Documentation

addJs (   $sTxt)

ajouter du code javascript dans la fonction public

string$sTxtcode javascript a ajouter dans la fonction

Definition at line 111 of file plugin_jquery.php.

addLinkCallFunction (   $sUrl,

ajouter un appel ajax envoyant sa reponse au une fonction javascript public

string$sUrladresse a appeler
string$sFunctionfunction a appeler

Definition at line 81 of file plugin_jquery.php.

addLinkUpdateElement (   $sUrl,

ajouter un appel ajax innerHtml public

string$sUrladresse a appeler
string$sCiblede l'element a modifier

Definition at line 60 of file plugin_jquery.php.

addModifyElement (   $sCible,
  $sParam = null 

ajouter un appel ajax modifiant un element html public

string$sCibleid de l'element html a modifier
string$sActionaction jquery a appeler
string$sParamparametres a utiliser dans l'appel

Definition at line 101 of file plugin_jquery.php.

getJs ( )

recupere le code javascript de la fonction encadre des balises scripts public

Definition at line 120 of file plugin_jquery.php.

The documentation for this class was generated from the following file: