PHP Class Media_manager, TastyIgniter

Inheritance: extends CI_Controller
Afficher le fichier Open project: tastyigniter/tastyigniter

Méthodes publiques

Méthode Description
__construct ( $config = [] )
_folderTree ( $directory, $return_link, $parent = '' )
_recursiveFolders ( $path, $first_call = TRUE )
copy ( $from_path, $to_path, $first_call = FALSE )
createFolder ( $file_path = FALSE, $thumb_path = FALSE )
delete ( $path, $first_call = FALSE )
fetchFiles ( $path, $sort = [] )
fetchGalleries ( )
fileExists ( $file_path )
fixFileName ( $str )
folderSize ( $path )
folderTree ( $path = '', $return_link = '' )
getAllowedExt ( )
getImagePath ( )
getOptions ( )
getRootFolder ( )
getThumbnail ( $file_name, $sub_folder = '' )
getUploadMaxSize ( )
isWritable ( $file_path )
move ( $file_path, $move_path )
newFolder ( $name )
recursiveFolders ( $path = '' )
rename ( $file_path, $new_name )
upload ( $sub_folder )

Private Methods

Méthode Description
sortFiles ( $sort, $u_files )

Method Details

__construct() public méthode

public __construct ( $config = [] )

_folderTree() public méthode

public _folderTree ( $directory, $return_link, $parent = '' )

_recursiveFolders() public méthode

public _recursiveFolders ( $path, $first_call = TRUE )

copy() public méthode

public copy ( $from_path, $to_path, $first_call = FALSE )

createFolder() public méthode

public createFolder ( $file_path = FALSE, $thumb_path = FALSE )

delete() public méthode

public delete ( $path, $first_call = FALSE )

fetchFiles() public méthode

public fetchFiles ( $path, $sort = [] )

fetchGalleries() public méthode

public fetchGalleries ( )

fileExists() public méthode

public fileExists ( $file_path )

fixFileName() public méthode

public fixFileName ( $str )

folderSize() public méthode

public folderSize ( $path )

folderTree() public méthode

public folderTree ( $path = '', $return_link = '' )

getAllowedExt() public méthode

public getAllowedExt ( )

getImagePath() public méthode

public getImagePath ( )

getOptions() public méthode

public getOptions ( )

getRootFolder() public méthode

public getRootFolder ( )

getThumbnail() public méthode

public getThumbnail ( $file_name, $sub_folder = '' )

getUploadMaxSize() public méthode

public getUploadMaxSize ( )

isWritable() public méthode

public isWritable ( $file_path )

move() public méthode

public move ( $file_path, $move_path )

newFolder() public méthode

public newFolder ( $name )

recursiveFolders() public méthode

public recursiveFolders ( $path = '' )

rename() public méthode

public rename ( $file_path, $new_name )

upload() public méthode

public upload ( $sub_folder )