Свойство | Тип | Описание | |
---|---|---|---|
$attributes | stdClass | Rule attributes | |
$client | Phue client | ||
$id | integer | Id |
Метод | Описание | |
---|---|---|
__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 getActions ( ) : array | ||
Результат | array | List of actions |
public getConditions ( ) : array | ||
Результат | array | List of conditions |
public getCreateDate ( ) : string | ||
Результат | string | Time |
public getLastTriggeredTime ( ) : string | ||
Результат | string | Time |
public getTriggeredCount ( ) : integer | ||
Результат | integer | Triggered count |