PHP Class Pagekit\Finder\Controller\FinderController

Afficher le fichier Open project: pagekit/pagekit

Méthodes publiques

Méthode Description
createFolderAction ( $name )
indexAction ( $path )
removeFilesAction ( $names )
renameAction ( $oldname, $newname )
uploadAction ( )

Méthodes protégées

Méthode Description
error ( $message )
formatFileSize ( $size )
getMode ( $path )
getPath ( $path = '' )
isValidFilename ( $name )
normalizePath ( string $path ) : string Normalizes the given path
success ( $message )

Method Details

createFolderAction() public méthode

public createFolderAction ( $name )

error() protected méthode

protected error ( $message )

formatFileSize() protected méthode

protected formatFileSize ( $size )

getMode() protected méthode

protected getMode ( $path )

getPath() protected méthode

protected getPath ( $path = '' )

indexAction() public méthode

public indexAction ( $path )

isValidFilename() protected méthode

protected isValidFilename ( $name )

normalizePath() protected méthode

Normalizes the given path
protected normalizePath ( string $path ) : string
$path string
Résultat string

removeFilesAction() public méthode

public removeFilesAction ( $names )

renameAction() public méthode

public renameAction ( $oldname, $newname )

success() protected méthode

protected success ( $message )

uploadAction() public méthode

public uploadAction ( )