Documentation TYPO3 par Ameos |
Public Member Functions | |
makeFieldList () | |
init ($name, $table, $fieldList='') | |
setAndCleanUpExternalLists ($name, $list, $force='') | |
procesData ($qC='') | |
cleanUpQueryConfig ($queryConfig) | |
getFormElements ($subLevel=0, $queryConfig='', $parent='') | |
makeOptionList ($fN, $conf, $table) | |
printCodeArray ($codeArr, $l=0) | |
formatQ ($str) | |
mkOperatorSelect ($name, $op, $draw, $submit) | |
mkTypeSelect ($name, $fieldName, $prepend='FIELD_') | |
verifyType ($fieldName) | |
verifyComparison ($comparison, $neg) | |
mkFieldToInputSelect ($name, $fieldName) | |
mkTableSelect ($name, $cur) | |
mkCompSelect ($name, $comparison, $neg) | |
getSubscript ($arr) | |
initUserDef () | |
userDef () | |
userDefCleanUp ($queryConfig) | |
getQuery ($queryConfig, $pad='') | |
getQuerySingle ($conf, $first) | |
cleanInputVal ($conf, $suffix='') | |
getUserDefQuery ($qcArr) | |
updateIcon () | |
getLabelCol () | |
makeSelectorTable ($modSettings, $enableList='table, fields, query, group, order, limit') | |
getTreeList ($id, $depth, $begin=0, $perms_clause) | |
getSelectQuery ($qString= '', $fN= '') | |
JSbottom ($formname='forms[0]') | |
Public Attributes | |
$lang | |
$compSQL | |
$comp_offsets | |
$noWrap = ' nowrap' | |
$name | |
$table | |
$fieldList | |
$fields = array() | |
$extFieldLists = array() | |
$queryConfig = array() | |
$enablePrefix = 0 | |
$enableQueryParts = 0 | |
$extJSCODE = '' |
Definition at line 98 of file class.t3lib_querygenerator.php.
t3lib_queryGenerator::makeFieldList | ( | ) |
Definition at line 245 of file class.t3lib_querygenerator.php.
References t3lib_div::loadTCA().
Referenced by init().
t3lib_queryGenerator::init | ( | $ | name, | |
$ | table, | |||
$ | fieldList = '' | |||
) |
[Describe function...]
[type] | $name: ... | |
[type] | $table: ... | |
[type] | $fieldList: ... |
Definition at line 273 of file class.t3lib_querygenerator.php.
References $fieldList, $name, $table, initUserDef(), t3lib_div::loadTCA(), makeFieldList(), and t3lib_div::trimExplode().
t3lib_queryGenerator::setAndCleanUpExternalLists | ( | $ | name, | |
$ | list, | |||
$ | force = '' | |||
) |
[Describe function...]
[type] | $name: ... | |
[type] | $list: ... | |
[type] | $force: ... |
Definition at line 410 of file class.t3lib_querygenerator.php.
References $fields, $name, and t3lib_div::trimExplode().
Referenced by makeSelectorTable().
t3lib_queryGenerator::procesData | ( | $ | qC = '' |
) |
[Describe function...]
[type] | $qC: ... |
Definition at line 426 of file class.t3lib_querygenerator.php.
References t3lib_div::_POST(), and getSubscript().
Referenced by makeSelectorTable().
t3lib_queryGenerator::cleanUpQueryConfig | ( | $ | queryConfig | ) |
[Describe function...]
[type] | $queryConfig: ... |
Definition at line 529 of file class.t3lib_querygenerator.php.
References $queryConfig, cleanInputVal(), userDefCleanUp(), verifyComparison(), and verifyType().
Referenced by makeSelectorTable().
t3lib_queryGenerator::getFormElements | ( | $ | subLevel = 0 , |
|
$ | queryConfig = '' , |
|||
$ | parent = '' | |||
) |
[Describe function...]
[type] | $subLevel: ... | |
[type] | $queryConfig: ... | |
[type] | $parent: ... |
Definition at line 586 of file class.t3lib_querygenerator.php.
References $queryConfig, getQuerySingle(), makeOptionList(), mkCompSelect(), mkOperatorSelect(), mkTypeSelect(), updateIcon(), and userDef().
Referenced by makeSelectorTable().
t3lib_queryGenerator::makeOptionList | ( | $ | fN, | |
$ | conf, | |||
$ | table | |||
) |
[Describe function...]
[type] | $codeArr: ... | |
[type] | $l: ... | |
[type] | $table: ... |
Definition at line 744 of file class.t3lib_querygenerator.php.
References $table, t3lib_BEfunc::deleteClause(), t3lib_div::getIndpEnv(), t3lib_div::inList(), and t3lib_div::loadTCA().
Referenced by getFormElements().
t3lib_queryGenerator::printCodeArray | ( | $ | codeArr, | |
$ | l = 0 | |||
) |
[Describe function...]
[type] | $codeArr: ... | |
[type] | $l: ... |
Definition at line 953 of file class.t3lib_querygenerator.php.
References t3lib_div::modifyHTMLColor().
Referenced by makeSelectorTable().
t3lib_queryGenerator::formatQ | ( | $ | str | ) |
[Describe function...]
[type] | $str: ... |
Definition at line 976 of file class.t3lib_querygenerator.php.
t3lib_queryGenerator::mkOperatorSelect | ( | $ | name, | |
$ | op, | |||
$ | draw, | |||
$ | submit | |||
) |
[Describe function...]
[type] | $name: ... | |
[type] | $op: ... | |
[type] | $draw: ... | |
[type] | $submit: ... |
Definition at line 989 of file class.t3lib_querygenerator.php.
Referenced by getFormElements().
t3lib_queryGenerator::mkTypeSelect | ( | $ | name, | |
$ | fieldName, | |||
$ | prepend = 'FIELD_' | |||
) |
[Describe function...]
[type] | $name: ... | |
[type] | $fieldName: ... | |
[type] | $prepend: ... |
Definition at line 1011 of file class.t3lib_querygenerator.php.
Referenced by getFormElements(), and makeSelectorTable().
t3lib_queryGenerator::verifyType | ( | $ | fieldName | ) |
[Describe function...]
[type] | $fieldName: ... |
Definition at line 1032 of file class.t3lib_querygenerator.php.
Referenced by cleanUpQueryConfig().
t3lib_queryGenerator::verifyComparison | ( | $ | comparison, | |
$ | neg | |||
) |
[Describe function...]
[type] | $comparison: ... | |
[type] | $neg: ... |
Definition at line 1049 of file class.t3lib_querygenerator.php.
Referenced by cleanUpQueryConfig().
t3lib_queryGenerator::mkFieldToInputSelect | ( | $ | name, | |
$ | fieldName | |||
) |
[Describe function...]
[type] | $name: ... | |
[type] | $fieldName: ... |
Definition at line 1068 of file class.t3lib_querygenerator.php.
References updateIcon().
Referenced by makeSelectorTable().
t3lib_queryGenerator::mkTableSelect | ( | $ | name, | |
$ | cur | |||
) |
[Describe function...]
[type] | $name: ... | |
[type] | $cur: ... |
Definition at line 1091 of file class.t3lib_querygenerator.php.
Referenced by makeSelectorTable().
t3lib_queryGenerator::mkCompSelect | ( | $ | name, | |
$ | comparison, | |||
$ | neg | |||
) |
[Describe function...]
[type] | $name: ... | |
[type] | $comparison: ... | |
[type] | $neg: ... |
Definition at line 1113 of file class.t3lib_querygenerator.php.
Referenced by getFormElements().
t3lib_queryGenerator::getSubscript | ( | $ | arr | ) |
[Describe function...]
[type] | $arr: ... |
Definition at line 1131 of file class.t3lib_querygenerator.php.
Referenced by procesData().
t3lib_queryGenerator::initUserDef | ( | ) |
[Describe function...]
Definition at line 1146 of file class.t3lib_querygenerator.php.
Referenced by init().
t3lib_queryGenerator::userDef | ( | ) |
[Describe function...]
Definition at line 1155 of file class.t3lib_querygenerator.php.
Referenced by getFormElements().
t3lib_queryGenerator::userDefCleanUp | ( | $ | queryConfig | ) |
[Describe function...]
[type] | $queryConfig: ... |
Definition at line 1164 of file class.t3lib_querygenerator.php.
References $queryConfig.
Referenced by cleanUpQueryConfig().
t3lib_queryGenerator::getQuery | ( | $ | queryConfig, | |
$ | pad = '' | |||
) |
[Describe function...]
[type] | $queryConfig: ... | |
[type] | $pad: ... |
Definition at line 1175 of file class.t3lib_querygenerator.php.
References $queryConfig.
Referenced by getSelectQuery().
t3lib_queryGenerator::getQuerySingle | ( | $ | conf, | |
$ | first | |||
) |
[Describe function...]
[type] | $conf: ... | |
[type] | $first: ... |
Definition at line 1205 of file class.t3lib_querygenerator.php.
References cleanInputVal().
Referenced by getFormElements().
t3lib_queryGenerator::cleanInputVal | ( | $ | conf, | |
$ | suffix = '' | |||
) |
[Describe function...]
[type] | $conf: ... | |
[type] | $suffix: ... |
Definition at line 1245 of file class.t3lib_querygenerator.php.
References t3lib_div::intExplode().
Referenced by cleanUpQueryConfig(), and getQuerySingle().
t3lib_queryGenerator::getUserDefQuery | ( | $ | qcArr | ) |
[Describe function...]
[type] | $qcArr: ... |
Definition at line 1270 of file class.t3lib_querygenerator.php.
t3lib_queryGenerator::updateIcon | ( | ) |
[Describe function...]
Definition at line 1278 of file class.t3lib_querygenerator.php.
Referenced by getFormElements(), makeSelectorTable(), and mkFieldToInputSelect().
t3lib_queryGenerator::getLabelCol | ( | ) |
[Describe function...]
Definition at line 1287 of file class.t3lib_querygenerator.php.
Referenced by makeSelectorTable().
t3lib_queryGenerator::makeSelectorTable | ( | $ | modSettings, | |
$ | enableList = 'table , |
|||
fields | , | |||
query | , | |||
group | , | |||
order | , | |||
limit' | ||||
) |
[Describe function...]
[type] | $modSettings: ... | |
[type] | $enableList: ... |
Definition at line 1299 of file class.t3lib_querygenerator.php.
References cleanUpQueryConfig(), getFormElements(), getLabelCol(), t3lib_div::intExplode(), JSbottom(), mkFieldToInputSelect(), mkTableSelect(), mkTypeSelect(), printCodeArray(), procesData(), setAndCleanUpExternalLists(), and updateIcon().
t3lib_queryGenerator::getTreeList | ( | $ | id, | |
$ | depth, | |||
$ | begin = 0 , |
|||
$ | perms_clause | |||
) |
[Describe function...]
[type] | $qString: ... | |
[type] | $depth: ... | |
[type] | $begin: ... | |
[type] | $perms_clause: ... |
Definition at line 1431 of file class.t3lib_querygenerator.php.
References t3lib_BEfunc::deleteClause().
t3lib_queryGenerator::getSelectQuery | ( | $ | qString = '' , |
|
$ | fN = '' | |||
) |
[Describe function...]
[type] | $qString: ... | |
[type] | $fN: ... |
Definition at line 1465 of file class.t3lib_querygenerator.php.
References t3lib_BEfunc::deleteClause(), and getQuery().
t3lib_queryGenerator::JSbottom | ( | $ | formname = 'forms[0]' |
) |
[Describe function...]
[type] | $formname: ... |
Definition at line 1504 of file class.t3lib_querygenerator.php.
Referenced by makeSelectorTable().
t3lib_queryGenerator::$comp_offsets |
Initial value:
array(
'text' => 0,
'number' => 1,
'multiple' => 2,
'relation' => 2,
'files' => 2,
'date' => 3,
'time' => 3,
'boolean' => 4,
'binary' => 5
)
Definition at line 213 of file class.t3lib_querygenerator.php.