프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$incrementing | boolean | Indicates if the IDs are auto-incrementing. |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$fileableTable | string | The table associated with the model for morph. | |
$reader | Xpressengine\Storage\ContentReaderInterface | The ContentReader instance | |
$table | string | The table associated with the model. | |
$urls | Xpressengine\Storage\UrlMaker | Storage UrlMaker instance |
메소드 | 설명 | |
---|---|---|
getByFileable ( string $fileableId ) : Illuminate\Database\Eloquent\Collection | static[] | Get the files for fileable | |
getContent ( ) : string | Get the content of file | |
getDerives ( ) : Illuminate\Database\Eloquent\Collection | static[] | Get the derive files of current file | |
getFileableTable ( ) : string | Get a fileable table name | |
getOriginKey ( ) : string | Original file's identifier | |
getPathname ( ) : string | Get a path name of file | |
getRawDerives ( ) : Illuminate\Database\Eloquent\Collection | static[] | Get the derive files of current file with the File type | |
scopeDerives ( |
Scope for derives | |
setContentReader ( Xpressengine\Storage\ContentReaderInterface $reader ) : void | Set the ContentReader instance | |
setUrlMaker ( Xpressengine\Storage\UrlMaker $urlMaker ) : void | Set the UrlMaker instance | |
url ( Closur\Closure $callback = null ) : string | Get a file url |
public static getByFileable ( string $fileableId ) : Illuminate\Database\Eloquent\Collection | static[] | ||
$fileableId | string | fileable identifier |
리턴 | Illuminate\Database\Eloquent\Collection | static[] |
public getDerives ( ) : Illuminate\Database\Eloquent\Collection | static[] | ||
리턴 | Illuminate\Database\Eloquent\Collection | static[] |
public getRawDerives ( ) : Illuminate\Database\Eloquent\Collection | static[] | ||
리턴 | Illuminate\Database\Eloquent\Collection | static[] |
public scopeDerives ( |
||
$query | query builder instance | |
$file | file instance | |
리턴 |
public static setContentReader ( Xpressengine\Storage\ContentReaderInterface $reader ) : void | ||
$reader | Xpressengine\Storage\ContentReaderInterface | content reader instance |
리턴 | void |
public static setUrlMaker ( Xpressengine\Storage\UrlMaker $urlMaker ) : void | ||
$urlMaker | Xpressengine\Storage\UrlMaker | UrlMaker instance |
리턴 | void |
protected string $fileableTable | ||
리턴 | string |
public bool $incrementing | ||
리턴 | boolean |
protected static ContentReaderInterface,Xpressengine\Storage $reader | ||
리턴 | Xpressengine\Storage\ContentReaderInterface |