/** * Changes clip's 'featured' status * * @param int $id * @param string $status * @return boolean */ public function updateClipFeaturedStatus($id, $status) { $clip = $this->clipDao->findById($id); if ($clip) { $clipFeaturedService = VIDEO_BOL_ClipFeaturedService::getInstance(); if ($status == 'mark_featured') { return $clipFeaturedService->markFeatured($id); } else { return $clipFeaturedService->markUnfeatured($id); } } return false; }