Interface lispa\amos\core\interfaces\ModelImageInterface

Implemented bylispa\amos\community\models\Community, lispa\amos\community\models\base\Community, lispa\amos\community\models\search\CommunitySearch, lispa\amos\core\record\ContentModel, lispa\amos\core\record\NetworkModel, lispa\amos\discussioni\models\DiscussioniTopic, lispa\amos\discussioni\models\search\DiscussioniTopicSearch, lispa\amos\documenti\models\Documenti, lispa\amos\documenti\models\base\Documenti, lispa\amos\documenti\models\search\DocumentiSearch, lispa\amos\myactivities\basic\CommunityToValidate, lispa\amos\myactivities\basic\DiscussionToValidate, lispa\amos\myactivities\basic\DocumentToValidate, lispa\amos\myactivities\basic\NewsToValidate, lispa\amos\news\models\News, lispa\amos\news\models\base\News, lispa\amos\news\models\search\NewsSearch, lispa\amos\organizzazioni\models\Profilo, lispa\amos\organizzazioni\models\base\Profilo, lispa\amos\organizzazioni\models\search\ProfiloSearch

Interface ModelImageInterface

Public Methods

Hide inherited methods

MethodDescriptionDefined 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

getModelImage() public abstract method

This method is the getter for the model image and returns an attachment File object.

public abstract lispa\amos\attachments\models\File getModelImage ( )
getModelImageUrl() public abstract method

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