Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
en:slam4:php:phalcon:jquery [2015/02/06 17:49] – La page de traduction a été créée jcheron | en:slam4:php:phalcon:jquery [2019/08/31 14:21] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== 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 : | ||
+ | < | ||
+ | |< 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 ===== |