Searchable
trait Searchable
Searchable trait simplifies the handling of the display of search results on a model
Methods
string
getSearchTitle()
Determine the search title for an item
string
getSearchType()
Determine the model type
DateTime
getSearchDate()
Determine the display time
string
getSearchPreview()
Determine the preview text
string
getSearchUrl()
Determine the canonical url
mixed
getSearchPreviewUrl()
Determine the preview image, if there is one FALSE otherwise
Details
at line 17
string
getSearchTitle()
Determine the search title for an item
at line 40
string
getSearchType()
Determine the model type
at line 58
DateTime
getSearchDate()
Determine the display time
at line 81
string
getSearchPreview()
Determine the preview text
at line 108
string
getSearchUrl()
Determine the canonical url
at line 122
mixed
getSearchPreviewUrl()
Determine the preview image, if there is one FALSE otherwise