예제 #1
0
 /**
  * @inheritdoc
  */
 public function disableContentContainer(ContentContainerActiveRecord $container)
 {
     parent::disableContentContainer($container);
     foreach (CalendarEntry::find()->contentContainer($container)->all() as $entry) {
         $entry->delete();
     }
 }
예제 #2
0
 /**
  * @inheritdoc
  */
 public function disableContentContainer(ContentContainerActiveRecord $container)
 {
     parent::disableContentContainer($container);
     foreach (WikiPage::find()->contentContainer($container)->all() as $page) {
         $page->delete();
     }
 }
예제 #3
0
 /**
  * @inheritdoc
  */
 public function disable()
 {
     foreach (DropboxPost::find()->all() as $post) {
         $post->delete();
     }
     parent::disable();
 }
예제 #4
0
 /**
  * @inheritdoc
  */
 public function disableContentContainer(ContentContainerActiveRecord $container)
 {
     parent::disableContentContainer($container);
     foreach (Poll::find()->contentContainer($container)->all() as $poll) {
         $poll->delete();
     }
 }
예제 #5
0
 /**
  * @inheritdoc
  */
 public function disableContentContainer(ContentContainerActiveRecord $container)
 {
     parent::disableContentContainer($container);
     foreach (Task::find()->contentContainer($container)->all() as $task) {
         $task->delete();
     }
 }
예제 #6
0
 /**
  * @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();
     }
 }