PHP 클래스 Ip\Internal\Repository\BrowserModel

파일 보기 프로젝트 열기: impresspages/impresspages 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$instance
$supportedImageExtensions

공개 메소드들

메소드 설명
getAvailableFiles ( integer $seek, integer $limit, string $filter, $filterExtensions, boolean $secure = false, $subdir = null ) : array Get list of files for file browser
getFile ( string $fileName, string $secure = false, $path = null ) : array
getPath ( $secure, $subdir, $absolute = true )
instance ( ) : BrowserModel Get singleton instance
pathMustBeInRepository ( $path, $secure ) Throw an exception if path goes out of repository dir

보호된 메소드들

메소드 설명
__clone ( )
__construct ( )

비공개 메소드들

메소드 설명
createPreview ( string $file ) : string Get preview file for file browser
getFileData ( $fileName, $secure, $subdir = null )

메소드 상세

__clone() 보호된 메소드

protected __clone ( )

__construct() 보호된 메소드

protected __construct ( )

getAvailableFiles() 공개 메소드

Get list of files for file browser
public getAvailableFiles ( integer $seek, integer $limit, string $filter, $filterExtensions, boolean $secure = false, $subdir = null ) : array
$seek integer
$limit integer
$filter string
$secure boolean use secure folder instead of repository root
리턴 array

getFile() 공개 메소드

public getFile ( string $fileName, string $secure = false, $path = null ) : array
$fileName string file within file repository directory
$secure string
리턴 array

getPath() 공개 메소드

public getPath ( $secure, $subdir, $absolute = true )

instance() 공개 정적인 메소드

Get singleton instance
public static instance ( ) : BrowserModel
리턴 BrowserModel

pathMustBeInRepository() 공개 메소드

Throw an exception if path goes out of repository dir
public pathMustBeInRepository ( $path, $secure )
$path
$secure

프로퍼티 상세

$instance 보호되어 있는 정적으로 프로퍼티

protected static $instance

$supportedImageExtensions 보호되어 있는 프로퍼티

protected $supportedImageExtensions