[['sort'], 'default', 'value'=>function($model){
$count = ImageManager::find()->andWhere(['class'=>$model->class()])->count();
return ($count > 0)?$count++:0;
}],
return ($count > 0)?$count++:0;
}],
Exception 'Error' with message 'Class 'backend\controllers\ImageManager' not found'
$model = new ImageManager();
Array
(
[file_id] => 0
[ImageManager] => Array
(
[class] => Blog
[item_id] => 1
)
)
<div class="aside bgAside" style="width: 685px;
<div class="separator" data-lineage="interlude"></div>