/**
  * Parse the form values to data of the component
  * @param array $data
  * @return mixed $data
  */
 public function parseGetData(array $data)
 {
     $result = parent::parseGetData($data);
     $result->setEntryId($data['entry']);
     $result->setTitle($data['title']);
     $result->setBreadcrumb($data['breadcrumb']);
     return $result;
 }
 /**
  * Parse the form values to data of the component
  * @param array $data
  * @return mixed $data
  */
 public function parseGetData(array $data)
 {
     $result = parent::parseGetData($data);
     $result->setIdField($data['field-id']);
     $result->setTitle($data['title']);
     $result->setIsPrimaryMapper($data['primary']);
     $result->setMetaOg($data['meta-og']);
     $result->setOgTitleFormat($data['format-title-og']);
     $result->setOgTeaserFormat($data['format-teaser-og']);
     $result->setOgImageFormat($data['format-image-og']);
     return $result;
 }
 /**
  * Parse the form values to data of the component
  * @param array $data
  * @return mixed $data
  */
 public function parseGetData(array $data)
 {
     $result = parent::parseGetData($data);
     $result->setHasSearch($data['search']);
     $result->setCondition($data['condition']);
     $result->setFilters($data['filters']);
     $result->setOrder($data['order']);
     $result->setIsPaginationEnabled($data['pagination-enable']);
     $result->setPaginationRows($data['pagination-rows']);
     $result->setPaginationOffset($data['pagination-offset']);
     $result->setWillShowPagination($data['pagination-show']);
     $result->setUseAjaxForPagination($data['pagination-ajax']);
     $result->setContentMapper($data['content-mapper']);
     $result->setTitle($data['title']);
     $result->setHasEmptyResultView($data['empty-result-view']);
     $result->setEmptyResultMessage($data['empty-result-message']);
     $result->setWillShowMoreLink($data['more-show']);
     $result->setMoreLabel($data['more-label']);
     $result->setMoreNode($data['more-node']);
     if ($data['parameters-type'] == self::PARAMETERS_TYPE_NAMED) {
         $parameters = $data['parameters-name'];
     } elseif ($data['parameters-type'] == self::PARAMETERS_TYPE_NUMERIC) {
         $parameters = $data['parameters-number'];
     } else {
         $parameters = null;
     }
     $result->setParameters($parameters);
     return $result;
 }