TimeClock
in package
Table of Contents
- $data : mixed
- $obj : mixed
- $type_options : mixed
- __call() : bool|mixed
- __construct() : mixed
- TimeClock constructor.
- DeleteAllData() : bool
- Poll() : bool
- Push() : bool
- setModeFlag() : bool
- getObject() : bool|null
- getType() : mixed
- setType() : bool
Properties
$data
public
mixed
$data
= \null
$obj
public
mixed
$obj
= \null
$type_options
public
mixed
$type_options
= [100 => 'TTA8', 110 => 'TTF4', 120 => 'TTS300', 200 => 'ACTAtek']
Methods
__call()
public
__call( $function_name[, array<string|int, mixed> $args = [] ]) : bool|mixed
Parameters
Return values
bool|mixed —__construct()
TimeClock constructor.
public
__construct([null $clock_type = null ][, int $timeout = 10 ]) : mixed
Parameters
- $clock_type : null = null
- $timeout : int = 10
Return values
mixed —DeleteAllData()
public
DeleteAllData() : bool
Return values
bool —Poll()
public
Poll(object $company_obj, object $station_obj) : bool
Parameters
- $company_obj : object
- $station_obj : object
Return values
bool —Push()
public
Push(object $c_obj, object $s_obj[, bool $quick = false ]) : bool
Parameters
- $c_obj : object
- $s_obj : object
- $quick : bool = false
Return values
bool —setModeFlag()
public
setModeFlag( $mode_flags) : bool
Parameters
Return values
bool —getObject()
private
getObject() : bool|null
Return values
bool|null —getType()
private
getType() : mixed
Return values
mixed —setType()
private
setType( $value) : bool