class Visitor

Properties

protected array $allowedIp

Default visitor property

protected $visitTimeLimit
protected $accessAllow
protected $data
protected $alreadyCheckIn
protected $member
protected $memberExpire
protected $institutionEmpty
protected $error
protected $image
protected $result
protected $opac

Methods

__construct(array $allowedIp, string $visitTimeLimit, Opac $opac)

No description

accessCheck()

Access check by ip

record(int|string $memberId)

Record visitor counter

bool
alreadyCheckIn(int|string $memberIdOrName, bool $isMember = true)

Get last data to decide ready checkin now or later

isMember()

No description

isAlreadyCheckIn()

No description

isMemberExpire()

No description

isAccessAllow()

No description

isInstitutionEmpty()

No description

getResult()

No description

getData()

No description

getError()

No description

Details

at line 33
__construct(array $allowedIp, string $visitTimeLimit, Opac $opac)

No description

Parameters

array $allowedIp
string $visitTimeLimit
Opac $opac

at line 45
Visitor accessCheck()

Access check by ip

Return Value

Visitor

at line 62
Visitor record(int|string $memberId)

Record visitor counter

Parameters

int|string $memberId

Return Value

Visitor

at line 140
protected bool alreadyCheckIn(int|string $memberIdOrName, bool $isMember = true)

Get last data to decide ready checkin now or later

Parameters

int|string $memberIdOrName
bool $isMember

Return Value

bool

at line 163
isMember()

No description

at line 168
isAlreadyCheckIn()

No description

at line 173
isMemberExpire()

No description

at line 178
isAccessAllow()

No description

at line 183
isInstitutionEmpty()

No description

at line 188
getResult()

No description

at line 193
getData()

No description

at line 198
getError()

No description