2017 © Pedro Peláez
 

library skud

Commponent for communication with RusGuard

image

professionalweb/skud

Commponent for communication with RusGuard

  • Wednesday, March 9, 2016
  • by SergioMadness
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

RusGuard component

Composer

RusGuard component is available through composer, (*1)

composer require professionalweb/skud "*"

Alternatively you can add the following to the require section in your composer.json manually:, (*2)

"professionalweb/skud": "*"

Run composer update afterwards., (*3)

In your PHP project

$skud = new \professionalweb\skud\Skud();
$skud->url = 'http://skud/LNetworkServer/LNetworkService.svc?singleWsdl',
$skud->login = 'admin';
$skud->password = '';

Add person to SKUD

$personInfo = $skud->addEmployee('75f918bf-24fc-445f-8ff5-8fd11e1ad361', 'John', 'Johnov', 'Merian');
$skud->assignKey($personInfo->ID, '9874566321154');

Update person to SKUD

$result = $skud->updateEmployee($personInfo->ID, 'John', 'Smith', 'Merian');

Set key is lost

$skud->setKeyIsLost('9874566321154', $personInfo->ID);

Get groups

$skud->getGroups();

Get person by key

$skud->getEmployeeIdByKey('9874566321154');

Remove employee

$skud->removeEmployee($personInfo->ID);

Remove employee by key number

$skud->removeEmployeeByCardNumber('9874566321154');

Get variable

$skud->getVariable($name);

Add employee's photo

$skud->addEmployeePhoto($personInfo->ID, null, $base64Data);

Get employee info

$skud->getEmployee($$personInfo->ID)

Get employee's photo

$skud->getEmployeePhoto($personInfo->ID, 1);

Get events

$skud->getEvents($fromDate = null, $toDate = null, $inoutEventType = null, $page = 1, $pageSize = 20)

Listen for notifications

$result = $skud->getNotification();

The MIT License

The MIT License (MIT), (*4)

Copyright (c) 2015 Sergey Zinchenko, Professional web, (*5)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:, (*6)

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software., (*7)

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE., (*8)

The Versions

09/03 2016

dev-master

9999999-dev

Commponent for communication with RusGuard

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

professional web rusguard rgsec web-development

09/03 2016

0.3.4

0.3.4.0

Commponent for communication with RusGuard

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

professional web rusguard rgsec web-development

03/12 2015

0.3.3

0.3.3.0

Commponent for communication with RusGuard

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

datalayer rusguard rgsec

03/12 2015

dev-dev

dev-dev

Commponent for communication with RusGuard

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

datalayer rusguard rgsec

03/12 2015

0.3.2

0.3.2.0

Commponent for communication with RusGuard

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

datalayer rusguard rgsec

20/11 2015

0.3.1

0.3.1.0

Commponent for communication with RusGuard

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

datalayer rusguard rgsec

20/11 2015

0.3

0.3.0.0

Commponent for communication with RusGuard

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

datalayer rusguard rgsec

20/11 2015

0.2

0.2.0.0

Commponent for communication with RusGuard

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

datalayer rusguard rgsec

06/11 2015

0.1

0.1.0.0

Commponent for communication with RusGuard

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

datalayer rusguard rgsec