| 1 | <?php |
||
| 8 | class Datas |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Check types of variables |
||
| 12 | * |
||
| 13 | * @param array $vars : Variables to check |
||
| 14 | * array(array('type' => 'monType', 'data' => 'mesData), array(...)...) |
||
| 15 | * |
||
| 16 | * @return boolean |
||
| 17 | */ |
||
| 18 | public static function checkType($vars) |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Check if an email address is valid |
||
| 55 | * |
||
| 56 | * @param string $mail The email address to check |
||
| 57 | * |
||
| 58 | * @return boolean |
||
| 59 | */ |
||
| 60 | public static function checkMail($mail) |
||
| 64 | } |
||
| 65 |
This check looks for function calls that miss required arguments.