Interface lispa\amos\core\interfaces\ModelDocumentInterface
Implemented by | lispa\amos\documenti\models\Documenti, lispa\amos\documenti\models\search\DocumentiSearch, lispa\amos\myactivities\basic\DocumentToValidate |
---|
Interface ModelDocumentInterface
Public Methods
Method | Description | Defined By |
---|---|---|
getDocument() | This method is the getter for the document file and returns an attachment File object. | lispa\amos\core\interfaces\ModelDocumentInterface |
getDocumentImage() | This method is the getter for the document image and returns an HTML ready to be rendered. | lispa\amos\core\interfaces\ModelDocumentInterface |
getDocumentUrl() | This method is the getter for the document url and web url. | lispa\amos\core\interfaces\ModelDocumentInterface |
Method Details
This method is the getter for the document file and returns an attachment File object.
public abstract lispa\amos\attachments\models\File getDocument ( ) |
This method is the getter for the document image and returns an HTML ready to be rendered.
public abstract string getDocumentImage ( $onlyIconName = false ) | ||
$onlyIconName | boolean |
This method is the getter for the document url and web url.
public abstract string getDocumentUrl ( $size = 'original', $protected = true, $url = '/img/img_default.jpg', $absolute = false, $canCache = false ) | ||
$size | string | |
$protected | boolean | |
$url | string | |
$absolute | boolean | |
$canCache | boolean |