mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 14:18:27 +01:00
Added storageManagerClass doc property
This commit is contained in:
parent
eb65095c78
commit
019ab911d4
@ -33,6 +33,7 @@ use humhub\modules\content\components\ContentAddonActiveRecord;
|
||||
* @property integer $show_in_stream
|
||||
*
|
||||
* @property \humhub\modules\user\models\User $createdBy
|
||||
* @property \humhub\modules\file\components\StorageManager $store
|
||||
*
|
||||
* Following properties are optional and for module depended use:
|
||||
* - title
|
||||
@ -187,7 +188,7 @@ class File extends FileCompat
|
||||
$this->_store = Yii::createObject(Yii::$app->getModule('file')->storageManagerClass);
|
||||
$this->_store->setFile($this);
|
||||
}
|
||||
|
||||
|
||||
return $this->_store;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user