PHP Класс Devise\Media\Files\Repository

Показать файл Открыть проект

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

Свойство Тип Описание
$Filesystem Filesystem
$config
$input

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

Метод Описание
__construct ( Filesystem $Filesystem, MediaPaths $MediaPaths, Images $Image, null $Config = null, null $Request = null, null $URL = null ) Constructs a new repository
compileIndexData ( null $input = null ) : array Not really sure, gonna revisit this later.

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

Метод Описание
attemptThumbGeneration ( $path, $thumbnailPath ) : string
buildCategories ( $dir, $input ) : array
buildCrumbs ( $input ) : array Builds the bread crumbs for a specific directory?.
buildMediaItems ( $dir ) : array Get a list of media items in a directory
buildMediaItemsFromFiles ( $files ) : array Get a list of media items from files
buildSearchedItems ( $currentDirectory, $searchFor ) : array Get
ensureRootDirectoryAvailable ( ) : boolean Ensures that the media root directory is available
getCurrentCategory ( ) : [type] Gets the current category
getCurrentDirectory ( $input ) : string The current directory of the
getDefaultThumb ( $pathName ) : mixed
getFileName ( $path ) : mixed
getFilePath ( $path, $imageName ) : mixed
getPath ( $path, null $imageName = null ) : string
getThumbName ( $pathName, $possibleThumbPathName ) : string
matchingCroppedfiles ( $pathName, &$croppedFiles ) : mixed
passesFilters ( $file ) : boolean
setCurrentDirectory ( [type] $input, $openLastCategory ) [setCurrentDirectory description]
sortByCategoryName ( $category1, $category2 ) : integer
stringPopExtension ( $path, integer $amnt = 1 ) : string

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

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

Constructs a new repository
public __construct ( Filesystem $Filesystem, MediaPaths $MediaPaths, Images $Image, null $Config = null, null $Request = null, null $URL = null )
$Filesystem Filesystem
$MediaPaths Devise\Media\MediaPaths
$Image Devise\Media\Images\Images
$Config null
$Request null
$URL null

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

..
public compileIndexData ( null $input = null ) : array
$input null
Результат array

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

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

protected Filesystem,Devise\Media\Files $Filesystem
Результат Filesystem

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

protected $config

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

protected $input