Sunnysideup\SearchSimpleSmart\Model\SearchEngineFullContent
Full Content for each dataobject, separated by level of importance.
Adding the content here, will also add it to the Keywords.
Todo: consider breaking it up in sentences.
Synopsis
class SearchEngineFullContent
extends DataObject
{
- // members
- private static array $default_punctuation_to_be_removed = ;
- private static string $table_name = 'SearchEngineFullContent';
- private static string $singular_name = 'Full Content';
- private static string $plural_name = 'Full Contents';
- private static array $db = ;
- private static array $has_one = ;
- private static array $indexes = ;
- private static string $default_sort = '"Level" ASC, "Content" ASC';
- private static array $required_fields = ;
- private static array $summary_fields = ;
- private static array $searchable_fields = ;
- private static array $field_labels = ;
- private static array $casting = ;
- private static array $create_table_options = ;
- private static bool $remove_all_non_alpha_numeric = false;
- private static bool $remove_all_non_letters = true;
- private static $_punctuation_objects = NULL;
- // methods
- public void i18n_singular_name()
- public void i18n_plural_name()
- public boolean canCreate()
- public boolean canEdit()
- public boolean canDelete()
- public boolean canView()
- public static void add_data_object_array()
- public static add_one()
- public string getShortContent()
- public void onBeforeWrite()
- public void onAfterWrite()
- public static string clean_content()
- public FieldList getCMSFields()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Tasks
Line | Task |
---|---|
293+ | : cache using SS caching system. |
Members
private
- $_punctuation_objects
- $casting
- $create_table_options
—
array
this is very important to allow Mysql FullText Searches - $db
- $default_punctuation_to_be_removed
- $default_sort
- $field_labels
- $has_one
- $indexes
- $plural_name
- $remove_all_non_alpha_numeric — Sunnysideup\SearchSimpleSmart\Model\bool
- $remove_all_non_letters — Sunnysideup\SearchSimpleSmart\Model\bool
- $required_fields
- $searchable_fields
—
array
Defines a default list of filters for the search context - $singular_name
- $summary_fields
- $table_name
—
string
Defines the database table name