Sections
Voir aussi...
- Abstract_Item
- Abstract_List
- Admin_Helper
- auth_index
- Browser_Helper
- config_auth
- core_controller
- default_index
- File_Helper
- Folder_Helper
- Form_Helper
- GenList2_po_enclass
- GenList2_po_frclass
- GenList2_po_Generic
- Image_Helper
- LangTranslationManager
- MenuAdmin_Helper
- Mysql_Helper
- Pager_Helper
- Référence PHP
- YSMAuth
- YSMAuth_Container
- YSMAuthArray_Container
File_Helper
Description
Utilitaire pour télécharger des fichiers
Synopsis de la classe
File_Helper { /* Propriétés */ protected array $_filesinfo = array() /* Méthodes */ public void __construct() private array _handle_file(string $name, string $type, string $src, string $newfilename, string $oldfilename, array $fileinfo, Abstract_ItemModel $item[, integer $itemid = 0]) public array download_file(string $name, string $url, string $oldfilename, Abstract_ItemModel $item[, integer $itemid = 0]) public boolean erase(string $name, string $oldfilename) static public boolean filenameIsType(string $filename[, string $type = 'pdf']) public array get_file_info(string $name, string $filename) public string get_file_location(string $name[, string $thumbnailKey = null]) public string get_file_path(string $name[, string $thumbnailKey = null]) static public string getFilenameExtension(string $filename) public array import_file(string $name, string $inputname, string $oldfilename, Abstract_ItemModel $item[, integer $itemid = 0]) public void set_info(string $name, mixed $info) public array upload_file(string $name, string $inputname, string $oldfilename, Abstract_ItemModel $item[, integer $itemid = 0]) public boolean validate_filename(string $name, string $filename) }
Dernière modification: 2014-09-02 16:34:54 par Yan Morin
Hébergé par ProgYSM