You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
namespace frontend\models\search;
use frontend\models\ObjectasObjectModel;
use yii\helpers\ArrayHelper;
classObjectextendsObjectModel
{
public$pStatus;
publicfunctionattributeLabels()
{
returnArrayHelper::merge(
parent::attributeLabels(),
[
'project_date' => 'Дата проекта, не моложе',
'pStatus' => 'Статус проекта',
]
);
}
}
// on view
# P Status //must be 'Статус проекта',
Attribute pStatus uses only in frontend\models\search\Object. Because it's set in frontend\models\Object not irrationally. But renderHeaderCellContent uses only attributeLabels from parent model .
It may be worth it to fix?
The text was updated successfully, but these errors were encountered:
Attribute
pStatus
uses only infrontend\models\search\Object
. Because it's set infrontend\models\Object
not irrationally. But renderHeaderCellContent uses only attributeLabels from parent model .It may be worth it to fix?
The text was updated successfully, but these errors were encountered: