|
Stud.IP
jlu_4.1 Revision
|


Public Member Functions | |
| setOriginalFilename ($filename) | |
| isNew () | |
| setContent ($content) | |
| getContent () | |
| getDownloadLink () | |
| delete () | |
Interface for an asset file.
Implement your own asset objects and factory if you want to use your own storage for assets.
| delete | ( | ) |
Deletes this asset
Implemented in PluginAsset.
| getContent | ( | ) |
Returns the content of the asset.
Implemented in PluginAsset.
| getDownloadLink | ( | ) |
Returns a download to the asset.
| String | containing the uri to download the asset |
Implemented in PluginAsset.
| isNew | ( | ) |
Returns whether the asset is new (and needs to be compiled/created).
Implemented in PluginAsset.
| setContent | ( | $content | ) |
Sets the content of the asset.
| String | $content | Content of the asset |
Implemented in PluginAsset.
| setOriginalFilename | ( | $filename | ) |
Sets the original file name of the source file.
| String | $filename | Name of the original file |
Implemented in PluginAsset.