/**
  * Render assets by section (used in VideoHomePageController)
  * @param VideoPageToolProgram $program
  * @param string $section [featured/category/fan]
  * @param array $thumbOptions An optional array of thumbnail options to override the defaults for the given asset.
  * @return array
  */
 public function renderAssetsBySection($program, $section, $thumbOptions = array())
 {
     $data = array();
     if ($program instanceof VideoPageToolProgram) {
         $assets = $program->getAssetsBySection($section);
         foreach ($assets as $asset) {
             /** @var VideoPageToolAsset $asset */
             $data[] = $asset->getAssetData($thumbOptions);
         }
     }
     return $data;
 }