/** * @inheritdoc */ public function disableContentContainer(ContentContainerActiveRecord $container) { parent::disableContentContainer($container); foreach (CalendarEntry::find()->contentContainer($container)->all() as $entry) { $entry->delete(); } }
/** * @inheritdoc */ public function disableContentContainer(ContentContainerActiveRecord $container) { parent::disableContentContainer($container); foreach (WikiPage::find()->contentContainer($container)->all() as $page) { $page->delete(); } }
/** * @inheritdoc */ public function disable() { foreach (DropboxPost::find()->all() as $post) { $post->delete(); } parent::disable(); }
/** * @inheritdoc */ public function disableContentContainer(ContentContainerActiveRecord $container) { parent::disableContentContainer($container); foreach (Poll::find()->contentContainer($container)->all() as $poll) { $poll->delete(); } }
/** * @inheritdoc */ public function disableContentContainer(ContentContainerActiveRecord $container) { parent::disableContentContainer($container); foreach (Task::find()->contentContainer($container)->all() as $task) { $task->delete(); } }
/** * @inheritdoc */ public function disableContentContainer(ContentContainerActiveRecord $container) { parent::disableContentContainer($container); foreach (Category::find()->contentContainer($container)->all() as $content) { $content->delete(); } foreach (Link::find()->contentContainer($container)->all() as $content) { $content->delete(); } }