Overview

Namespaces

  • FlexiPeeHP
  • PHP

Classes

  • Actions
  • Adresar
  • Banka
  • Cenik
  • Changes
  • Company
  • DodavatelskaSmlouva
  • EvidenceList
  • FakturaPrijata
  • FakturaVydana
  • FakturaVydanaPolozka
  • FlexiBeeRO
  • FlexiBeeRW
  • Formats
  • Hooks
  • InterniDoklad
  • Kontakt
  • Nastaveni
  • Pokladna
  • PokladniPohyb
  • Priloha
  • RadaPokladniPohyb
  • Relations
  • SkladovaKarta
  • SkladovyPohyb
  • SkladovyPohybPolozka
  • SkupinaFirem
  • Smlouva
  • Status
  • Stitek
  • Strom
  • StromCenik
  • UcetniObdobi
  • VyrobniCislo
  • Zavazek
  • Zurnal

Traits

  • Firma
  • Stitky
  • Sum
  • Overview
  • Namespace
  • Class
  • Tree

Class FlexiBeeRO

Základní třída pro čtení z FlexiBee

Ease\Sand
Extended by FlexiPeeHP\FlexiBeeRO

Direct known subclasses

FlexiPeeHP\Changes, FlexiPeeHP\EvidenceList, FlexiPeeHP\FlexiBeeRW, FlexiPeeHP\Nastaveni, FlexiPeeHP\Status, FlexiPeeHP\Zurnal

Indirect known subclasses

FlexiPeeHP\Adresar, FlexiPeeHP\Banka, FlexiPeeHP\Kontakt, FlexiPeeHP\Pokladna, FlexiPeeHP\PokladniPohyb, FlexiPeeHP\Priloha, FlexiPeeHP\RadaPokladniPohyb, FlexiPeeHP\SkladovaKarta, FlexiPeeHP\SkladovyPohyb, FlexiPeeHP\SkladovyPohybPolozka, FlexiPeeHP\SkupinaFirem, FlexiPeeHP\Smlouva, FlexiPeeHP\Cenik, FlexiPeeHP\Stitek, FlexiPeeHP\Strom, FlexiPeeHP\StromCenik, FlexiPeeHP\UcetniObdobi, FlexiPeeHP\VyrobniCislo, FlexiPeeHP\Zavazek, FlexiPeeHP\Company, FlexiPeeHP\DodavatelskaSmlouva, FlexiPeeHP\FakturaPrijata, FlexiPeeHP\FakturaVydana, FlexiPeeHP\FakturaVydanaPolozka, FlexiPeeHP\Hooks, FlexiPeeHP\InterniDoklad
Namespace: FlexiPeeHP
Url: https://demo.flexibee.eu/devdoc/
Located at FlexiPeeHP/FlexiBeeRO.php
Methods summary
public
# __construct( mixed $init = null, array $options = [] )

Class for read only interaction with FlexiBee.

Class for read only interaction with FlexiBee.

Parameters

$init
default record id or initial data
$options
Connection settings and other options override
public string
# setObjectName( string $objectName = null )

Set internal Object name

Set internal Object name

Parameters

$objectName

Returns

string
Jméno objektu
public
# setUp( array $options = [] )

SetUp Object to be ready for work

SetUp Object to be ready for work

Parameters

$options

