/** * Gets a content properties object for the submitted form * @return joppa\content\model\ContentProperties */ public function getContentProperties() { $properties = parent::getContentProperties(); $properties->setCondition($this->getValue(self::FIELD_CONDITION_EXPRESSION)); $properties->setOrder($this->getValue(self::FIELD_ORDER_EXPRESSION)); $properties->setIsPaginationEnabled($this->getValue(self::FIELD_PAGINATION_ENABLE)); $properties->setPaginationRows($this->getValue(self::FIELD_PAGINATION_ROWS)); $properties->setPaginationOffset($this->getValue(self::FIELD_PAGINATION_OFFSET)); $properties->setContentTitleFormat($this->getValue(self::FIELD_FORMAT_TITLE)); $properties->setContentTeaserFormat($this->getValue(self::FIELD_FORMAT_TEASER)); $properties->setTitle($this->getValue(self::FIELD_TITLE)); $properties->setEmptyResultMessage($this->getValue(self::FIELD_EMPTY_RESULT_MESSAGE)); $properties->setWillShowPagination($this->getValue(self::FIELD_PAGINATION_SHOW)); $properties->setUseAjaxForPagination($this->getValue(self::FIELD_PAGINATION_AJAX)); $properties->setWillShowMoreLink($this->getValue(self::FIELD_MORE_SHOW)); $properties->setMoreLabel($this->getValue(self::FIELD_MORE_LABEL)); $properties->setMoreNode($this->getValue(self::FIELD_MORE_NODE)); $properties->setParametersType($this->getValue(self::FIELD_PARAMETERS_TYPE)); return $properties; }
/** * Gets a content properties object for the submitted form * @return joppa\content\model\ContentProperties */ public function getContentProperties() { $properties = parent::getContentProperties(); $properties->setParameterId($this->getValue(self::FIELD_PARAMETER_ID)); return $properties; }