PHP Class Phue\Portal

Afficher le fichier Open project: sqmk/phue

Protected Properties

Свойство Type Description
$attributes stdClass Portal attributes
$client Client Phue client

Méthodes publiques

Méthode Description
__construct ( stdClass $attributes, Client $client ) Construct a Phue Portal object
getCommunication ( ) : string Get communication
isIncoming ( ) : boolean Is incoming
isOutgoing ( ) : boolean Is outgoing
isSignedOn ( ) : boolean Is signed on?

Method Details

__construct() public méthode

Construct a Phue Portal object
public __construct ( stdClass $attributes, Client $client )
$attributes stdClass Portal attributes
$client Client Phue client

getCommunication() public méthode

Get communication
public getCommunication ( ) : string
Résultat string Communication status

isIncoming() public méthode

Is incoming
public isIncoming ( ) : boolean
Résultat boolean True if incoming data, false if not

isOutgoing() public méthode

Is outgoing
public isOutgoing ( ) : boolean
Résultat boolean True if outgoing data, false if not

isSignedOn() public méthode

Is signed on?
public isSignedOn ( ) : boolean
Résultat boolean True if signed on, false if not

Property Details

$attributes protected_oe property

Portal attributes
protected stdClass $attributes
Résultat stdClass

$client protected_oe property

Phue client
protected Client,phue $client
Résultat Client