메소드 |
설명 |
|
__construct ( string $path, boolean $is_dir, array $properties = [], $icon = null ) |
MediaAsset constructor |
|
__get ( string $name ) : mixed |
Retrieve attributes about this asset |
|
__set ( string $name, mixed $value ) |
Set attributes about this asset |
|
get_props ( ) |
|
|
load ( string $file ) |
Load the asset data from a file |
|
put ( ) : boolean |
Shortcut for putting an asset into the correct silo based on its path |
|
save ( string $file ) : boolean |
Save the asset data to a file |
|
upload ( array $files ) |
Load the asset data from an upload |
|