Skip to content
Extraits de code Groupes Projets
Valider b69a1d4c rédigé par cam.lafit's avatar cam.lafit
Parcourir les fichiers

autodoc

parent 99da9991
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
// elle sera cree en fonction des parametres de php // elle sera cree en fonction des parametres de php
// - 3) si l'on peut, on charge le module par la fonction dl() // - 3) si l'on peut, on charge le module par la fonction dl()
// //
// http://doc.spip.org/@inc_charger_php_extension_dist
function inc_charger_php_extension_dist($module){ function inc_charger_php_extension_dist($module){
if (extension_loaded($module)) { if (extension_loaded($module)) {
return true; return true;
......
...@@ -1808,18 +1808,21 @@ function filtre_find($array, $val) { ...@@ -1808,18 +1808,21 @@ function filtre_find($array, $val) {
// Filtre et : ($a && $b) // Filtre et : ($a && $b)
// [(#BALISE|=={val}|et{[(#AUTRE|=={val})]) Condition OK ] // [(#BALISE|=={val}|et{[(#AUTRE|=={val})]) Condition OK ]
// http://doc.spip.org/@filtre_et
function filtre_et($a, $b){ function filtre_et($a, $b){
return ($a && $b)?' ':''; return ($a && $b)?' ':'';
} }
// Filtre ou : ($a || $b) // Filtre ou : ($a || $b)
// [(#BALISE|=={val}|ou{[(#AUTRE|=={val})]) Condition OK ] // [(#BALISE|=={val}|ou{[(#AUTRE|=={val})]) Condition OK ]
// http://doc.spip.org/@filtre_ou
function filtre_ou($a, $b){ function filtre_ou($a, $b){
return ($a || $b)?' ':''; return ($a || $b)?' ':'';
} }
// Filtre xou : ($a xor $b) // Filtre xou : ($a xor $b)
// [(#BALISE|=={val}|xou{[(#AUTRE|=={val})]) Condition OK ] // [(#BALISE|=={val}|xou{[(#AUTRE|=={val})]) Condition OK ]
// http://doc.spip.org/@filtre_xou
function filtre_xou($a, $b){ function filtre_xou($a, $b){
return ($a XOR $b)?' ':''; return ($a XOR $b)?' ':'';
} }
......
...@@ -1368,7 +1368,7 @@ function evaluer_fond ($fond, $contexte=array(), $options=array(), $connect=null ...@@ -1368,7 +1368,7 @@ function evaluer_fond ($fond, $contexte=array(), $options=array(), $connect=null
// Une fonction pour charger dynamiquement une extension php // Une fonction pour charger dynamiquement une extension php
// adaptee de phpMyAdmin ; c'est mieux si on n'en a pas besoin... // adaptee de phpMyAdmin ; c'est mieux si on n'en a pas besoin...
// http://doc.spip.org/@load_extension // http://doc.spip.org/@charger_php_extension
function charger_php_extension($module) { function charger_php_extension($module) {
if (extension_loaded($module)) { if (extension_loaded($module)) {
return true; return true;
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter