PHP Класс Unisharp\Laravelfilemanager\controllers\LfmController

Наследование: extends App\Http\Controllers\Controller
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$dir_location
$file_location
$file_type
$startup_view

Защищенные свойства (Protected)

Свойство Тип Описание
$user

Открытые методы

Метод Описание
__construct ( ) Constructor
getDirectories ( $path )
getFileName ( $file )
getPath ( $type = null, $get_thumb = false )
getUrl ( $type = null )
getUserSlug ( ) ************************** ** Shared Functions *** **************************
show ( ) : mixed Show the filemanager

Приватные методы

Метод Описание
checkDefaultFolderExists ( $type = 'share' ) *************************** ** Private Functions *** ***************************
formatLocation ( $location, $type = null, $get_thumb = false )

Описание методов

__construct() публичный Метод

Constructor
public __construct ( )

getDirectories() публичный Метод

public getDirectories ( $path )

getFileName() публичный Метод

public getFileName ( $file )

getPath() публичный Метод

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

getUrl() публичный Метод

public getUrl ( $type = null )

getUserSlug() публичный Метод

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

show() публичный Метод

Show the filemanager
public show ( ) : mixed
Результат mixed

Описание свойств

$dir_location публичное свойство

public $dir_location

$file_location публичное свойство

public $file_location

$file_type публичное свойство

public $file_type

$startup_view публичное свойство

public $startup_view

$user защищенное свойство

protected $user