Nouvelle classe Membre, différente. D'autres modifs....

This commit is contained in:
Mysaa
2021-06-06 12:54:42 +02:00
parent 38ec48c9fc
commit e59898b0bb
42 changed files with 2006 additions and 455 deletions
+31 -1
View File
@@ -48,6 +48,32 @@ NOT REGEXP
...la valeur de gauche ne correspond pas à l'expression régulière donnée
*/
public static function getSqlOperator($operator){
switch ($operator){
case '=':
return '=';
case '<':
return '<';
case '>':
return '>';
case '<=':
return '<=';
case '>=':
return '>=';
case '=<':
return '<=';
case '<>':
return '<>';
case '!=':
return '!=';
case '!<':
return '!<';
case '!>':
return '!>';
default:
return NULL;
}
}
public static function getIntegerSqlOperator($operator){
switch ($operator){
@@ -116,8 +142,12 @@ NOT REGEXP
public static function arrayIfNot($var){
if(!is_array($var))
return array($var);
return $var!=NULL?array($var):NULL;
return $var;
}
public static function getHierarchicCouple(){
return array("Pr&eacute;sident","Ministres");
}
}