Interface lispa\amos\core\interfaces\ModelImageInterface
Interface ModelImageInterface
Public Methods
Method | Description | Defined By |
---|---|---|
getModelImage() | This method is the getter for the model image and returns an attachment File object. | lispa\amos\core\interfaces\ModelImageInterface |
getModelImageUrl() | This method is the getter for the model image url and web url. | lispa\amos\core\interfaces\ModelImageInterface |
Method Details
This method is the getter for the model image and returns an attachment File object.
public abstract lispa\amos\attachments\models\File getModelImage ( ) |
This method is the getter for the model image url and web url.
public abstract string getModelImageUrl ( $size = 'original', $protected = true, $url = '/img/img_default.jpg', $absolute = false, $canCache = false ) | ||
$size | string | |
$protected | boolean | |
$url | string | |
$absolute | boolean | |
$canCache | boolean |