core\util\class-file-util.php
Gestion des fichiers.
- Author
- Eoxia
- Copyright
- 2015-2018 Eoxia
- Package
- EO_Framework\Core\Util
- Since
- 0.1.0
- Version
- 1.0.0
\eoxia\File_Util
Package: EO_Framework\Core\Util




Gestion des fichiers
- Parent(s)
- \eoxia\Singleton_Util
- Inherited_from
- \eoxia\Singleton_Util
Properties
Methods

__construct() : voidfinalinherited
Appelle le constructeur parent
Inherited from:Details
- Since
- 0.1.0
- Version
- 1.0.0

construct() : voidLe constructeur obligatoirement pour utiliser la classe \eoxia\Singleton_Util
Details
- Since
- 0.1.0
- Version
- 1.0.0

construct() : voidabstractinherited
Le constructeur pour les enfants
Inherited from:Details
- Since
- 0.1.0
- Version
- 1.0.0

g() : \eoxia\Singleton_Utilstaticfinalinherited
Récupères l'instance courante
Inherited from:Returns
Details
| Type | Description |
|---|---|
| \eoxia\Singleton_Util | L'instance courante |
- Since
- 0.1.0
- Version
- 1.0.0

move_file_and_attach(mixed $file, integer $element_id) : integerstatic
Upload le fichier $file et créer les méta données de ce fichier.
Parameters
Returns
Details
| Name | Type | Description |
|---|---|---|
| $file | mixed | Les données du fichier. |
| $element_id | integer | L'ID de l'élément pour l'attachement du fichier. |
| Type | Description |
|---|---|
| integer | L'id de l'attachement |
- Since
- 0.1.0
- Version
- 1.0.0