PHP Class Browscap\Filter\LiteFilter

Author: Thomas Müller ([email protected])
Inheritance: implements Browscap\Filter\FilterInterface
ファイルを表示 Open project: browscap/browscap Class Usage Examples

Public Methods

Method Description
getType ( ) : string returns the Type of the filter
isOutput ( Division $division ) : boolean checks if a division should be in the output
isOutputProperty ( string $property, Browscap\Writer\WriterInterface $writer = null ) : boolean checks if a property should be in the output
isOutputSection ( array $section ) : boolean checks if a section should be in the output

Method Details

getType() public method

returns the Type of the filter
public getType ( ) : string
return string

isOutput() public method

checks if a division should be in the output
public isOutput ( Division $division ) : boolean
$division Browscap\Data\Division
return boolean

isOutputProperty() public method

checks if a property should be in the output
public isOutputProperty ( string $property, Browscap\Writer\WriterInterface $writer = null ) : boolean
$property string
$writer Browscap\Writer\WriterInterface
return boolean

isOutputSection() public method

checks if a section should be in the output
public isOutputSection ( array $section ) : boolean
$section array
return boolean