Documentation TYPO3 par Ameos

t3lib_queryGenerator Class Reference

List of all members.

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 = ''

Detailed Description

Definition at line 98 of file class.t3lib_querygenerator.php.


Member Function Documentation

t3lib_queryGenerator::makeFieldList (  ) 

Returns:
[type] ...

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...]

Parameters:
[type] $name: ...
[type] $table: ...
[type] $fieldList: ...
Returns:
[type] ...

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...]

Parameters:
[type] $name: ...
[type] $list: ...
[type] $force: ...
Returns:
[type] ...

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...]

Parameters:
[type] $qC: ...
Returns:
[type] ...

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...]

Parameters:
[type] $queryConfig: ...
Returns:
[type] ...

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...]

Parameters:
[type] $subLevel: ...
[type] $queryConfig: ...
[type] $parent: ...
Returns:
[type] ...

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...]

Parameters:
[type] $codeArr: ...
[type] $l: ...
[type] $table: ...
Returns:
[type] ...

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...]

Parameters:
[type] $codeArr: ...
[type] $l: ...
Returns:
[type] ...

Definition at line 953 of file class.t3lib_querygenerator.php.

References t3lib_div::modifyHTMLColor().

Referenced by makeSelectorTable().

t3lib_queryGenerator::formatQ ( str  ) 

[Describe function...]

Parameters:
[type] $str: ...
Returns:
[type] ...

Definition at line 976 of file class.t3lib_querygenerator.php.

t3lib_queryGenerator::mkOperatorSelect ( name,
op,
draw,
submit 
)

[Describe function...]

Parameters:
[type] $name: ...
[type] $op: ...
[type] $draw: ...
[type] $submit: ...
Returns:
[type] ...

Definition at line 989 of file class.t3lib_querygenerator.php.

Referenced by getFormElements().

t3lib_queryGenerator::mkTypeSelect ( name,
fieldName,
prepend = 'FIELD_' 
)

[Describe function...]

Parameters:
[type] $name: ...
[type] $fieldName: ...
[type] $prepend: ...
Returns:
[type] ...

Definition at line 1011 of file class.t3lib_querygenerator.php.

Referenced by getFormElements(), and makeSelectorTable().

t3lib_queryGenerator::verifyType ( fieldName  ) 

[Describe function...]

Parameters:
[type] $fieldName: ...
Returns:
[type] ...

Definition at line 1032 of file class.t3lib_querygenerator.php.

Referenced by cleanUpQueryConfig().

t3lib_queryGenerator::verifyComparison ( comparison,
neg 
)

[Describe function...]

Parameters:
[type] $comparison: ...
[type] $neg: ...
Returns:
[type] ...

Definition at line 1049 of file class.t3lib_querygenerator.php.

Referenced by cleanUpQueryConfig().

t3lib_queryGenerator::mkFieldToInputSelect ( name,
fieldName 
)

[Describe function...]

Parameters:
[type] $name: ...
[type] $fieldName: ...
Returns:
[type] ...

Definition at line 1068 of file class.t3lib_querygenerator.php.

References updateIcon().

Referenced by makeSelectorTable().

t3lib_queryGenerator::mkTableSelect ( name,
cur 
)

[Describe function...]

Parameters:
[type] $name: ...
[type] $cur: ...
Returns:
[type] ...

Definition at line 1091 of file class.t3lib_querygenerator.php.

Referenced by makeSelectorTable().

t3lib_queryGenerator::mkCompSelect ( name,
comparison,
neg 
)

[Describe function...]

Parameters:
[type] $name: ...
[type] $comparison: ...
[type] $neg: ...
Returns:
[type] ...

Definition at line 1113 of file class.t3lib_querygenerator.php.

Referenced by getFormElements().

t3lib_queryGenerator::getSubscript ( arr  ) 

[Describe function...]

Parameters:
[type] $arr: ...
Returns:
[type] ...

Definition at line 1131 of file class.t3lib_querygenerator.php.

Referenced by procesData().

t3lib_queryGenerator::initUserDef (  ) 

[Describe function...]

Returns:
[type] ...

Definition at line 1146 of file class.t3lib_querygenerator.php.

Referenced by init().

t3lib_queryGenerator::userDef (  ) 

[Describe function...]

Returns:
[type] ...

Definition at line 1155 of file class.t3lib_querygenerator.php.

Referenced by getFormElements().

t3lib_queryGenerator::userDefCleanUp ( queryConfig  ) 

[Describe function...]

Parameters:
[type] $queryConfig: ...
Returns:
[type] ...

Definition at line 1164 of file class.t3lib_querygenerator.php.

References $queryConfig.

Referenced by cleanUpQueryConfig().

t3lib_queryGenerator::getQuery ( queryConfig,
pad = '' 
)

[Describe function...]

Parameters:
[type] $queryConfig: ...
[type] $pad: ...
Returns:
[type] ...

Definition at line 1175 of file class.t3lib_querygenerator.php.

References $queryConfig.

Referenced by getSelectQuery().

t3lib_queryGenerator::getQuerySingle ( conf,
first 
)

[Describe function...]

Parameters:
[type] $conf: ...
[type] $first: ...
Returns:
[type] ...

Definition at line 1205 of file class.t3lib_querygenerator.php.

References cleanInputVal().

Referenced by getFormElements().

t3lib_queryGenerator::cleanInputVal ( conf,
suffix = '' 
)

[Describe function...]

Parameters:
[type] $conf: ...
[type] $suffix: ...
Returns:
[type] ...

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...]

Parameters:
[type] $qcArr: ...
Returns:
[type] ...

Definition at line 1270 of file class.t3lib_querygenerator.php.

t3lib_queryGenerator::updateIcon (  ) 

[Describe function...]

Returns:
[type] ...

Definition at line 1278 of file class.t3lib_querygenerator.php.

Referenced by getFormElements(), makeSelectorTable(), and mkFieldToInputSelect().

t3lib_queryGenerator::getLabelCol (  ) 

[Describe function...]

Returns:
[type] ...

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...]

Parameters:
[type] $modSettings: ...
[type] $enableList: ...
Returns:
[type] ...

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...]

Parameters:
[type] $qString: ...
[type] $depth: ...
[type] $begin: ...
[type] $perms_clause: ...
Returns:
[type] ...

Definition at line 1431 of file class.t3lib_querygenerator.php.

References t3lib_BEfunc::deleteClause().

t3lib_queryGenerator::getSelectQuery ( qString = '',
fN = '' 
)

[Describe function...]

Parameters:
[type] $qString: ...
[type] $fN: ...
Returns:
[type] ...

Definition at line 1465 of file class.t3lib_querygenerator.php.

References t3lib_BEfunc::deleteClause(), and getQuery().

t3lib_queryGenerator::JSbottom ( formname = 'forms[0]'  ) 

[Describe function...]

Parameters:
[type] $formname: ...
Returns:
[type] ...

Definition at line 1504 of file class.t3lib_querygenerator.php.

Referenced by makeSelectorTable().


Member Data Documentation

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.


The documentation for this class was generated from the following file:


Généré par Les experts TYPO3 avec  doxygen 1.4.6