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:bootstrap [2015/03/30 02:36] – La page de traduction a été créée jcheron | en:slam4:php:phalcon:jquery:bootstrap [2019/08/31 14:21] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== Bootstrap ====== | ====== Bootstrap ====== | ||
+ | **Bootstrap** module allows to generate the Bootstrap components and their default behavior from Phalcon controllers, | ||
+ | ===== -- Prerequisites ===== | ||
+ | |||
+ | ==== -- Service injection ==== | ||
+ | |||
+ | It is necessary to inject the JQuery service at application startup, and instantiate Bootstrap: | ||
+ | |||
+ | <sxh php; | ||
+ | $di-> | ||
+ | $jquery= new JsUtils(array(" | ||
+ | $jquery-> | ||
+ | return $jquery; | ||
+ | }); | ||
+ | </ | ||
+ | |||
+ | ==== -- js and css files inclusion ==== | ||
+ | |||
+ | //To continue |