Definition at line 273 of file blog.inc.
◆ BlogSearchResult()
BlogSearchResult::BlogSearchResult |
( |
|
$item | ) |
|
◆ date()
BlogSearchResult::date |
( |
| ) |
|
◆ format()
BlogSearchResult::format |
( |
|
$format | ) |
|
◆ get()
BlogSearchResult::get |
( |
|
$field | ) |
|
◆ getPrimaryKey()
BlogSearchResult::getPrimaryKey |
( |
| ) |
|
◆ prettifyClassName()
BlogSearchResult::prettifyClassName |
( |
|
$plural = false | ) |
|
◆ relevance()
BlogSearchResult::relevance |
( |
| ) |
|
◆ summary()
BlogSearchResult::summary |
( |
| ) |
|
Display the item title and any other essential details for the item such as author and a create date.
If Application Settings is set to show text fragment, display the teaser and a Read More link; otherwise, put the link to the full item' details directly on the title.
Reimplemented from AbstractSearchResult.
Definition at line 302 of file blog.inc.
306 return $this->item->format(
"<h4>{title}</h4><p>{description:200}</p><a href='{getURL()}'>Read More</a>");
310 return $this->item->format(
"<h4><a href='{getURL()}'>{title}</a></h4>");
static getValue($component, $name)
Retrieve the value of the specified Setting.
◆ title()
BlogSearchResult::title |
( |
| ) |
|
◆ $item
The documentation for this class was generated from the following file:
- C:/code/cms.sonjara.com/cms/components/blog/datamodel/blog.inc