PHP Class Phue\Scene

Afficher le fichier Open project: sqmk/phue

Protected Properties

Свойство Type Description
$attributes stdClass Scene attributes
$client Client Phue client
$id integer Id

Méthodes publiques

Méthode Description
__construct ( string $id, stdClass $attributes, Client $client ) Construct a Phue Scene object
__toString ( ) : string __toString
getId ( ) : integer Get scene Id
getLightIds ( ) : array Get light ids
getName ( ) : string Get assigned name of scene
isActive ( ) : null Is active

Method Details

__construct() public méthode

Construct a Phue Scene object
public __construct ( string $id, stdClass $attributes, Client $client )
$id string Id
$attributes stdClass Scene attributes
$client Client Phue client

__toString() public méthode

__toString
public __toString ( ) : string
Résultat string Scene Id

getId() public méthode

Get scene Id
public getId ( ) : integer
Résultat integer Scene id

getLightIds() public méthode

Get light ids
public getLightIds ( ) : array
Résultat array List of light ids

getName() public méthode

Get assigned name of scene
public getName ( ) : string
Résultat string Name of scene

isActive() public méthode

Is active
Deprecation:
public isActive ( ) : null
Résultat null This is now deprecated

Property Details

$attributes protected_oe property

Scene attributes
protected stdClass $attributes
Résultat stdClass

$client protected_oe property

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

$id protected_oe property

Id
protected int $id
Résultat integer