FOF30\Model\DataModel\Filter\Text::between PHP Метод

between() публичный Метод

Dummy method; this search makes no sense for text fields
public between ( mixed $from, mixed $to, boolean $include = true ) : string
$from mixed Ignored
$to mixed Ignored
$include boolean Ignored
Результат string Empty string
    public function between($from, $to, $include = true)
    {
        return '';
    }

Usage Example

Пример #1
0
 /**
  * @group           TextFilter
  * @group           TextFilterBetween
  * @covers          FOF30\Model\DataModel\Filter\Text::between
  */
 public function testBetween()
 {
     $filter = new Text(\JFactory::getDbo(), (object) array('name' => 'test', 'type' => 'varchar(10)'));
     $this->assertSame('', $filter->between('', ''), 'Text::between Should return an empty string');
 }