Properties

$instance

$instance : \qfq\Store

Type

\qfq\Store — Instance of class Store. There should only be one class 'Store' at a time.

$sip

$sip : \qfq\Sip

Type

\qfq\Sip — Instance of class SIP

$raw

$raw : array

Type

array — Stores all indiviudal stores with the variable raw values $raw['D']['id'] = 0 - Defaultvalues from Tabledefinition ... $raw['S']['r'] = 1234 - record ID from current SIP identifier ... $raw['C']['HTTP_SERVER'] = 'qfq' - Servername $raw['C']['s'] = 'badcaffee1234' - recent SIP

$sanitizeClass

$sanitizeClass : array

Type

array — Default sanitize classes.

$sanitizeStore

$sanitizeStore : array

$sanitizeClass['S'] = false $sanitizeClass['C'] = true

...

Type

array — each entry with true/false - depending if store needs to be sanitized.

$phpUnit

$phpUnit : 

Type

Methods

setVarArray()

setVarArray(array  $dataArray,   $store, boolean|false  $flagOverwrite = false) 

Parameters

array $dataArray
$store
boolean|false $flagOverwrite

Throws

\qfq\UserFormException
\qfq\CodeException

getVar()

getVar(string  $key, string  $useStores = STORE_USE_DEFAULT, string  $sanitizeClass = '', string  $foundInStore = '') : string

Cycles through all stores in $useStore.

First match will return the found value. During cycling: fill cache with requestet value and sanitize raw value.

Parameters

string $key
string $useStores

f.e.: 'FSRD'

string $sanitizeClass
string $foundInStore

Returns the name of the store where $key has been found. If $key is not found, return ''.

Throws

\qfq\CodeException

Returns

string —

a) if found: value, b) false

getInstance()

getInstance(string  $bodytext = '', boolean|false  $phpUnit = false) : null|\qfq\Store

Parameters

string $bodytext
boolean|false $phpUnit

Returns

null|\qfq\Store

unsetStore()

unsetStore(  $store) 

Parameters

$store

createSipAfterFormLoad()

createSipAfterFormLoad(  $formName) 

Parameters

$formName

Throws

\qfq\CodeException

getSipInstance()

getSipInstance() : null|\qfq\Sip

Returns

null|\qfq\Sip

setVar()

setVar(  $key,   $value,   $store, boolean|true  $overWrite = true) 

Parameters

$key
$value
$store
boolean|true $overWrite

Throws

\qfq\UserFormException

getStore()

getStore(  $store) : mixed

Parameters

$store

Returns

mixed

fillStoreTableDefaultColumnType()

fillStoreTableDefaultColumnType(  $tableName) 

Fills STORE_TABLE_DEFAULT and STORE_TABLE_COLUMN_TYPES

Parameters

$tableName

Throws

\qfq\CodeException

__construct()

__construct(string  $bodytext = '') 

Parameters

string $bodytext

fillSystemStore()

fillSystemStore() 

Throws

\qfq\CodeException
\qfq\UserFormException

fillStoreTypo3()

fillStoreTypo3(  $bodytext) 

Parameters

$bodytext

Throws

\qfq\CodeException

fillStoreClient()

fillStoreClient() 

Throws

\qfq\CodeException

fillStoreSip()

fillStoreSip() 

Throws

\qfq\CodeException
\qfq\UserFormException