Class lispa\amos\myactivities\basic\DocumentToValidate

Inheritancelispa\amos\myactivities\basic\DocumentToValidate » lispa\amos\documenti\models\search\DocumentiSearch » lispa\amos\documenti\models\Documenti » lispa\amos\documenti\models\base\Documenti » lispa\amos\core\record\ContentModel » lispa\amos\notificationmanager\record\NotifyRecord » lispa\amos\core\record\Record » yii\db\ActiveRecord » yii\db\BaseActiveRecord » yii\base\Model » yii\base\Component » yii\base\Object
ImplementsArrayAccess, IteratorAggregate, lispa\amos\comments\models\CommentInterface, lispa\amos\core\interfaces\ContentModelInterface, lispa\amos\core\interfaces\ContentModelSearchInterface, lispa\amos\core\interfaces\ModelDocumentInterface, lispa\amos\core\interfaces\ModelImageInterface, lispa\amos\core\interfaces\SearchModelInterface, lispa\amos\core\interfaces\StatsToolbarInterface, lispa\amos\core\interfaces\ViewModelInterface, lispa\amos\core\interfaces\WorkflowMetadataInterface, lispa\amos\myactivities\basic\MyActivitiesModelsInterface, lispa\amos\notificationmanager\record\NotifyRecordInterface, yii\base\Arrayable, yii\base\Configurable, yii\db\ActiveRecordInterface
Uses Traitsyii\base\ArrayableTrait

