Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
en:slam4:php:phalcon:jquery [2015/02/06 18:59] – jcheron | en:slam4:php:phalcon:jquery [2019/08/31 14:21] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== Phalcon-JQuery ====== | ====== Phalcon-JQuery ====== | ||
- | {{: | + | < |
+ | |< 100% >| | ||
+ | |{{: | ||
+ | < | ||
+ | ===== -- Installation ===== | ||
+ | - Download Phalcon-JQuery on [[https:// | ||
+ | - Unzip the archive in a local folder and copy the Ajax folder and his content in the folder libraries defined in your Phalcon configuration file : | ||
- | Phalcon-JQuery | + | < |
+ | |< 100% >| | ||
+ | |{{: | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ) | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | ===== -- Configuration ===== | ||
+ | ==== -- Service injection ==== | ||
+ | For adding Phalcon-JQuery to a Phalcon project, it is necessary to inject the JQuery service at application startup : | ||
+ | |||
+ | <sxh php; | ||
+ | $di-> | ||
+ | $jquery= new JsUtils(array(" | ||
+ | $jquery-> | ||
+ | $jquery-> | ||
+ | return $jquery; | ||
+ | }); | ||
+ | </ | ||
+ | ==== -- JS libraries integration ==== | ||
+ | |||
+ | ===== -- Usage ===== |