public function visitPlainObject(ShopgateContainer $c) { // get properties $properties = $c->buildProperties(); // iterate the simple variables $properties = $this->iterateSimpleProperties($properties); // set last value to converted array $this->array = $properties; }
public function buildProperties() { $properties = parent::buildProperties(); // append the file paths $properties['items_csv_path'] = $this->getItemsCsvPath(); $properties['categories_csv_path'] = $this->getCategoriesCsvPath(); $properties['reviews_csv_path'] = $this->getReviewsCsvPath(); $properties['pages_csv_path'] = $this->getPagesCsvPath(); $properties['access_log_path'] = $this->getAccessLogPath(); $properties['request_log_path'] = $this->getRequestLogPath(); $properties['error_log_path'] = $this->getErrorLogPath(); $properties['debug_log_path'] = $this->getDebugLogPath(); $properties['redirect_keyword_cache_path'] = $this->getRedirectKeywordCachePath(); $properties['redirect_skip_keyword_cache_path'] = $this->getRedirectSkipKeywordCachePath(); return $properties; }