Abstract Class humhub\modules\user\grid\BaseColumn

Inheritancehumhub\modules\user\grid\BaseColumn » yii\grid\DataColumn
Subclasseshumhub\modules\user\grid\DisplayNameColumn, humhub\modules\user\grid\ImageColumn
Available since version1.3

BaseColumn for user grid fields

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$userAttribute string|null Name of user attribute humhub\modules\user\grid\BaseColumn

Public Methods

Hide inherited methods

MethodDescriptionDefined By
getUser() Returns the user record humhub\modules\user\grid\BaseColumn

Property Details

$userAttribute public property

Name of user attribute

public string|null $userAttribute null

Method Details

getUser() public method

Returns the user record

public humhub\modules\user\models\User getUser ( \yii\db\ActiveRecord $record )
$record \yii\db\ActiveRecord
return humhub\modules\user\models\User

The user model