[ Index ] |
|
Code source de LifeType 1.2.4 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 111 lignes (4 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 3 fois |
Nécessite: | 0 fichiers |
UploadValidator:: (4 méthodes):
UploadValidator()
validate()
validateBlacklist()
validateWhitelist()
Classe: UploadValidator - X-Ref
\ingroup ValidatorUploadValidator() X-Ref |
Constructor. Initializes the rule. |
validate( $upload ) X-Ref |
Returns true if the file is a valid upload, after making it go through all our tests. param: upload An FileUpload object containing information about the file return: Returns true if it is valid or a negative value meaning an error otherwise: |
validateBlacklist( $upload, $forbiddenFilesStr ) X-Ref |
return: Returns true if successful or false otherwise |
validateWhitelist( $upload, $allowedFilesStr ) X-Ref |
return: Returns true if successful or false otherwise |
Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |