public function attributeEditable($attribute, $model = null)
{
if ($model === null) {
$model = $this->modelClass;
}
$code = $this->callProviderQueue(__FUNCTION__, $attribute, $model, $this);
if ($code !== null) {
Yii::trace("found provider for '{$attribute}'", __METHOD__);
return $code;
}
$column = $this->getColumnByAttribute($attribute);
if (!$column) {
return;
} else {
return $this->shorthandAttributeFormat($attribute, $model);
}
// don't call parent anymore
}