Пример #1
0
 public function onContentPrepare(&$article, &$context)
 {
     $this->params->message = '';
     $area = isset($article->created_by) ? 'articles' : 'other';
     nnFrameworkHelper::processArticle($article, $context, $this, 'processModules', array($area));
 }
Пример #2
0
 public function onContentPrepare(&$article, &$context)
 {
     nnFrameworkHelper::processArticle($article, $context, $this, 'replaceTags');
 }