PHP Class Pagekit\Finder\Controller\FinderController

Show file Open project: pagekit/pagekit

Public Methods

Method Description
createFolderAction ( $name )
indexAction ( $path )
removeFilesAction ( $names )
renameAction ( $oldname, $newname )
uploadAction ( )

Protected Methods

Method 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 method

public createFolderAction ( $name )

error() protected method

protected error ( $message )

formatFileSize() protected method

protected formatFileSize ( $size )

getMode() protected method

protected getMode ( $path )

getPath() protected method

protected getPath ( $path = '' )

indexAction() public method

public indexAction ( $path )

isValidFilename() protected method

protected isValidFilename ( $name )

normalizePath() protected method

Normalizes the given path
protected normalizePath ( string $path ) : string
$path string
return string

removeFilesAction() public method

public removeFilesAction ( $names )

renameAction() public method

public renameAction ( $oldname, $newname )

success() protected method

protected success ( $message )

uploadAction() public method

public uploadAction ( )