mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
6b1c5eb6d7
* Allow methods to be used for flexible searchable_fields * match_any key * Documentation * Update docs/en/02_Developer_Guides/00_Model/11_Scaffolding.md Co-authored-by: GuySartorelli <36352093+GuySartorelli@users.noreply.github.com> * Search fields test * Newlines * Update src/ORM/Search/SearchContext.php Co-authored-by: Steve Boyd <emteknetnz@gmail.com> * Update docs/en/02_Developer_Guides/00_Model/11_Scaffolding.md Co-authored-by: Steve Boyd <emteknetnz@gmail.com> * Removed comments and whitespace. Linting fixes Co-authored-by: GuySartorelli <36352093+GuySartorelli@users.noreply.github.com> Co-authored-by: Steve Boyd <emteknetnz@gmail.com>
16 lines
316 B
PHP
16 lines
316 B
PHP
<?php
|
|
|
|
namespace SilverStripe\ORM\Tests\Search\SearchContextTest;
|
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
use SilverStripe\ORM\DataObject;
|
|
|
|
class Address extends DataObject implements TestOnly
|
|
{
|
|
private static $table_name = 'SearchContextTest_Address';
|
|
|
|
private static $db = [
|
|
'FirstName' => 'Text'
|
|
];
|
|
}
|