PHP Class UserAgentParser\Model\Version

Author: Martin Keckeis ([email protected])
Afficher le fichier Open project: ThaDafinser/UserAgentParser Class Usage Examples

Méthodes publiques

Méthode Description
getAlias ( ) : string
getComplete ( ) : string
getMajor ( ) : integer
getMinor ( ) : integer
getPatch ( ) : integer
setAlias ( string $alias )
setComplete ( string $complete ) Set from the complete version string.
setMajor ( integer $major )
setMinor ( integer $minor )
setPatch ( integer $patch )
toArray ( ) : array

Private Methods

Méthode Description
getCompleteParts ( $complete ) : array
hydrateComplete ( ) : string
hydrateFromComplete ( $complete )

Method Details

getAlias() public méthode

public getAlias ( ) : string
Résultat string

getComplete() public méthode

public getComplete ( ) : string
Résultat string

getMajor() public méthode

public getMajor ( ) : integer
Résultat integer

getMinor() public méthode

public getMinor ( ) : integer
Résultat integer

getPatch() public méthode

public getPatch ( ) : integer
Résultat integer

setAlias() public méthode

public setAlias ( string $alias )
$alias string

setComplete() public méthode

Set from the complete version string.
public setComplete ( string $complete )
$complete string

setMajor() public méthode

public setMajor ( integer $major )
$major integer

setMinor() public méthode

public setMinor ( integer $minor )
$minor integer

setPatch() public méthode

public setPatch ( integer $patch )
$patch integer

toArray() public méthode

public toArray ( ) : array
Résultat array