yatdl
extends staticModel
in
YaML Table Definition Language<br> Parse Wrapper<br> uses \nkorg\yatdl\parser as of FPCM 3.6
Table of Contents
$parser | Datentypen mit Längen-Angabe | yatdl |
---|---|---|
$data | Data array | array |
$cache | Cache object | cache |
$events | Event list | events |
$config | Config object | config |
$language | Sprachobjekt | language |
$session | Session objekt | session |
$notifications | Notifications | notifications |
$permissions | Permissions | permissions |
$cacheName | Cache name | string |
$cacheModule | Cache Modul | string |
__construct() | Constructore | void |
setTablePrefix() | Setzt zusätzliches Tabellen-Prefix | mixed |
parse() | Parst Array aus YAML-String in SQL-String | bool |
getSqlString() | Gibt fertigen SQL-String zurück | string |
dumpYamlArray() | Debug-Ausgabe von geparstem YAML-String | void |
getArray() | Gibt geparsten YAML-String als Array zurück | array |
__construct() | Konstruktor | void |
getCacheName() | Cache-Name zurückgeben | string |
Properties
$parser
Datentypen mit Längen-Angabe
protected
yatdl
$parser
$data
Data array
protected
array
$data
$cache
Cache object
protected
cache
$cache
$events
Event list
protected
events
$events
$config
Config object
protected
config
$config
$language
Sprachobjekt
protected
language
$language
$session
Session objekt
protected
session
$session
$notifications
Notifications
protected
notifications
$notifications
$permissions
Permissions
protected
permissions
$permissions
$cacheName
Cache name
protected
string
$cacheName
= false
$cacheModule
Cache Modul
protected
string
$cacheModule
= ''
Methods
__construct()
Constructore
public
__construct(
$filePath :
string
)
: void
Parameters
- $filePath : string
setTablePrefix()
Setzt zusätzliches Tabellen-Prefix
public
setTablePrefix(
$tablePrefix :
string
)
: mixed
Parameters
- $tablePrefix : string
Tags
Return values
mixedparse()
Parst Array aus YAML-String in SQL-String
public
parse(
)
: bool
Return values
boolgetSqlString()
Gibt fertigen SQL-String zurück
public
getSqlString(
)
: string
Return values
stringdumpYamlArray()
Debug-Ausgabe von geparstem YAML-String
public
dumpYamlArray(
)
: void
getArray()
Gibt geparsten YAML-String als Array zurück
public
getArray(
)
: array
Tags
Return values
array__construct()
Konstruktor
public
__construct(
)
: void
getCacheName()
Cache-Name zurückgeben
public
getCacheName(
[ $addName :
string
= '' ]
)
: string
Parameters
- $addName : string = ''