CMS  Version 3.9
DocumentSolrAdapter Class Reference

Public Member Functions

 getClass ()
 
 getFilter ()
 
 getTitleFormat ()
 
 getContentFormat ()
 
 getAuthorFormat ()
 
 getKeywordFormat ()
 
 wrap ($item)
 

Detailed Description

Definition at line 306 of file document.inc.

Member Function Documentation

◆ getAuthorFormat()

DocumentSolrAdapter::getAuthorFormat ( )

Definition at line 329 of file document.inc.

330  {
331  return "{author:xml}";
332  }

◆ getClass()

DocumentSolrAdapter::getClass ( )

Definition at line 309 of file document.inc.

310  {
311  return Document;
312  }
This class maps the publication table.
Definition: document.inc:43

◆ getContentFormat()

DocumentSolrAdapter::getContentFormat ( )

Definition at line 324 of file document.inc.

325  {
326  return "";
327  }

◆ getFilter()

DocumentSolrAdapter::getFilter ( )

Definition at line 314 of file document.inc.

315  {
316  return "WHERE public=1";
317  }

◆ getKeywordFormat()

DocumentSolrAdapter::getKeywordFormat ( )

Definition at line 334 of file document.inc.

335  {
336  return "{keywords:xml}";
337  }

◆ getTitleFormat()

DocumentSolrAdapter::getTitleFormat ( )

Definition at line 319 of file document.inc.

320  {
321  return "{title:xml}";
322  }

◆ wrap()

DocumentSolrAdapter::wrap (   $item)

Definition at line 339 of file document.inc.

340  {
341  return new DocumentSearchResult($item);
342  }

The documentation for this class was generated from the following file: