/**
  * Get default values by section
  * @param string $section [featured/category/fan]
  * @param integer $requiredRows
  * @return array
  */
 public function getDefaultValuesBySection($section, $requiredRows = 0)
 {
     $className = VideoPageToolAsset::getClassNameFromSection($section);
     $values = array();
     if (empty($requiredRows)) {
         $requiredRows = $this->getRequiredRowsMax($section);
     }
     for ($i = 1; $i <= $requiredRows; $i++) {
         $values[$i] = $className::getDefaultAssetData();
     }
     return $values;
 }
 /**
  * Format form data
  * @param string $section
  * @param integer $requiredRows
  * @param array $formValues
  * @param string $errMsg
  * @return array
  */
 public function formatFormData($section, $requiredRows, $formValues, &$errMsg)
 {
     $className = VideoPageToolAsset::getClassNameFromSection($section);
     $data = $className::formatFormData($requiredRows, $formValues, $errMsg);
     return $data;
 }