Class DocumentToValidate

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$activeValidators yii\validators\Validator[] The validators applicable to the current $scenario. yii\base\Model
$allChildrens array lispa\amos\documenti\models\Documenti
$allDocumentChildrens array lispa\amos\documenti\models\Documenti
$allDocumentVersions lispa\amos\documenti\models\Documenti[] lispa\amos\documenti\models\Documenti
$allParents array lispa\amos\documenti\models\Documenti
$attachments lispa\amos\core\record\ContentModel
$attributes array Attribute values (name => value). yii\base\Model
$behaviors yii\base\Behavior[] List of behaviors attached to this component yii\base\Component
$category yii\db\ActiveQuery Category of content lispa\amos\documenti\models\Documenti
$children yii\db\ActiveQuery lispa\amos\documenti\models\base\Documenti
$createdAt string lispa\amos\myactivities\basic\DocumentToValidate
$createdUserProfile yii\db\ActiveQuery lispa\amos\core\record\Record
$creatorNameSurname string lispa\amos\myactivities\basic\DocumentToValidate
$cwhValidationStatuses array List of statuses that for cwh is validated lispa\amos\documenti\models\Documenti
$deletedUserProfile yii\db\ActiveQuery lispa\amos\core\record\Record
$destinatari string Destinatari lispa\amos\documenti\models\Documenti
$destinatari_notifiche string Destinatari notifiche lispa\amos\documenti\models\Documenti
$destinatari_pubblicazione string Destinatari pubblicazione lispa\amos\documenti\models\Documenti
$dirtyAttributes array The changed attribute values (name-value pairs) yii\db\BaseActiveRecord
$distance string Distanza lispa\amos\documenti\models\Documenti
$document lispa\amos\attachments\models\File lispa\amos\documenti\models\Documenti
$documentAttachments lispa\amos\attachments\models\File[] lispa\amos\documenti\models\Documenti
$documentChildrens array lispa\amos\documenti\models\Documenti
$documentImage string lispa\amos\documenti\models\Documenti
$documentMainFile lispa\amos\attachments\models\File lispa\amos\documenti\models\Documenti
$documentMainFileUrl string lispa\amos\documenti\models\Documenti
$documentUrl string lispa\amos\documenti\models\Documenti
$documentiCategorie yii\db\ActiveQuery lispa\amos\documenti\models\base\Documenti
$draftStatus lispa\amos\documenti\models\Documenti
$errors array Errors for all attributes or the specified attribute. yii\base\Model
$file mixed File lispa\amos\documenti\models\Documenti
$firstErrors array The first errors. yii\base\Model
$fullViewUrl string The url to view of this model lispa\amos\core\interfaces\ViewModelInterface
$grammar lispa\amos\documenti\i18n\grammar\DocumentsGrammar|mixed lispa\amos\documenti\models\Documenti
$gridViewColumns array The columns ti show as default in GridViewWidget lispa\amos\documenti\models\Documenti
$isNewRecord boolean Whether the record is new and should be inserted when calling save(). yii\db\ActiveRecordInterface
$isSearch boolean - if it is content model search class lispa\amos\notificationmanager\record\NotifyRecord
$iterator ArrayIterator An iterator for traversing the items in the list. yii\base\Model
$lastOldDocumentVersion lispa\amos\documenti\models\Documenti lispa\amos\documenti\models\Documenti
$mailStatuses array - map workflow transitions for which an email must be sent with email configurations [ end status => ChangeStatusEmail ] for standard email when reaching toValidate and validated statuses, leave the array empty lispa\amos\notificationmanager\record\NotifyRecord
$metadataButtonLabelKey string The key to be used to search the status button label in the model workflow metadata. lispa\amos\documenti\models\Documenti
$metadataButtonMessageKey string The key to be used to search the status button data confirm message in the model workflow metadata. lispa\amos\documenti\models\Documenti
$metadataDescriptionKey string The key to be used to search the status description in the model workflow metadata. lispa\amos\documenti\models\Documenti
$metadataLabelKey string The key to be used to search the status label in the model workflow metadata. lispa\amos\documenti\models\Documenti
$modelClassName lispa\amos\notificationmanager\record\NotifyRecord
$modelFormName lispa\amos\notificationmanager\record\NotifyRecord
$modelImage lispa\amos\core\record\ContentModel
$modelImageUrl string lispa\amos\documenti\models\Documenti
$modulesChainBehavior lispa\amos\core\record\Record
$nextVersion integer lispa\amos\documenti\models\Documenti
$notifiedUserId mixed|null lispa\amos\notificationmanager\record\NotifyRecord
$notifier lispa\amos\notificationmanager\record\NotifyRecord
$oldAttributes array The old attribute values (name-value pairs) yii\db\BaseActiveRecord
$oldPrimaryKey mixed The old primary key value. yii\db\ActiveRecordInterface
$orderAttribute string Selected ORDER attribute (field) from the ORDER form lispa\amos\core\record\Record
$orderAttributes array Array of order fields get from the config file of the module lispa\amos\core\record\Record
$orderAttributesLabels mixed lispa\amos\core\record\Record
$orderType integer ORDER ascending (SORT_ASC), descending (SORT_DESC) lispa\amos\core\record\Record
$orderVars lispa\amos\core\record\Record
$parent yii\db\ActiveQuery lispa\amos\documenti\models\base\Documenti
$parentId lispa\amos\documenti\models\search\DocumentiSearch
$pluginWidgetClassname string The classname of the generic dashboard widget to access the plugin lispa\amos\documenti\models\Documenti
$primaryKey mixed The primary key value. yii\db\ActiveRecordInterface
$publicatedAt \lispa\amos\core\interfaces\DateTime Date end of publication lispa\amos\documenti\models\Documenti
$publicatedFrom \lispa\amos\core\interfaces\DateTime Date begin of publication lispa\amos\documenti\models\Documenti
$regola_pubblicazione string Regola di pubblicazione lispa\amos\documenti\models\Documenti
$relatedRecords array An array of related records indexed by relation names. yii\db\BaseActiveRecord
$scenario string The scenario that this model is in. yii\base\Model
$searchString lispa\amos\myactivities\basic\DocumentToValidate
$shortDescription lispa\amos\documenti\models\Documenti
$statsToolbar lispa\amos\documenti\models\Documenti
$statusToRenderToHide array lispa\amos\documenti\models\Documenti
$tagsMandatory lispa\amos\core\record\Record
$title lispa\amos\documenti\models\Documenti
$toValidateStatus lispa\amos\documenti\models\Documenti
$updatedAt string lispa\amos\myactivities\basic\DocumentToValidate
$updatedUserProfile yii\db\ActiveQuery lispa\amos\core\record\Record
$validatedOnce boolean lispa\amos\core\record\ContentModel
$validatedStatus lispa\amos\documenti\models\Documenti
$validatorRole lispa\amos\documenti\models\Documenti
$validatorUsersId array lispa\amos\core\record\Record
$validatori string Validatori lispa\amos\documenti\models\Documenti
$validators ArrayObject|yii\validators\Validator[] All the validators declared in the model. yii\base\Model
$versionInfo string lispa\amos\documenti\models\Documenti
$versionParent yii\db\ActiveQuery lispa\amos\documenti\models\base\Documenti
$viewUrl string The url to view a single model lispa\amos\documenti\models\Documenti
$workflowStatusLabel string lispa\amos\core\record\Record
$wrappedObject lispa\amos\documenti\models\Documenti lispa\amos\myactivities\basic\DocumentToValidate

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__call() Calls the named method which is not a class method. yii\base\Component
__clone() This method is called after the object is created by cloning an existing one. yii\base\Component
__construct() lispa\amos\documenti\models\search\DocumentiSearch
__get() PHP getter magic method. yii\db\BaseActiveRecord
__isset() Checks if a property value is null. yii\db\BaseActiveRecord
__set() PHP setter magic method. yii\db\BaseActiveRecord
__toString() lispa\amos\core\record\Record
__unset() Sets a component property to be null. yii\db\BaseActiveRecord
activeAttributes() Returns the attribute names that are subject to validation in the current scenario. yii\base\Model
addError() Adds a new error to the specified attribute. yii\base\Model
addErrors() Adds a list of errors. yii\base\Model
afterDelete() This method is invoked after deleting a record. yii\db\BaseActiveRecord
afterFind() This method is called when the AR object is created and populated with the query result. lispa\amos\documenti\models\Documenti
afterRefresh() This method is called when the AR object is refreshed. yii\db\BaseActiveRecord
afterSave() Override Required for cache lispa\amos\core\record\Record
afterValidate() This method is invoked after validation ends. yii\base\Model
applySearchFilters() Apply search filtering conditions using above methods lispa\amos\core\record\ContentModel
attachBehavior() Attaches a behavior to this component. yii\base\Component
attachBehaviors() Attaches a list of behaviors to the component. yii\base\Component
attributeHints() Returns the attribute hints. yii\base\Model
attributeLabels() lispa\amos\documenti\models\Documenti
attributes() Returns the list of all attribute names of the model. yii\db\ActiveRecord
baseSearch() Documents base search: all documents matching search parameters and not deleted. lispa\amos\documenti\models\search\DocumentiSearch
basicFind() Base query, it INCLUDE deleted elements lispa\amos\core\record\Record
beforeDelete() Override for demos lispa\amos\core\record\Record
beforeSave() Override for demos lispa\amos\core\record\Record
beforeValidate() This method is invoked before validation starts. lispa\amos\core\record\Record
behaviors() lispa\amos\documenti\models\Documenti
buildQuery() lispa\amos\core\record\ContentModel
canGetProperty() Returns a value indicating whether a property can be read. yii\db\BaseActiveRecord
canSetProperty() Returns a value indicating whether a property can be set. yii\db\BaseActiveRecord
canUseModuleOrder() Check if there is an order variable for the module lispa\amos\core\record\Record
canValidate() lispa\amos\documenti\models\Documenti
className() Returns the fully qualified name of this class. yii\base\Object
clearErrors() Removes errors for all attributes or a single attribute. yii\base\Model
convertToSearchResult() lispa\amos\documenti\models\search\DocumentiSearch
createOrderClause() lispa\amos\notificationmanager\record\NotifyRecordInterface
createValidators() Creates validator objects based on the validation rules specified in rules(). yii\base\Model
delete() Deletes the table row corresponding to this active record. yii\db\ActiveRecord
deleteAll() Deletes rows in the table using the provided conditions. yii\db\ActiveRecord
deleteNewDocumentVersion() lispa\amos\documenti\models\Documenti
deleteThisDocumentAttachmentRows() lispa\amos\documenti\models\Documenti
deleteThisDocumentMainFileRow() lispa\amos\documenti\models\Documenti
detachBehavior() Detaches a behavior from the component. yii\base\Component
detachBehaviorByClassName() This method detach a behavior from the model. lispa\amos\core\record\Record
detachBehaviors() Detaches all behaviors from the component. yii\base\Component
detachBehaviorsOnWhiteList() lispa\amos\core\record\Record
duplicateDocumentAttachments() lispa\amos\documenti\models\Documenti
duplicateDocumentMainFile() lispa\amos\documenti\models\Documenti
ensureBehaviors() Makes sure that the behaviors declared in behaviors() are attached to this component. yii\base\Component
equals() Returns a value indicating whether the given active record is the same as the current one. yii\db\ActiveRecord
extraFields() Returns the list of fields that can be expanded further and returned by toArray(). yii\base\ArrayableTrait
fields() Returns the list of fields that should be returned by default by toArray() when no specific fields are specified. yii\base\ArrayableTrait
find() Creates an yii\db\ActiveQueryInterface instance for query purpose. yii\db\ActiveRecord
findAll() Returns a list of active record models that match the specified primary key value(s) or a set of column values. yii\db\ActiveRecordInterface
findBehaviorByClassName() This method find a behavior from the model. lispa\amos\core\record\Record
findBySql() Creates an yii\db\ActiveQuery instance with a given SQL statement. yii\db\ActiveRecord
findOne() Returns a single active record model instance by a primary key or an array of column values. yii\db\ActiveRecordInterface
formName() Returns the form name that this model class should use. yii\base\Model
generateAttributeLabel() Generates a user friendly attribute label based on the give attribute name. yii\base\Model
getActiveValidators() Returns the validators applicable to the current $scenario. yii\base\Model
getAllChildrens() Search all children recursively lispa\amos\documenti\models\Documenti
getAllDocumentChildrens() Search all document children recursively lispa\amos\documenti\models\Documenti
getAllDocumentVersions() lispa\amos\documenti\models\Documenti
getAllParents() lispa\amos\documenti\models\Documenti
getAttachments() Getter for $this->attachments; lispa\amos\core\record\ContentModel
getAttribute() Returns the named attribute value. yii\db\ActiveRecordInterface
getAttributeHint() Returns the text hint for the specified attribute. yii\db\BaseActiveRecord
getAttributeLabel() Returns the text label for the specified attribute. yii\db\BaseActiveRecord
getAttributes() Returns attribute values. yii\base\Model
getBehavior() Returns the named behavior object. yii\base\Component
getBehaviors() Returns all behaviors attached to this component. yii\base\Component
getCategory() lispa\amos\documenti\models\Documenti
getChildren() lispa\amos\documenti\models\base\Documenti
getCreatedAt() lispa\amos\myactivities\basic\DocumentToValidate
getCreatedUserProfile() lispa\amos\core\record\Record
getCreatorNameSurname() lispa\amos\myactivities\basic\DocumentToValidate
getCwhValidationStatuses() lispa\amos\documenti\models\Documenti
getDb() Returns the database connection used by this AR class. yii\db\ActiveRecord
getDeletedUserProfile() lispa\amos\core\record\Record
getDescription() lispa\amos\documenti\models\Documenti
getDirtyAttributes() Returns the attribute values that have been modified since they are loaded or saved most recently. yii\db\BaseActiveRecord
getDocument() This method is the getter for the document file and returns an attachment File object. lispa\amos\documenti\models\Documenti
getDocumentAttachments() Getter for $this->documentAttachments; lispa\amos\documenti\models\Documenti
getDocumentChildrens() Search all document in the first level lispa\amos\documenti\models\Documenti
getDocumentImage() This method is the getter for the document image and returns an HTML ready to be rendered. lispa\amos\documenti\models\Documenti
getDocumentMainFile() Getter for $this->documentMainFile; lispa\amos\documenti\models\Documenti
getDocumentMainFileUrl() lispa\amos\documenti\models\Documenti
getDocumentUrl() This method is the getter for the document url and web url. lispa\amos\documenti\models\Documenti
getDocumentiCategorie() lispa\amos\documenti\models\base\Documenti
getDraftStatus() lispa\amos\documenti\models\Documenti
getErrors() Returns the errors for all attributes or a single attribute. yii\base\Model
getFirstError() Returns the first error of the specified attribute. yii\base\Model
getFirstErrors() Returns the first error of every attribute in the model. yii\base\Model
getFullViewUrl() lispa\amos\core\interfaces\ViewModelInterface
getGrammar() lispa\amos\documenti\models\Documenti
getGridViewColumns() lispa\amos\documenti\models\Documenti
getIsNewRecord() Returns a value indicating whether the current record is new (not saved in the database). yii\db\ActiveRecordInterface
getIterator() Returns an iterator for traversing the attributes in the model. yii\base\Model
getLastOldDocumentVersion() lispa\amos\documenti\models\Documenti
getMetadataButtonLabelKey() lispa\amos\documenti\models\Documenti
getMetadataButtonMessageKey() lispa\amos\documenti\models\Documenti
getMetadataDescriptionKey() lispa\amos\documenti\models\Documenti
getMetadataLabelKey() lispa\amos\documenti\models\Documenti
getModelImage() This method is the getter for the model image and returns an attachment File object. lispa\amos\documenti\models\Documenti
getModelImageUrl() This method is the getter for the model image url and web url. lispa\amos\documenti\models\Documenti
getNextVersion() lispa\amos\documenti\models\Documenti
getNotifiedUserId() lispa\amos\notificationmanager\record\NotifyRecord
getNotifier() lispa\amos\notificationmanager\record\NotifyRecord
getOldAttribute() Returns the old value of the named attribute. yii\db\BaseActiveRecord
getOldAttributes() Returns the old attribute values. yii\db\BaseActiveRecord
getOldPrimaryKey() Returns the old primary key value(s). yii\db\ActiveRecordInterface
getOrderAttributesLabels() Array of fields => labels for the ORDER form see "_order.php" file lispa\amos\core\record\Record
getParent() lispa\amos\documenti\models\base\Documenti
getPluginWidgetClassname() lispa\amos\documenti\models\Documenti
getPrimaryKey() Returns the primary key value(s). yii\db\ActiveRecordInterface
getPublicatedAt() lispa\amos\documenti\models\Documenti
getPublicatedFrom() lispa\amos\documenti\models\Documenti
getRelatedRecords() Returns all populated related records. yii\db\BaseActiveRecord
getRelation() Returns the relation object with the specified name. yii\db\ActiveRecordInterface
getScenario() Returns the scenario that this model is used in. yii\base\Model
getSearchQuery() Use to add Join condition/add other filtering condition lispa\amos\documenti\models\search\DocumentiSearch
getSearchQueryCwhDisabled() Additional filtering for serach query in case the model is not enabled in cwh or cwh in not enabled Override if necessary lispa\amos\core\record\ContentModel
getSearchString() lispa\amos\myactivities\basic\DocumentToValidate
getShortDescription() lispa\amos\documenti\models\Documenti
getStatsToolbar() lispa\amos\documenti\models\Documenti
getStatusToRenderToHide() lispa\amos\documenti\models\Documenti
getTableSchema() Returns the schema information of the DB table associated with this AR class. yii\db\ActiveRecord
getTitle() lispa\amos\documenti\models\Documenti
getToValidateStatus() lispa\amos\documenti\models\Documenti
getUpdatedAt() lispa\amos\myactivities\basic\DocumentToValidate
getUpdatedUserProfile() lispa\amos\core\record\Record
getValidatedOnce() Return true if model has been validated at least once (if workflow is active) lispa\amos\core\record\ContentModel
getValidatedStatus() lispa\amos\documenti\models\Documenti
getValidatorRole() lispa\amos\documenti\models\Documenti
getValidatorUsersId() Method return user ids of record validators lispa\amos\core\record\Record
getValidators() Returns all the validators declared in rules(). yii\base\Model
getVersionInfo() lispa\amos\documenti\models\Documenti
getVersionParent() lispa\amos\documenti\models\base\Documenti
getViewUrl() lispa\amos\documenti\models\Documenti
getWorkflowStatusLabel() This method return the correct workflow status label. It checks if the workflow behavior is present, then checks if the model has a workflow status and return the correct label. lispa\amos\core\record\Record
getWrappedObject() lispa\amos\myactivities\basic\DocumentToValidate
globalSearch() lispa\amos\core\interfaces\SearchModelInterface
globalSearchTags() This method is called by search module to fetch results matching one or more tags lispa\amos\core\record\Record
hasAttribute() Returns a value indicating whether the record has an attribute with the specified name. yii\db\ActiveRecordInterface
hasErrors() Returns a value indicating whether there is any validation error. yii\base\Model
hasEventHandlers() Returns a value indicating whether there is any handler attached to the named event. yii\base\Component
hasMany() Declares a has-many relation. yii\db\BaseActiveRecord
hasMethod() Returns a value indicating whether a method is defined. yii\base\Component
hasOne() Declares a has-one relation. yii\db\BaseActiveRecord
hasProperty() Returns a value indicating whether a property is defined for this component. yii\base\Component
highlightedAndHomepageDocumentiQuery() lispa\amos\documenti\models\search\DocumentiSearch
homepageDocumentsQuery() lispa\amos\documenti\models\search\DocumentiSearch
init() lispa\amos\documenti\models\search\DocumentiSearch
initOrderVars() Init the order variables from the module config lispa\amos\core\record\Record
insert() Inserts a row into the associated database table using the attribute values of this record. yii\db\ActiveRecord
instantiate() Creates an active record instance. yii\db\BaseActiveRecord
isAttributeActive() Returns a value indicating whether the attribute is active in the current scenario. yii\base\Model
isAttributeChanged() Returns a value indicating whether the named attribute has been changed. yii\db\BaseActiveRecord
isAttributeRequired() Returns a value indicating whether the attribute is required. yii\base\Model
isAttributeSafe() Returns a value indicating whether the attribute is safe for massive assignments. yii\base\Model
isCommentable() In this method must be defined the conditions that say if the model is commentable and then return true or false. lispa\amos\documenti\models\Documenti
isDemo() Check is demo environment lispa\amos\core\record\Record
isEnabledCwh() lispa\amos\core\record\Record
isEnabledModule() lispa\amos\core\record\Record
isEnabledTag() lispa\amos\core\record\Record
isNews() lispa\amos\notificationmanager\record\NotifyRecordInterface
isPrimaryKey() Returns a value indicating whether the given set of attributes represents the primary key for this model yii\db\ActiveRecordInterface
isRelationPopulated() Check whether the named relation has been populated with records. yii\db\BaseActiveRecord
isTransactional() Returns a value indicating whether the specified operation is transactional in the current $scenario. yii\db\ActiveRecord
lastDocuments() Search last documents in validated status, generally the limit is set to 3 (by last documents graphic widget) lispa\amos\documenti\models\search\DocumentiSearch
link() Establishes the relationship between two records. yii\db\ActiveRecordInterface
load() Populates the model with input data. yii\base\Model
loadDefaultValues() Loads default values from database table schema yii\db\ActiveRecord
loadMultiple() Populates a set of models with the data from end user. yii\base\Model
makeNewDocumentVersion() lispa\amos\documenti\models\Documenti
markAttributeDirty() Marks an attribute dirty. yii\db\BaseActiveRecord
off() Detaches an existing event handler from this component. yii\base\Component
offsetExists() Returns whether there is an element at the specified offset. yii\db\BaseActiveRecord
offsetGet() Returns the element at the specified offset. yii\base\Model
offsetSet() Sets the element at the specified offset. yii\base\Model
offsetUnset() Sets the element value at the specified offset to null. yii\db\BaseActiveRecord
on() Attaches an event handler to an event. yii\base\Component
onUnsafeAttribute() This method is invoked when an unsafe attribute is being massively assigned. yii\base\Model
optimisticLock() Returns the name of the column that stores the lock version for implementing optimistic locking. yii\db\BaseActiveRecord
populateRecord() Populates an active record object using a row of data from the database/storage. yii\db\ActiveRecord
populateRelation() Populates the named relation with the related records. yii\db\ActiveRecordInterface
primaryKey() Returns the primary key name(s) for this AR class. yii\db\ActiveRecord
refresh() Repopulates this active record with the latest data. yii\db\BaseActiveRecord
renameFormNamesAndIds() This method return an array of array. The array keys are all the model fields and the values are arrays with "name! and "id" keys modified with the string contained in the param. The return array structure is the following: $newNameAndIds = [ 'FIELD_NAME_1' => [ 'name' => 'NEW_NAME', 'id' => 'NEW_ID' ], . lispa\amos\core\record\Record
representingColumn() lispa\amos\documenti\models\Documenti
rules() lispa\amos\documenti\models\search\DocumentiSearch
safeAttributes() Returns the attribute names that are safe to be massively assigned in the current scenario. yii\base\Model
save() Saves the current record. yii\db\ActiveRecordInterface
scenarios() Returns a list of scenarios and the corresponding active attributes. lispa\amos\documenti\models\Documenti
search() Documents search method lispa\amos\documenti\models\search\DocumentiSearch
searchAdminAll() lispa\amos\documenti\models\search\DocumentiSearch
searchAll() Search all validated content lispa\amos\core\record\ContentModel
searchAllAdmin() Search all contents (any status) for plugin administrator only lispa\amos\core\record\ContentModel
searchAllQuery() This method returns the ActiveQuery object that contains the query to retrieve logged user all contents. lispa\amos\core\interfaces\ContentModelSearchInterface
searchCreatedByMeQuery() This method returns the ActiveQuery object that contains the query to retrieve created by logged user contents. lispa\amos\core\interfaces\ContentModelSearchInterface
searchDefaultOrder() This method define the search default order. lispa\amos\documenti\models\search\DocumentiSearch
searchFieldsGlobalSearch() lispa\amos\documenti\models\search\DocumentiSearch
searchFieldsGreaterEqual() Array of fields to search with >= condition in search method lispa\amos\core\record\ContentModel
searchFieldsLessEqual() Array of fields to search with <= condition in search method lispa\amos\core\record\ContentModel
searchFieldsLike() lispa\amos\documenti\models\search\DocumentiSearch
searchFieldsMatch() lispa\amos\documenti\models\search\DocumentiSearch
searchHighlightedAndHomepageDocumenti() Search method useful to retrieve documents in validated status with both flags primo_piano and in_evidenza true lispa\amos\documenti\models\search\DocumentiSearch
searchHomepageDocuments() Search method useful to retrieve documents in validated status with flag primo_piano = true lispa\amos\documenti\models\search\DocumentiSearch
searchOwn() Search the Content created by the logged user lispa\amos\core\record\ContentModel
searchOwnDocuments() Search the Documents created by the logged user lispa\amos\documenti\models\search\DocumentiSearch
searchOwnInterest() Search method useful to retrieve all validated documenti (based on publication rule and visibility). lispa\amos\documenti\models\search\DocumentiSearch
searchOwnInterestsQuery() This method returns the ActiveQuery object that contains the query to retrieve logged user own interest contents. lispa\amos\core\interfaces\ContentModelSearchInterface
searchToValidate() Search content to validate based on cwh rules if cwh is active, all content in 'to validate status' otherwise lispa\amos\core\record\ContentModel
searchToValidateDocuments() Search documents to validate based on cwh rules if cwh is active, all documents in 'to validate status' otherwise lispa\amos\documenti\models\search\DocumentiSearch
searchToValidateQuery() This method returns the ActiveQuery object that contains the query to retrieve logged user to validate contents. lispa\amos\core\interfaces\ContentModelSearchInterface
searchVersions() lispa\amos\documenti\models\search\DocumentiSearch
sendNotification() lispa\amos\notificationmanager\record\NotifyRecordInterface
setAttachments() lispa\amos\core\record\ContentModel
setAttribute() Sets the named attribute value. yii\db\ActiveRecordInterface
setAttributes() Sets the attribute values in a massive way. yii\base\Model
setDetailScenario() lispa\amos\documenti\models\Documenti
setDocumentAttachments() lispa\amos\documenti\models\Documenti
setDocumentMainFile() lispa\amos\documenti\models\Documenti
setIsNewRecord() Sets the value indicating whether the record is new. yii\db\BaseActiveRecord
setNotifier() lispa\amos\notificationmanager\record\NotifyRecord
setOldAttribute() Sets the old value of the named attribute. yii\db\BaseActiveRecord
setOldAttributes() Sets the old attribute values. yii\db\BaseActiveRecord
setOrderAttribute() Set order field lispa\amos\core\record\Record
setOrderAttributes() Set the list of fields order for this module lispa\amos\core\record\Record
setOrderType() Set order type: ascending (SORT_ASC), descending (SORT_DESC) lispa\amos\core\record\Record
setOrderVars() Identifies the sort fields lispa\amos\core\record\Record
setScenario() Sets the scenario for the model. yii\base\Model
tableName() Declares the name of the database table associated with this AR class. yii\db\ActiveRecord
toArray() Converts the model into an array. yii\base\ArrayableTrait
toStringWithCharLimit() lispa\amos\core\record\Record
transactions() Declares which DB operations should be performed within a transaction in different scenarios. yii\db\ActiveRecord
trigger() Triggers an event. yii\base\Component
unlink() Destroys the relationship between two records. yii\db\ActiveRecordInterface
unlinkAll() Destroys the relationship in current model. yii\db\BaseActiveRecord
update() Saves the changes to this active record into the associated database table. yii\db\ActiveRecord
updateAll() Updates the whole table using the provided attribute values and conditions. yii\db\ActiveRecord
updateAllCounters() Updates the whole table using the provided counter changes and conditions. yii\db\ActiveRecord
updateAttributes() Updates the specified attributes. yii\db\BaseActiveRecord
updateCounters() Updates one or several counter columns for the current AR object. yii\db\BaseActiveRecord
validate() Performs the data validation. yii\base\Model
validateMultiple() Validates multiple models. yii\base\Model
validazioneAbilitata() Ritorna solamente $this. lispa\amos\core\record\ContentModel

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
__shortText() Parse string and return limited one lispa\amos\core\record\Record
createRelationQuery() Creates a query instance for has-one or has-many relation. yii\db\BaseActiveRecord
deleteInternal() Deletes an ActiveRecord without considering transaction. yii\db\ActiveRecord
findByCondition() Finds ActiveRecord instance(s) by the given condition. yii\db\ActiveRecord
insertInternal() Inserts an ActiveRecord into DB without considering transaction. yii\db\ActiveRecord
resolveFields() Determines which fields can be returned by toArray(). yii\base\ArrayableTrait
switchOffNotifications() Switch off notifications lispa\amos\notificationmanager\record\NotifyRecord
updateInternal() yii\db\BaseActiveRecord

