Révision c304a780
Ajouté par Assos Assos il y a environ 6 ans
drupal7/sites/all/modules/ctools/plugins/access/string_length.inc | ||
---|---|---|
57 | 57 |
switch ($conf['operator']) { |
58 | 58 |
case '<': |
59 | 59 |
return $length < $conf['length']; |
60 |
|
|
60 | 61 |
case '<=': |
61 | 62 |
return $length <= $conf['length']; |
63 |
|
|
62 | 64 |
case '=': |
63 | 65 |
return $length == $conf['length']; |
66 |
|
|
64 | 67 |
case '!=': |
65 | 68 |
return $length != $conf['length']; |
69 |
|
|
66 | 70 |
case '>': |
67 | 71 |
return $length > $conf['length']; |
72 |
|
|
68 | 73 |
case '>=': |
69 | 74 |
return $length >= $conf['length']; |
70 | 75 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules