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

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

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

Usage Example

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