Esempio n. 1
0
 /**
  * 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 = VWLS_BOL_ClipFeaturedService::getInstance();
         if ($status == 'mark_featured') {
             //                return $clipFeaturedService->markFeatured($id);
         } else {
             //                return $clipFeaturedService->markUnfeatured($id);
         }
     }
     return false;
 }