Property | Type | Description | |
---|---|---|---|
$attributes | stdClass | Rule attributes | |
$client | Phue client | ||
$id | integer | Id |
Method | Description | |
---|---|---|
__construct ( string $id, stdClass $attributes, |
Construct a Phue Rule object | |
__toString ( ) : string | __toString | |
delete ( ) | Delete rule | |
getActions ( ) : array | Get actions | |
getConditions ( ) : array | Get conditions | |
getCreateDate ( ) : string | Get create date | |
getId ( ) : integer | Get rule Id | |
getLastTriggeredTime ( ) : string | Get last triggered time | |
getName ( ) : string | Get assigned name of rule | |
getOwner ( ) : string | Get owner | |
getTriggeredCount ( ) : integer | Get triggered count | |
isEnabled ( ) : boolean | Is enabled? |
public __construct ( string $id, stdClass $attributes, |
||
$id | string | Id |
$attributes | stdClass | Rule attributes |
$client | Phue client |
public getConditions ( ) : array | ||
return | array | List of conditions |
public getLastTriggeredTime ( ) : string | ||
return | string | Time |
public getTriggeredCount ( ) : integer | ||
return | integer | Triggered count |