private function getStreamActionIds($container, $limit = 4)
 {
     $action = new ContentContainerStream('stream', Yii::$app->controller, ['contentContainer' => $container, 'limit' => $limit]);
     $action->contentContainer = $container;
     $action->limit = $limit;
     $wallEntries = $action->getWallEntries();
     $wallEntryIds = array_map(create_function('$entry', 'return $entry->id;'), $wallEntries);
     return $wallEntryIds;
 }
 /**
  * @inheritdoc
  */
 public function actions()
 {
     return array('stream' => array('class' => \humhub\modules\content\components\actions\ContentContainerStream::className(), 'contentContainer' => $this->getSpace()));
 }
 /**
  * @inheritdoc
  */
 public function actions()
 {
     return array('stream' => array('class' => \humhub\modules\content\components\actions\ContentContainerStream::className(), 'mode' => \humhub\modules\content\components\actions\ContentContainerStream::MODE_NORMAL, 'contentContainer' => $this->contentContainer));
 }