PHP 클래스 nemmo\attachments\Module

상속: extends yii\base\Module
파일 보기 프로젝트 열기: nemmo/yii2-attachments 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$controllerNamespace
$rules
$storePath
$tableName
$tempPath

공개 메소드들

메소드 설명
attachFile ( $filePath, $owner ) : boolean | File
detachFile ( $id )
getFilesDirPath ( $fileHash ) : string
getShortClass ( $obj )
getStorePath ( )
getSubDirs ( $fileHash, $depth = 3 )
getTempPath ( )
getUserDirPath ( )
init ( )
registerTranslations ( )
t ( $category, $message, $params = [], $language = null )

메소드 상세

attachFile() 공개 메소드

public attachFile ( $filePath, $owner ) : boolean | File
$filePath string
$owner
리턴 boolean | nemmo\attachments\models\File

detachFile() 공개 메소드

public detachFile ( $id )

getFilesDirPath() 공개 메소드

public getFilesDirPath ( $fileHash ) : string
$fileHash
리턴 string

getShortClass() 공개 메소드

public getShortClass ( $obj )

getStorePath() 공개 메소드

public getStorePath ( )

getSubDirs() 공개 메소드

public getSubDirs ( $fileHash, $depth = 3 )

getTempPath() 공개 메소드

public getTempPath ( )

getUserDirPath() 공개 메소드

public getUserDirPath ( )

init() 공개 메소드

public init ( )

registerTranslations() 공개 메소드

t() 공개 정적인 메소드

public static t ( $category, $message, $params = [], $language = null )

프로퍼티 상세

$controllerNamespace 공개적으로 프로퍼티

public $controllerNamespace

$rules 공개적으로 프로퍼티

public $rules

$storePath 공개적으로 프로퍼티

public $storePath

$tableName 공개적으로 프로퍼티

public $tableName

$tempPath 공개적으로 프로퍼티

public $tempPath