FOF30\Model\DataModel\Filter\Text::outside PHP 메소드

outside() 공개 메소드

Dummy method; this search makes no sense for text fields
public outside ( mixed $from, mixed $to, boolean $include = false ) : string
$from mixed Ignored
$to mixed Ignored
$include boolean Ignored
리턴 string Empty string
    public function outside($from, $to, $include = false)
    {
        return '';
    }

Usage Example

예제 #1
0
파일: TextTest.php 프로젝트: Joal01/fof
 /**
  * @group           TextFilter
  * @group           TextFilterOutside
  * @covers          FOF30\Model\DataModel\Filter\Text::outside
  */
 public function testOutside()
 {
     $filter = new Text(\JFactory::getDbo(), (object) array('name' => 'test', 'type' => 'varchar(10)'));
     $this->assertSame('', $filter->outside('', ''), 'Text::outside Should return an empty string');
 }