/**
  * Gets the properties
  * @return \ride\web\cms\orm\ContentProperties
  */
 protected function getContentProperties()
 {
     $contentProperties = new ContentProperties();
     $contentProperties->getFromWidgetProperties($this->properties, $this->locale);
     return $contentProperties;
 }
 /**
  * Loads the properties of the detail widget for the provided site and locale
  * @param string $index The key to store the values
  * @param string $site Id of the site
  * @param string $locale Code of the current locale
  * @return null
  */
 protected function parseArguments($index, $site, $locale)
 {
     $properties = new ContentProperties();
     $properties->getFromWidgetProperties($this->properties, $locale);
     $this->reflectionHelper = $this->model->getReflectionHelper();
     $this->arguments[$index] = array(ContentProperties::PROPERTY_RECURSIVE_DEPTH => $properties->getRecursiveDepth(), ContentProperties::PROPERTY_INCLUDE_UNLOCALIZED => $properties->getIncludeUnlocalized(), ContentProperties::PROPERTY_ID_FIELD => $properties->getIdField(), ContentProperties::PROPERTY_FORMAT_TITLE => $properties->getContentTitleFormat(), ContentProperties::PROPERTY_FORMAT_TEASER => $properties->getContentTeaserFormat(), ContentProperties::PROPERTY_FORMAT_IMAGE => $properties->getContentImageFormat(), ContentProperties::PROPERTY_FORMAT_DATE => $properties->getContentDateFormat(), self::PROPERTY_URL => rtrim($this->routerService->getUrl($this->baseScript, 'cms.front.' . $site . '.' . $this->node->getId() . '.' . $locale), '/') . '/');
 }