Abstract Class humhub\modules\admin\grid\SpaceBaseColumn

Inheritancehumhub\modules\admin\grid\SpaceBaseColumn » yii\grid\DataColumn
Subclasseshumhub\modules\admin\grid\SpaceImageColumn, humhub\modules\admin\grid\SpaceTitleColumn
Available since version1.3

BaseColumn for space grid fields

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$spaceAttribute string|null Name of space model attribute humhub\modules\admin\grid\SpaceBaseColumn

Public Methods

Hide inherited methods

MethodDescriptionDefined By
getSpace() Returns the space record humhub\modules\admin\grid\SpaceBaseColumn

Property Details

$spaceAttribute public property

Name of space model attribute

public string|null $spaceAttribute null

Method Details

getSpace() public method

Returns the space record

public humhub\modules\space\models\Space getSpace ( \yii\db\ActiveRecord $record )
$record \yii\db\ActiveRecord
return humhub\modules\space\models\Space

The space model