예제 #1
0
 public function process(array $scriptProperties = array())
 {
     $placeholders = parent::process($scriptProperties);
     $this->getTagsTV();
     $settings = $this->resource->getContainerSettings();
     $this->resourceArray['commentsEnabled'] = $this->modx->getOption('commentsEnabled', $settings, true);
     $this->resourceArray['richtext'] = $this->modx->getOption('articlesRichtext', $settings, 1);
     return $placeholders;
 }
예제 #2
0
 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;
 }