Interface lispa\amos\core\interfaces\ModelDocumentInterface

Implemented bylispa\amos\documenti\models\Documenti, lispa\amos\documenti\models\search\DocumentiSearch, lispa\amos\myactivities\basic\DocumentToValidate

Interface ModelDocumentInterface

Public Methods

Hide inherited methods

MethodDescriptionDefined 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

getDocument() public abstract method

This method is the getter for the document file and returns an attachment File object.

public abstract lispa\amos\attachments\models\File getDocument ( )
getDocumentImage() public abstract method

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
getDocumentUrl() public abstract method

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