mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #5182 from christopherdarling/patch-8
DOCS: FulltextSearchable code example
This commit is contained in:
commit
206c765b09
@ -32,7 +32,7 @@ class FulltextSearchable extends DataExtension {
|
|||||||
* It can be used to limit the searched classes, but not to add your own classes.
|
* It can be used to limit the searched classes, but not to add your own classes.
|
||||||
* For this purpose, please use {@link Object::add_extension()} directly:
|
* For this purpose, please use {@link Object::add_extension()} directly:
|
||||||
* <code>
|
* <code>
|
||||||
* MyObject::add_extension("FulltextSearchable('MySearchableField,'MyOtherField')");
|
* MyObject::add_extension("FulltextSearchable('MySearchableField,MyOtherField')");
|
||||||
* </code>
|
* </code>
|
||||||
*
|
*
|
||||||
* Caution: This is a wrapper method that should only be used in _config.php,
|
* Caution: This is a wrapper method that should only be used in _config.php,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user