Class lispa\amos\documenti\utility\DocumentsUtility

Inheritancelispa\amos\documenti\utility\DocumentsUtility » yii\base\Object
Implementsyii\base\Configurable

Class DocumentsUtility

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__call() Calls the named method which is not a class method. yii\base\Object
__construct() Constructor. yii\base\Object
__get() Returns the value of an object property. yii\base\Object
__isset() Checks if a property is set, i.e. defined and not null. yii\base\Object
__set() Sets value of an object property. yii\base\Object
__unset() Sets an object property to null. yii\base\Object
canGetProperty() Returns a value indicating whether a property can be read. yii\base\Object
canSetProperty() Returns a value indicating whether a property can be set. yii\base\Object
className() Returns the fully qualified name of this class. yii\base\Object
getDocumentIcon() lispa\amos\documenti\utility\DocumentsUtility
getDocumentsCategoriesIds() This method returns an array with document categories ids used in the documents present in the platform. lispa\amos\documenti\utility\DocumentsUtility
getSearchCategoriesReadyForSelect() This method returns an array with document categories ready for select used in the documents present in the platform. lispa\amos\documenti\utility\DocumentsUtility
hasMethod() Returns a value indicating whether a method is defined. yii\base\Object
hasProperty() Returns a value indicating whether a property is defined. yii\base\Object
init() Initializes the object. yii\base\Object
sendEmail() lispa\amos\documenti\utility\DocumentsUtility

Method Details

getDocumentIcon() public static method

public static string getDocumentIcon ( $model, $onlyIconName false )
$model lispa\amos\documenti\models\Documenti
$onlyIconName boolean

If true return only the icon name ready to use in AmosIcon::show method.

getDocumentsCategoriesIds() public static method

This method returns an array with document categories ids used in the documents present in the platform.

public static integer[] getDocumentsCategoriesIds ( )
getSearchCategoriesReadyForSelect() public static method

This method returns an array with document categories ready for select used in the documents present in the platform.

public static array getSearchCategoriesReadyForSelect ( )
sendEmail() public static method

public static void sendEmail ( $idUserIdList, $subject, $text, $files = [], $queue false )
$idUserIdList
$subject
$text
$files array
$queue boolean