Public Member Functions | |
| __construct (DBConnectionCommon $dbConnection, $className) | |
| getClassName () | |
| getTableName () | |
| getPropertiesToColumnsTranslation () | |
| getIdPropertyName () | |
| getIdColumnName () | |
| getColumnName ($propertyName) | |
| getPropertyValue ($object, $propertyName) | |
| setPropertyValue ($object, $propertyName, $propertyValue) | |
| getQueryString ($qureyFactory, $methodName, $parametersCount, $queryHelpers) | |
| getCustomQueryString ($qureyFactory, $methodName, array $parameters, array $queryTypeParameters, $queryHelpers) | |
| getPropertyDescription ($propertyName) | |
| isPropertyFile ($propertyName) | |
Protected Member Functions | |
| initProperities ($className) | |
| getCommentDataType ($property) | |
| getPropertyDescriptions ($propertyDefinitions, $propertyTypes) | |
| getDocReader () | |
Protected Attributes | |
| $dbConnection | |
| $namingStrategy | |
| $className | |
| $classReflectionClass | |
| $reflectionProperties | |
| $tableName | |
| $propertyDescriptions = [] | |
| $propertiesToColumnsTranslation = [] | |
| $idPropertyName = "id" | |
| $log = NULL | |
Static Protected Attributes | |
| static | $docReader = NULL |
| static | $scalarTypes |
Obsahuje popis tridy potrebny pro vytvoreni dotazu a spetne naplneni objektu a podobjedku a kolekci
| __construct | ( | DBConnectionCommon | $dbConnection, |
| $className | |||
| ) |
| DBConnectionCommon | $dbConnection | |
| DBObject | $className |
| Exception |
| getClassName | ( | ) |
| getColumnName | ( | $propertyName | ) |
|
protected |
vytahne datovy typ z komentare u property v mapovane tride
| type | $property |
| getCustomQueryString | ( | $qureyFactory, | |
| $methodName, | |||
| array | $parameters, | ||
| array | $queryTypeParameters, | ||
| $queryHelpers | |||
| ) |
pro danou metodu vrati retezec sql dotazu
| type | $methodName | |
| type | $parametersCount | |
| type | $queryHelpers |
|
protected |
| getIdColumnName | ( | ) |
nazev sloupce, ktery obsahuje id
| getIdPropertyName | ( | ) |
nazev property, ktera obsahuje id objektu
| getPropertiesToColumnsTranslation | ( | ) |
vrati preklad vsech poperit objektu na jmena sloupcu
| getPropertyDescription | ( | $propertyName | ) |
| type | $propertyName |
| Exception |
|
protected |
| AbstractDefinition | $propertyDefinition | |
| class | string | $propertyType |
| getPropertyValue | ( | $object, | |
| $propertyName | |||
| ) |
returns value of property with name $propertyName from $object
| object | $object | |
| string | $propertyName |
| getQueryString | ( | $qureyFactory, | |
| $methodName, | |||
| $parametersCount, | |||
| $queryHelpers | |||
| ) |
pro danou metodu vrati retezec sql dotazu
| type | $methodName | |
| type | $parametersCount | |
| type | $queryHelpers |
| getTableName | ( | ) |
vrati nazev tabulky pro dany objekt
|
protected |
zpracuje pojmenovani properit
| class | $className |
| isPropertyFile | ( | $propertyName | ) |
| string | $className | Description |
| string | $propertyName |
| setPropertyValue | ( | $object, | |
| $propertyName, | |||
| $propertyValue | |||
| ) |
| mixed | $object | object property to be set to |
| strinc | $propertyName | name of the property to be set |
| mixed | $propertyValue | value of property to be set |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |