Definition at line 284 of file page.inc.
◆ date()
PageSearchResult::date |
( |
| ) |
|
◆ format()
PageSearchResult::format |
( |
|
$format | ) |
|
◆ get()
PageSearchResult::get |
( |
|
$field | ) |
|
◆ getPrimaryKey()
PageSearchResult::getPrimaryKey |
( |
| ) |
|
◆ PageSearchResult()
PageSearchResult::PageSearchResult |
( |
|
$item | ) |
|
◆ prettifyClassName()
PageSearchResult::prettifyClassName |
( |
|
$plural = false | ) |
|
◆ relevance()
PageSearchResult::relevance |
( |
| ) |
|
◆ summary()
PageSearchResult::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 313 of file page.inc.
315 $img = $this->
formatIcon(
'/fakoli/richtext/images/hyperlink.gif',
'cms_page');
319 return $this->item->format(
"{$img}<h4>{page_title}</h4><p>{description:300}</p><a href='{identifier}'>Read More</a>");
324 return $this->item->format(
"{$img}<h4><a href='{identifier}'>{page_title}</a></h4>");
static getValue($component, $name)
Retrieve the value of the specified Setting.
◆ title()
PageSearchResult::title |
( |
| ) |
|
◆ $item
The documentation for this class was generated from the following file:
- C:/code/cms.sonjara.com/cms/components/page/datamodel/page.inc