geniv/nette-aps-driver

APS driver component for Nette Framework

v1.4 2022-06-08 22:38 UTC

This package is auto-updated.

Last update: 2024-03-09 22:30:03 UTC


README

via APS 400 and APS mini Plus

Installation

$ composer require geniv/nette-aps-driver

or

"geniv/nette-aps-driver": "^1.0"

require:

"php": ">=7.0",
"dibi/dibi": ">=3.0",
"nette/utils": ">=2.4"

methods:

via code

Include in application

neon configure services:

services:
    - ApsDriver(@mssql.connection)

usage:

$aps = $this->context->getByType(\ApsDriver::class);

$aps->getListPerson()->fetchAll();
$aps->getListPerson()->where(['ID_Folder'=>7])->fetchAll();
$aps->getListPerson()->where(['IsDeleted'=>true])->fetchAll();

create user

create person -> create od select card (physical or virtual card) -> create row M:N person_accesgroup then for upload to hardware call: [api_UploadData] (->uploadData())