Events

Hide inherited events

EventTypeDescriptionDefined By
EVENT_AFTER_DELETE yii\base\Event An event that is triggered after a record is deleted. yii\db\BaseActiveRecord
EVENT_AFTER_FIND yii\base\Event An event that is triggered after the record is created and populated with query result. yii\db\BaseActiveRecord
EVENT_AFTER_INSERT yii\db\AfterSaveEvent An event that is triggered after a record is inserted. yii\db\BaseActiveRecord
EVENT_AFTER_REFRESH yii\base\Event An event that is triggered after a record is refreshed. (available since version 2.0.8) yii\db\BaseActiveRecord
EVENT_AFTER_UPDATE yii\db\AfterSaveEvent An event that is triggered after a record is updated. yii\db\BaseActiveRecord
EVENT_AFTER_VALIDATE yii\base\Event An event raised at the end of validate() yii\base\Model
EVENT_BEFORE_DELETE yii\base\ModelEvent An event that is triggered before deleting a record. yii\db\BaseActiveRecord
EVENT_BEFORE_INSERT yii\base\ModelEvent An event that is triggered before inserting a record. yii\db\BaseActiveRecord
EVENT_BEFORE_UPDATE yii\base\ModelEvent An event that is triggered before updating a record. yii\db\BaseActiveRecord
EVENT_BEFORE_VALIDATE yii\base\ModelEvent An event raised at the beginning of validate(). yii\base\Model
EVENT_INIT yii\base\Event An event that is triggered when the record is initialized via init(). yii\db\BaseActiveRecord

