HumHub Documentation (unofficial)

behaviors

Table of Contents

Classes

AttributeBehavior
AttributeBehavior automatically assigns a specified value to one or multiple attributes of an ActiveRecord object when certain events happen.
AttributesBehavior
AttributesBehavior automatically assigns values specified to one or multiple attributes of an ActiveRecord object when certain events happen.
AttributeTypecastBehavior
AttributeTypecastBehavior provides an ability of automatic model attribute typecasting.
BlameableBehavior
BlameableBehavior automatically fills the specified attributes with the current user ID.
CacheableWidgetBehavior
Cacheable widget behavior automatically caches widget contents according to duration and dependencies specified.
OptimisticLockBehavior
OptimisticLockBehavior automatically upgrades a model's lock version using the column name returned by [[\yii\db\BaseActiveRecord::optimisticLock()|optimisticLock()]].
SluggableBehavior
SluggableBehavior automatically fills the specified attribute with a value that can be used a slug in a URL.
TimestampBehavior
TimestampBehavior automatically fills the specified attributes with the current timestamp.

        
On this page

Search results