Object Options ( user,password,authSessionId company,url,evidence, prefix,defaultUrlParams,debug, detail,offline,filter,ignore404 timeout,companyUrl,ver

public
# setupProperty( array $options, string $name, string $constant = null )

Set up one of properties

Set up one of properties

Parameters

$options
array of given properties
$name
name of property to process
$constant
load default property value from constant
public static array
# companyUrlToOptions( string $companyUrl )

Convert companyUrl provided by CustomButton to options array

Convert companyUrl provided by CustomButton to options array

Parameters

$companyUrl

Returns

array
Options
public array
# getConnectionOptions( )

Get Current connection options for use in another object

Get Current connection options for use in another object

Returns

array
usable as second constructor parameter
public boolean
# curlInit( )

Inicializace CURL

Inicializace CURL

Returns

boolean
Online Status
public
# processInit( mixed $init )

Zinicializuje objekt dle daných dat. Možné hodnoty:

Zinicializuje objekt dle daných dat. Možné hodnoty:

  • 234 - interní číslo záznamu k načtení * code:LOPATA - kód záznamu * BAGR - kód záznamu k načtení * ['id'=>24,'nazev'=>'hoblík'] - pole hodnot k předvyplnění * 743.json?relations=adresa,vazby - část url s parametry k načtení

Parameters

$init
číslo/"(code:)kód"/(část)URI záznamu k načtení | pole hodnot k předvyplnění
public boolean
# setDataValue( string $columnName, mixed $value )

Set Data Field value

Set Data Field value

Parameters

$columnName
field name
$value
field data value

Returns

boolean
Success
public static
# dateToFlexiDate( DateTime $date )

PHP Date object to FlexiBee date format

PHP Date object to FlexiBee date format

Parameters

$date
public static
# dateToFlexiDateTime( DateTime $dateTime )

PHP Date object to FlexiBee date format

PHP Date object to FlexiBee date format

Parameters

$dateTime
public
# setPrefix( string $prefix )

Set URL prefix

Set URL prefix

Parameters

$prefix
public boolean
# setFormat( string $format )

Set communication format. One of html|xml|json|csv|dbf|xls|isdoc|isdocx|edi|pdf|pdf|vcf|ical

Set communication format. One of html|xml|json|csv|dbf|xls|isdoc|isdocx|edi|pdf|pdf|vcf|ical

Parameters

$format

Returns

boolean
format is availble
public boolean
# setEvidence( string $evidence )

Nastaví Evidenci pro Komunikaci. Set evidence for communication

Nastaví Evidenci pro Komunikaci. Set evidence for communication

Parameters

$evidence
evidence pathName to use

Returns

boolean
evidence switching status
public string
# getEvidence( )

Vrací právě používanou evidenci pro komunikaci Obtain current used evidence

Vrací právě používanou evidenci pro komunikaci Obtain current used evidence

Returns

string
public
# setCompany( string $company )

Set used company. Nastaví Firmu.

Set used company. Nastaví Firmu.

Parameters

$company
public string
# getCompany( )

Obtain company now used Vrací právě používanou firmu

Obtain company now used Vrací právě používanou firmu

Returns

string
public string
# getResponseEvidence( )

Vrací název evidence použité v odpovědích z FlexiBee

Vrací název evidence použité v odpovědích z FlexiBee

Returns

string
public static array
# object2array( object|array $object )

Převede rekurzivně Objekt na pole.

Převede rekurzivně Objekt na pole.

Parameters

$object

Returns

array
public static array
# objectToID( object|array $object )

Převede rekurzivně v poli všechny objekty na jejich identifikátory.

Převede rekurzivně v poli všechny objekty na jejich identifikátory.

Parameters

$object

Returns

array
public string
# getEvidenceURL( )

Return basic URL for used Evidence

Return basic URL for used Evidence

Returns

string
Evidence URL

Link

Sestavování URL
public string
# evidenceUrlWithSuffix( string $urlSuffix )

Add suffix to Evidence URL

Add suffix to Evidence URL

Parameters

$urlSuffix

Returns

string
public
# updateApiURL( )

Update $this->apiURL

Update $this->apiURL

public
# addDefaultUrlParams( $urlRaw )
public array|boolean
# performRequest( string $urlSuffix = null, string $method = 'GET', string $format = null )

Funkce, která provede I/O operaci a vyhodnotí výsledek.

Funkce, která provede I/O operaci a vyhodnotí výsledek.

Parameters

$urlSuffix
část URL za identifikátorem firmy.
$method
HTTP/REST metoda
$format
Requested format

Returns

array|boolean
Výsledek operace
public array
# rawResponseToArray( string $responseRaw, string $format )

Parse Raw FlexiBee response in several formats

Parse Raw FlexiBee response in several formats

Parameters

$responseRaw
raw response body
$format
Raw Response format json|xml|etc

Returns

array
public array
# rawJsonToArray( string $rawJson )

Convert FlexiBee Response JSON to Array

Convert FlexiBee Response JSON to Array

Parameters

$rawJson

Returns

array
public array
# rawXmlToArray( string $rawXML )

Convert FlexiBee Response XML to Array

Convert FlexiBee Response XML to Array

Parameters

$rawXML

Returns

array
public array
# parseResponse( array $responseDecoded, integer $responseCode )

Parse Response array

Parse Response array

Parameters

$responseDecoded
$responseCode
Request Response Code

Returns

array
main data part of response
public integer
# parseError( array $responseDecoded )

Parse error message response

Parse error message response

Parameters

$responseDecoded

Returns

integer
number of errors processed
public integer
# doCurlRequest( string $url, string $method, string $format = null )

Vykonej HTTP požadavek

Vykonej HTTP požadavek

Parameters

$url
URL požadavku
$method
HTTP Method GET|POST|PUT|OPTIONS|DELETE
$format
požadovaný formát komunikace

Returns

integer
HTTP Response CODE

Link

Sestavování URL
public string
# contentTypeToResponseFormat( string $contentType, string $url = null )

Obtain json for application/json

Obtain json for application/json

Parameters

$contentType
$url

Returns

string
response format
public boolean
# setAction( string $action )

Nastaví druh prováděné akce.

Nastaví druh prováděné akce.

Parameters

$action

Returns

boolean

Link

Provádění akcí
public static array
# xml2array( string $xml )

Convert XML to array.

Convert XML to array.

Parameters

$xml

Returns

array
public
# disconnect( )

Odpojení od FlexiBee.

Odpojení od FlexiBee.

public
# __destruct( )

Disconnect CURL befere pass away

Disconnect CURL befere pass away

public array
# getFlexiRow( integer $recordID )

Načte řádek dat z FlexiBee.

Načte řádek dat z FlexiBee.

Parameters

$recordID
id požadovaného záznamu

Returns

array
public
# extractUrlParams( array & $conditions, array & $urlParams )

Oddělí z pole podmínek ty jenž patří za ? v URL požadavku

Oddělí z pole podmínek ty jenž patří za ? v URL požadavku

Parameters

$conditions
pole podmínek - rendrují se do ()
$urlParams
pole parametrů - rendrují za ?

Link

Sestavování URL
public static string
# urlEncode( string $urlRaw )

convert unicode to entities for use with FlexiBee queries

convert unicode to entities for use with FlexiBee queries

Parameters

$urlRaw

Returns

string
public array
# getFlexiData( string $suffix = null, string|array $conditions = null )

Načte data z FlexiBee.

Načte data z FlexiBee.

Parameters

$suffix
dotaz
$conditions
Custom filters or modifiers

Returns

array
Data obtained
public integer
# loadFromFlexiBee( integer|string $id = null )

Načte záznam z FlexiBee a uloží v sobě jeho data Read FlexiBee record and store it inside od object

Načte záznam z FlexiBee a uloží v sobě jeho data Read FlexiBee record and store it inside od object

Parameters

$id
ID or conditions

Returns

integer
počet načtených položek
public boolean
# reload( )

Reload current record from FlexiBee

Reload current record from FlexiBee

Returns

boolean
public string
# setFilter( array|string $filter )

Set Filter code for requests

Set Filter code for requests

Parameters

$filter
filter formula or ['key'=>'value']

Returns

string
Filter code

Link

https://www.flexibee.eu/api/dokumentace/ref/zamykani-odemykani/
public string
# getJsonizedData( array $data = null, integer $options = 0 )

Převede data do Json formátu pro FlexiBee. Convert data to FlexiBee like Json format

Převede data do Json formátu pro FlexiBee. Convert data to FlexiBee like Json format

Parameters

$data
object data
$options
json_encode options like JSON_PRETTY_PRINT etc

Returns

string

Url

https://www.flexibee.eu/api/dokumentace/ref/actions/
https://www.flexibee.eu/api/dokumentace/ref/zamykani-odemykani/
public array
# getDataForJSON( array $data = null )

Get Data Fragment specific for current object

Get Data Fragment specific for current object

Parameters

$data

Returns

array
public boolean
# join( FlexiPeeHP\FlexiBeeRO & $object )

Join another FlexiPeeHP Object

Join another FlexiPeeHP Object

Parameters

$object

Returns

boolean
adding to stack success
public static string
# urlizeId( mixed $id )

Prepare record ID to use in URL

Prepare record ID to use in URL

Parameters

$id

Returns

string
id ready for use in URL
public boolean
# idExists( mixed $identifer = null )

Test if given record ID exists in FlexiBee.

Test if given record ID exists in FlexiBee.

Parameters

$identifer
presence state

Returns

boolean
public boolean
# recordExists( array|string|integer $data = [] )

Test if given record exists in FlexiBee.

Test if given record exists in FlexiBee.

Parameters

$data
ext:id:23|code:ITEM|['id'=>23]|23

Returns

boolean
Record presence status
public array
# getSubItems( )

Subitems - ex. items of invoice

Subitems - ex. items of invoice

Returns

array
of document items or null
public array
# getAllFromFlexibee( array|integer|string $conditions = null, string $indexBy = null )

Vrací z FlexiBee sloupečky podle podmínek.

Vrací z FlexiBee sloupečky podle podmínek.

Parameters

$conditions
pole podmínek nebo ID záznamu
$indexBy

klice vysledku naplnit hodnotou ze sloupečku

Returns

array
public array
# getColumnsFromFlexibee( string|string[] $columnsList, array $conditions = [], string $indexBy = null )

Vrací z FlexiBee sloupečky podle podmínek.

Vrací z FlexiBee sloupečky podle podmínek.

Parameters

$columnsList
seznam položek nebo úrověň detailu: id|summary|full
$conditions
pole podmínek nebo ID záznamu
$indexBy
Sloupeček podle kterého indexovat záznamy

Returns

array
public string
# getKod( mixed $data = null, $unique = true )

Vrací kód záznamu. Obtain record CODE

Vrací kód záznamu. Obtain record CODE

Parameters

$data
$unique

Returns

string
public boolean
# logResult( array $resultData = null, string $url = null )

Write Operation Result.

Write Operation Result.

Parameters

$resultData
$url
URL

Returns

boolean
Log save success
public
# saveDebugFiles( )

Save RAW Curl Request & Response to files in Temp directory

Save RAW Curl Request & Response to files in Temp directory

public
# setPostFields( string $data )

Připraví data pro odeslání do FlexiBee

Připraví data pro odeslání do FlexiBee

Parameters

$data
public string
# getPostFields( )

Get Content ready to be send as POST body

Get Content ready to be send as POST body

Returns

string
public static string
# flexiUrl( array $data, string $joiner = 'and', string $defop = 'eq' )

Generuje fragment url pro filtrování.

Generuje fragment url pro filtrování.

Parameters

$data
key=>values; value can bee class DatePeriod, DateTime or Array
$joiner
default and/or
$defop
default operator

Returns

string

See

https://www.flexibee.eu/api/dokumentace/ref/filters
public null|integer
# getRecordID( )

Obtain record/object numeric identificator id: Vrací číselný identifikátor objektu id:

Obtain record/object numeric identificator id: Vrací číselný identifikátor objektu id:

Returns

null|integer
indentifikátor záznamu reprezentovaného objektem

Link

Identifikátory záznamů
public string
# getRecordCode( )

Obtain record/object identificator code: Vrací identifikátor objektu code:

Obtain record/object identificator code: Vrací identifikátor objektu code:

Returns

string
record code identifier

Link

Identifikátory záznamů
public string|integer|null
# getRecordIdent( )

Obtain record/object identificator extId: code: or id: Vrací identifikátor objektu extId: code: nebo id:

Obtain record/object identificator extId: code: or id: Vrací identifikátor objektu extId: code: nebo id:

Returns

string|integer|null
record code identifier

Link

Identifikátory záznamů
public string
# __toString( )

Obtain record/object identificator code: or id: Vrací identifikátor objektu code: nebo id:

Obtain record/object identificator code: or id: Vrací identifikátor objektu code: nebo id:

Returns

string
indentifikátor záznamu reprezentovaného objektem

Link

Identifikátory záznamů
public static string
# evidenceToClassName( string $evidence )

Gives you FlexiPeeHP class name for Given Evidence

Gives you FlexiPeeHP class name for Given Evidence

Parameters

$evidence

Returns

string
Class name
public string|null
# getFirstRecordID( )

Obtain ID of first record in evidence

Obtain ID of first record in evidence

Returns

string|null
id or null if no records
public integer|null
# getNextRecordID( array $conditions = [] )

Get previous record ID

Get previous record ID

Parameters

$conditions
optional

Returns

integer|null
public integer|null
# getPrevRecordID( array $conditions = [] )

Get next record ID

Get next record ID

Parameters

$conditions
optional

Returns

integer|null
public string|array
# getExternalID( string $want = null )

Vrací hodnotu daného externího ID

Vrací hodnotu daného externího ID

Parameters

$want
Namespace Selector. If empty,you obtain the first one.

Returns

string|array
one id or array if multiplete
public array
# getExternalIDs( )

gives you currently loaded extermal IDs

gives you currently loaded extermal IDs

Returns

array
public integer
# getGlobalVersion( )

Obtain actual GlobalVersion Vrací aktuální globální verzi změn

Obtain actual GlobalVersion Vrací aktuální globální verzi změn

Returns

integer

Link

Globální Verze
public string
# getApiURL( string $format = null )

Gives you current ApiURL with given format suffix

Gives you current ApiURL with given format suffix

Parameters

$format
json|html|xml|...

Returns

string
API URL for current record or object/evidence
public string
# getResponseFormat( )

Obtain content type of last response

Obtain content type of last response

Returns

string
public array
# unifyResponseFormat( array $responseBody )

Return the same response format for one and multiplete results

Return the same response format for one and multiplete results

Parameters

$responseBody

Returns

array
public array
# getOfflineColumnsInfo( string $evidence = null )

Obtain structure for current (or given) evidence

Obtain structure for current (or given) evidence

Parameters

$evidence

Returns

array
Evidence structure
public array
# getOnlineColumnsInfo( string $evidence = null )

Obtain Current evidence Live structure

Obtain Current evidence Live structure

Parameters

$evidence

Returns

array
structure
public
# updateColumnsInfo( array $columnsInfo = null, string $evidence = null )

Update evidence info from array or online from properties.json or offline

Update evidence info from array or online from properties.json or offline

Parameters

$columnsInfo
$evidence
public array
# getColumnsInfo( string $evidence = null )

Gives you evidence structure. You can obtain current online by pre-calling: $this->updateColumnsInfo($evidence, $this->getOnlineColumnsInfo($evidence));

Gives you evidence structure. You can obtain current online by pre-calling: $this->updateColumnsInfo($evidence, $this->getOnlineColumnsInfo($evidence));

Parameters

$evidence

Returns

array
public array
# getColumnInfo( string $column, string $evidence = null )

Gives you properties for (current) evidence column

Gives you properties for (current) evidence column

Parameters

$column
name of column
$evidence
evidence name if different

Returns

array
column properties or null if column not exits
public array
# getActionsInfo( string $evidence = null )

Obtain actions for current (or given) evidence

Obtain actions for current (or given) evidence

Parameters

$evidence

Returns

array
Evidence structure
public array
# getRelationsInfo( string $evidence = null )

Obtain relations for current (or given) evidence

Obtain relations for current (or given) evidence

Parameters

$evidence

Returns

array
Evidence structure
public array
# getEvidenceInfo( string $evidence = null )

Obtain info for current (or given) evidence

Obtain info for current (or given) evidence

Parameters

$evidence

Returns

array
Evidence info
public array
# getEvidenceName( string $evidence = null )

Obtain name for current (or given) evidence path

Obtain name for current (or given) evidence path

Parameters

$evidence
Evidence Path

Returns

array
Evidence info
public
# saveResponseToFile( string $destfile )

Save current object to file

Save current object to file

Parameters

$destfile
path to file
public array
# getVazby( $id = null )

Obtain established relations listing

Obtain established relations listing

Returns

array
Null or Relations
public string
# getFlexiBeeURL( )

Gives You URL for Current Record in FlexiBee web interface

Gives You URL for Current Record in FlexiBee web interface

Returns

string
url
public boolean
# setMyKey( integer|string $myKeyValue )

Set Record Key

Set Record Key

Parameters

$myKeyValue

Returns

boolean
public boolean
# ignore404( boolean $ignore = null )

Set or get ignore not found pages flag

Set or get ignore not found pages flag

Parameters

$ignore
set flag to

Returns

boolean
get flag state
public boolean
# sendByMail( string $to, string $subject, string $body, $cc = null )

Send Document by mail

Send Document by mail

Parameters

$to
Email ecipient
$subject
Email Subject
$body
Email Text
$cc

Returns

boolean
mail sent status

Url

https://www.flexibee.eu/api/dokumentace/ref/odesilani-mailem/
public integer
# sendUnsent( )

Send all unsent Documents by eMail

Send all unsent Documents by eMail

Returns

integer
http response code

Url

https://www.flexibee.eu/api/dokumentace/ref/odesilani-mailem/
public static DateTime
# flexiDateToDateTime( string $flexidate )

FlexiBee date to PHP DateTime conversion

FlexiBee date to PHP DateTime conversion

Parameters

$flexidate
2017-05-26 or 2017-05-26+02:00

Returns

DateTime
| false
public static DateTime
# flexiDateTimeToDateTime( string $flexidatetime )

FlexiBee dateTime to PHP DateTime conversion

FlexiBee dateTime to PHP DateTime conversion

Parameters

$flexidatetime
2017-09-26T10:00:53.755+02:00 or older 2017-05-19T00:00:00+02:00

Returns

DateTime
| false
public string|null
# getInFormat( string $format, string $reportName = null, string $lang = null, boolean $sign = false )

Získá dokument v daném formátu Obtain document in given format

Získá dokument v daném formátu Obtain document in given format

Parameters

$format
pdf/csv/xml/json/ ...
$reportName
Template used to generate PDF
$lang
cs|sk|en|de Template language used to generate PDF
$sign
sign resulting PDF by certificate ?

Returns

string|null
filename downloaded or none

Link

PDF Exports
public string|null
# downloadInFormat( string $format, string $destDir = './', string $reportName = null )

Uloží dokument v daném formátu do složky v systému souborů Save document in given format to directory in filesystem

Uloží dokument v daném formátu do složky v systému souborů Save document in given format to directory in filesystem

Parameters

$format
pdf/csv/xml/json/ ...
$destDir
where to put file (prefix)
$reportName
Template used to generate PDF

Returns

string|null
filename downloaded or none
public integer
# takeData( array $data )

Take data for object. separate external IDs

Take data for object. separate external IDs

Parameters

$data
Data to keep

Returns

integer
number of records taken
public array
# getReportsInfo( )

Get Current Evidence reports listing

Get Current Evidence reports listing

Returns

array

Link

Výběr reportu do PDF
public string
# requestAuthSessionID( string $username, string $password, string $otp = null )

Request authSessionId from current server

Request authSessionId from current server

Parameters

$username
$password
$otp
optional onetime password

Returns

string
authUserId or null in case of problems

Link

description
public boolean
# login( )

Try to Sign in current user to FlexiBee and keep authSessionId

Try to Sign in current user to FlexiBee and keep authSessionId

Returns

boolean
sign in success
public array
# logout( string $username = null )

End (current's user) session

End (current's user) session

Parameters

$username
force username to sign off

Returns

array
server response

Link

Logout Reference
public
# error500Reporter( array $errorResponse )

Compile and send Report about Error500 to FlexiBee developers If FlexiBee is running on localost try also include java backtrace

Compile and send Report about Error500 to FlexiBee developers If FlexiBee is running on localost try also include java backtrace

Parameters

$errorResponse
result of parseError();
public static string
# code( string $code )

Returns code:CODE

Returns code:CODE

Parameters

$code

Returns

string
public static string
# uncode( string $code )

Returns CODE without code: prefix

Returns CODE without code: prefix

Parameters

$code

Returns

string
public static array
# arrayCleanUP( array $data )

Remove all @ items from array

Remove all @ items from array

Parameters

$data
original data

Returns

array
data without @ columns
public
# logBanner( string $additions = null )

Add Info about used user, server and libraries

Add Info about used user, server and libraries

Parameters

$additions
Additional note text
public string
# getLastOperationType( )

Get Last operation type

Get Last operation type

Returns

string
create|read|update|delete or update,insert for some inserted and updated in one transaction
public
# __wakeup( )

Reconnect After unserialization

Reconnect After unserialization

Properties summary
public static string $infoDir

Where to get JSON files with evidence stricture etc.

Where to get JSON files with evidence stricture etc.

# __DIR__.'/../../static'
public static string $libVersion

Version of FlexiPeeHP library

Version of FlexiPeeHP library

# '1.30'
public string $nameSpace

Základní namespace pro komunikaci s FlexiBee. Basic namespace for communication with FlexiBee

Základní namespace pro komunikaci s FlexiBee. Basic namespace for communication with FlexiBee

# 'winstrom'
public string $apiURL

URL of object data in FlexiBee

URL of object data in FlexiBee

# null
public string $resultField

Datový blok v poli odpovědi. Data block in response field.

Datový blok v poli odpovědi. Data block in response field.

# 'results'
public string $protoVersion

Verze protokolu použitého pro komunikaci. Communication protocol version used.

Verze protokolu použitého pro komunikaci. Communication protocol version used.

# '1.0'
public string $evidence

Evidence užitá objektem. Evidence used by object

Evidence užitá objektem. Evidence used by object

Link

Přehled evidencí
# null
public array $evidenceInfo

Detaily evidence užité objektem

Detaily evidence užité objektem

# []
public string $format

Výchozí formát pro komunikaci. Default communication format.

Výchozí formát pro komunikaci. Default communication format.

Link

Přehled možných formátů
# 'json'
public string $responseFormat

formát příchozí odpovědi response format

formát příchozí odpovědi response format

Link

Přehled možných formátů
# 'json'
public resource $curl

Curl Handle.

Curl Handle.

# null
public string $company

Link

Identifikátor firmy
# null
public string $url

Server[:port]

Server[:port]

# null
public string $user

REST API Username

REST API Username

# null
public string $password

REST API Password

REST API Password

# null
public array $defaultHttpHeaders

Pole HTTP hlaviček odesílaných s každým požadavkem

Pole HTTP hlaviček odesílaných s každým požadavkem

# ['User-Agent' => 'FlexiPeeHP']
public array $defaultUrlParams

Default additional request url parameters after question mark

Default additional request url parameters after question mark

Link

Common params
Paging params
# ['limit' => 0]
public string $init

Identifikační řetězec.

Identifikační řetězec.

# null
public string $nameColumn

Sloupeček s názvem.

Sloupeček s názvem.

# 'nazev'
public string $myCreateColumn

Sloupeček obsahující datum vložení záznamu do shopu.

Sloupeček obsahující datum vložení záznamu do shopu.

# 'false'
public string $myLastModifiedColumn

Slopecek obsahujici datum poslení modifikace záznamu do shopu.

Slopecek obsahujici datum poslení modifikace záznamu do shopu.

# 'lastUpdate'
public string $fbKeyColumn

Klíčový idendifikátor záznamu.

Klíčový idendifikátor záznamu.

# 'id'
public * $curlInfo

Informace o posledním HTTP requestu.

Informace o posledním HTTP requestu.

#
public string $lastCurlError

Informace o poslední HTTP chybě.

Informace o poslední HTTP chybě.

# null
public array $codes

Used codes storage.

Used codes storage.

# null
public integer $lastInsertedID

Last Inserted ID.

Last Inserted ID.

# null
public string $prefix

Default Line Prefix.

Default Line Prefix.

# '/c/'
public string $lastCurlResponse

Raw Content of last curl response

Raw Content of last curl response

#
public integer $lastResponseCode

HTTP Response code of last request

HTTP Response code of last request

# null
protected string $postFields

Body data for next curl POST operation

Body data for next curl POST operation

# null
public array $lastResult

Last operation result data or message(s)

Last operation result data or message(s)

# null
public integer $rowCount

Number from @rowCount in response

Number from @rowCount in response

# null
public integer $globalVersion

Number from @globalVersion

Number from @globalVersion

# null
public string $filter

filter query

filter query

Link

https://www.flexibee.eu/api/dokumentace/ref/zamykani-odemykani/
#
protected string $action

Link

Provádění akcí
#
public array $actionsAvailable

Pole akcí které podporuje ta která evidence

Pole akcí které podporuje ta která evidence

Link

Např. Akce faktury
# null
public array $urlParams

Parmetry pro URL

Parmetry pro URL

Link

Všechny podporované parametry
# [ 'add-global-version', 'add-row-count', 'as-gui', 'auth', 'authSessionId', 'code-as-id', 'code-in-response', 'delimeter', 'detail', //See: https://www.flexibee.eu/api/dokumentace/ref/detail-levels 'dir', 'dry-run', // See: https://www.flexibee.eu/api/dokumentace/ref/dry-run/ 'encoding', 'export-settings', 'fail-on-warning', 'filter', 'format', 'idUcetniObdobi', 'includes', 'inDesktopApp', // Note: Undocumented function (html only) 'limit', 'mode', 'no-ext-ids', 'no-http-errors', 'no-ids', 'only-ext-ids', 'order', 'relations', 'report-lang', 'report-name', 'report-sign', 'skupina-stitku', 'sort', 'start', 'stitky-as-ids', 'use-ext-id', 'use-internal-id', 'xpath', // See: https://www.flexibee.eu/api/dokumentace/ref/xpath/ ]
public string $authSessionId

Session ID

Session ID

# null
public string $refreshToken

Token obtained during login procedure

Token obtained during login procedure

# null
protected boolean $ignoreNotFound

Save 404 results to log ?

Save 404 results to log ?

# false
public string $reportRecipient

Send Error500 Report to

Send Error500 Report to

# 'podpora@flexibee.eu'
public static string $DateTimeFormat

Formating string for \DateTime::format() for datetime columns

Formating string for \DateTime::format() for datetime columns

# 'Y-m-d\TH:i:s.u+P'
public static string $DateFormat

Formating string for \DateTime::format() for date columns

Formating string for \DateTime::format() for date columns

# 'Y-m-d'
protected array $responseStats

Last Request response stats

Last Request response stats

# null
public array $chained

Chained Objects

Chained Objects

# []
public boolean $offline

We Connect to server by default

We Connect to server by default

# false
public integer $timeout

Override cURL timeout

Override cURL timeout

# null
FlexiPeeHP API documentation generated by ApiGen