Class humhub\modules\content\models\ContentTagRelation

Inheritancehumhub\modules\content\models\ContentTagRelation » humhub\components\ActiveRecord » yii\db\ActiveRecord
ImplementsSerializable
Available since version1.2.2

Class ContentTagRelation

Method Details

__construct() public method

ContentTagRelation constructor.

public void __construct ( $content = [], $tag null, $config = [] )
$content array
$tag humhub\modules\content\models\ContentTag|null
$config array
findBy() public static method

public static void findBy ( $contentId, $tagId )
$contentId
$tagId
getContent() public method

public void getContent ( )
getTag() public method

public void getTag ( )
setContent() public method

public void setContent ( humhub\modules\content\models\Content $content )
$content
setTag() public method

public void setTag ( humhub\modules\content\models\ContentTag $tag )
$tag
tableName() public static method

public static void tableName ( )