PHP Class Browscap\Data\PropertyHolder

Author: Thomas Müller ([email protected])
Show file Open project: browscap/browscap Class Usage Examples

Public Methods

Method Description
checkValueInArray ( string $property, string $value ) : string
getPropertyType ( string $propertyName ) : string Get the type of a property
isLiteModeProperty ( string $propertyName ) : boolean Determine if the specified property is an property that should be included in the "full" versions of the files only
isOutputProperty ( string $propertyName, Browscap\Writer\WriterInterface $writer = null ) : boolean Determine if the specified property is an "extra" property (that should be included in the "full" versions of the files)
isStandardModeProperty ( string $propertyName, Browscap\Writer\WriterInterface $writer = null ) : boolean Determine if the specified property is an property that should be included in the "full" versions of the files only

Method Details

checkValueInArray() public method

public checkValueInArray ( string $property, string $value ) : string
$property string
$value string
return string

getPropertyType() public method

Get the type of a property
public getPropertyType ( string $propertyName ) : string
$propertyName string
return string

isLiteModeProperty() public method

Determine if the specified property is an property that should be included in the "full" versions of the files only
public isLiteModeProperty ( string $propertyName ) : boolean
$propertyName string
return boolean

isOutputProperty() public method

Determine if the specified property is an "extra" property (that should be included in the "full" versions of the files)
public isOutputProperty ( string $propertyName, Browscap\Writer\WriterInterface $writer = null ) : boolean
$propertyName string
$writer Browscap\Writer\WriterInterface
return boolean

isStandardModeProperty() public method

Determine if the specified property is an property that should be included in the "full" versions of the files only
public isStandardModeProperty ( string $propertyName, Browscap\Writer\WriterInterface $writer = null ) : boolean
$propertyName string
$writer Browscap\Writer\WriterInterface
return boolean