Class humhub\modules\content\helpers\ContentContainerHelper

Inheritancehumhub\modules\content\helpers\ContentContainerHelper
Available since version1.3

Helper class for ContentContainer related problems.

Method Details

getCurrent() public static method

public static humhub\modules\content\components\ContentContainerActiveRecord|null getCurrent ( $type null )
$type string|null

Type filter available since 1.4

return humhub\modules\content\components\ContentContainerActiveRecord|null

Currently active container from app context.