Constants

Hide inherited constants

ConstantValueDescriptionDefined By
DOCUMENTI_WORKFLOW 'DocumentiWorkflow' lispa\amos\documenti\models\Documenti
DOCUMENTI_WORKFLOW_STATUS_BOZZA 'DocumentiWorkflow/BOZZA' lispa\amos\documenti\models\Documenti
DOCUMENTI_WORKFLOW_STATUS_DAVALIDARE 'DocumentiWorkflow/DAVALIDARE' lispa\amos\documenti\models\Documenti
DOCUMENTI_WORKFLOW_STATUS_NONVALIDATO 'DocumentiWorkflow/NONVALIDATO' lispa\amos\documenti\models\Documenti
DOCUMENTI_WORKFLOW_STATUS_VALIDATO 'DocumentiWorkflow/VALIDATO' lispa\amos\documenti\models\Documenti
IS_DOCUMENT 0 lispa\amos\documenti\models\Documenti
IS_FOLDER 1 lispa\amos\documenti\models\Documenti
OP_ALL 7 All three operations: insert, update, delete. This is a shortcut of the expression: OP_INSERT | OP_UPDATE | OP_DELETE. yii\db\ActiveRecord
OP_DELETE 4 The delete operation. This is mainly used when overriding transactions() to specify which operations are transactional. yii\db\ActiveRecord
OP_INSERT 1 The insert operation. This is mainly used when overriding transactions() to specify which operations are transactional. yii\db\ActiveRecord
OP_UPDATE 2 The update operation. This is mainly used when overriding transactions() to specify which operations are transactional. yii\db\ActiveRecord
SCENARIO_CREATE 'document_create' Create Document scenario lispa\amos\documenti\models\Documenti
SCENARIO_CREATE_HIDE_PUBBLICATION_DATE 'scenario_create_hide_pubblication_date' lispa\amos\documenti\models\Documenti
SCENARIO_DEFAULT 'default' The name of the default scenario. yii\base\Model
SCENARIO_DETAILS 'scenario_details' lispa\amos\documenti\models\Documenti
SCENARIO_DETAILS_HIDE_PUBBLICATION_DATE 'scenario_details_hide_pubblication_date' Secenarios for hide pubblication date lispa\amos\documenti\models\Documenti
SCENARIO_FAKE_REQUIRED 'scenario_fake_required' lispa\amos\core\record\Record
SCENARIO_FOLDER 'scenario_folder' lispa\amos\documenti\models\Documenti
SCENARIO_INTRODUCTION 'scenario_introduction' All the scenarios listed below are for the wizard. lispa\amos\documenti\models\Documenti
SCENARIO_PUBLICATION 'scenario_publication' lispa\amos\documenti\models\Documenti
SCENARIO_SUMMARY 'scenario_summary' lispa\amos\documenti\models\Documenti
SCENARIO_UPDATE 'document_update' lispa\amos\documenti\models\Documenti
SCENARIO_UPDATE_HIDE_PUBBLICATION_DATE 'scenario_update_hide_pubblication_date' lispa\amos\documenti\models\Documenti

Property Details

$createdAt public read-only property
public string getCreatedAt ( )
$creatorNameSurname public read-only property
$searchString public read-only property
public void getSearchString ( )
$updatedAt public read-only property
public string getUpdatedAt ( )
$wrappedObject public read-only property

Method Details

getCreatedAt() public method

public string getCreatedAt ( )
getCreatorNameSurname() public method

public string getCreatorNameSurname ( )
getSearchString() public method

public void getSearchString ( )
getUpdatedAt() public method

public string getUpdatedAt ( )
getWrappedObject() public method

public lispa\amos\documenti\models\Documenti getWrappedObject ( )