Пример #1
0
 /**
  *	See base class for information
  */
 public function getIndexableFromNode($node, $include_attachments = true)
 {
     $indexableContent = parent::getIndexableFromNode($node, $include_attachments);
     if (!empty($node['description'])) {
         $indexableContent['description'] = $node['description'];
     }
     return $indexableContent;
 }
Пример #2
0
 public function getIndexableFromNode($content, $include_attachments = true)
 {
     $indexableContent = parent::getIndexableFromNode($content, $include_attachments);
     if (!empty($content['rawtext'])) {
         $indexableContent['rawtext'] = $content['rawtext'];
     }
     return $indexableContent;
 }