PHP Class Unisharp\Laravelfilemanager\controllers\LfmController

Inheritance: extends App\Http\Controllers\Controller
Show file Open project: unisharp/laravel-filemanager Class Usage Examples

Public Properties

Property Type Description
$dir_location
$file_location
$file_type
$startup_view

Protected Properties

Property Type Description
$user

Public Methods

Method Description
__construct ( ) Constructor
getDirectories ( $path )
getFileName ( $file )
getPath ( $type = null, $get_thumb = false )
getUrl ( $type = null )
getUserSlug ( ) ************************** ** Shared Functions *** **************************
show ( ) : mixed Show the filemanager

Private Methods

Method Description
checkDefaultFolderExists ( $type = 'share' ) *************************** ** Private Functions *** ***************************
formatLocation ( $location, $type = null, $get_thumb = false )

Method Details

__construct() public method

Constructor
public __construct ( )

getDirectories() public method

public getDirectories ( $path )

getFileName() public method

public getFileName ( $file )

getPath() public method

public getPath ( $type = null, $get_thumb = false )

getUrl() public method

public getUrl ( $type = null )

getUserSlug() public method

************************** ** Shared Functions *** **************************
public getUserSlug ( )

show() public method

Show the filemanager
public show ( ) : mixed
return mixed

Property Details

$dir_location public property

public $dir_location

$file_location public property

public $file_location

$file_type public property

public $file_type

$startup_view public property

public $startup_view

$user protected property

protected $user