public function process(array $scriptProperties = array()) { $placeholders = parent::process($scriptProperties); $this->resourceArray['published'] = 0; $this->getDefaultContainerSettings(); return $placeholders; }
/** * Custom logic code here for setting placeholders, etc * @param array $scriptProperties * @return mixed */ public function process(array $scriptProperties = array()) { $this->scriptProperties['template'] = $this->modx->getOption('ms2_template_product_default', null, $this->modx->getOption('default_template', null, 1), true); return parent::process($scriptProperties); }
public function process(array $scriptProperties = array()) { $placeholders = parent::process($scriptProperties); $this->resourceArray['responseCode'] = $this->resource->getProperty('responseCode', 'core', 'HTTP/1.1 301 Moved Permanently'); return $placeholders; }