TYPO3
7.6
|
Public Member Functions | |
__construct () | |
form () | |
makeStoreControl () | |
initStoreArray () | |
cleanStoreQueryConfigs ($storeQueryConfigs, $storeArray) | |
addToStoreQueryConfigs ($storeQueryConfigs, $index) | |
loadStoreQueryConfigs ($storeQueryConfigs, $storeIndex, $writeArray) | |
procesStoreControl () | |
queryMaker () | |
getQueryResultCode ($mQ, $res, $table) | |
csvValues ($row, $delim= ',', $quote= '"', $conf = array(), $table = '') | |
tableWrap ($str) | |
search () | |
resultRowDisplay ($row, $conf, $table) | |
getProcessedValueExtra ($table, $fieldName, $fieldValue, $conf, $splitString) | |
getTreeList ($id, $depth, $begin=0, $perms_clause) | |
makeValueList ($fieldName, $fieldValue, $conf, $table, $splitString) | |
resultRowTitles ($row, $conf, $table) | |
csvRowTitles ($row, $conf, $table) | |
setFormName ($formName) | |
Public Attributes | |
$storeList = 'search_query_smallparts,search_result_labels,labels_noprefix,show_deleted,queryConfig,queryTable,queryFields,queryLimit,queryOrder,queryOrderDesc,queryOrder2,queryOrder2Desc,queryGroup,search_query_makeQuery' | |
$downloadScript = 'index.php' | |
$formW = 48 | |
$noDownloadB = 0 | |
$hookArray = array() | |
Protected Attributes | |
$formName = '' | |
$iconFactory | |
Class used in module tools/dbint (advanced search) and which may hold code specific for that module However the class has a general principle in it which may be used in the web/export module.
Definition at line 26 of file QueryView.php.
__construct | ( | ) |
constructor
Definition at line 66 of file QueryView.php.
References $GLOBALS, and GeneralUtility\makeInstance().
addToStoreQueryConfigs | ( | $storeQueryConfigs, | |
$index | |||
) |
Add to store query configs
array | $storeQueryConfigs | |
int | $index |
Definition at line 171 of file QueryView.php.
References $GLOBALS.
Referenced by QueryView\procesStoreControl().
cleanStoreQueryConfigs | ( | $storeQueryConfigs, | |
$storeArray | |||
) |
Clean store query configs
array | $storeQueryConfigs | |
array | $storeArray |
Definition at line 152 of file QueryView.php.
Referenced by QueryView\procesStoreControl().
csvRowTitles | ( | $row, | |
$conf, | |||
$table | |||
) |
CSV row titles
array | $row | |
array | $conf | |
mixed | $table | Not used |
Definition at line 1007 of file QueryView.php.
csvValues | ( | $row, | |
$delim = ',' , |
|||
$quote = '"' , |
|||
$conf = array() , |
|||
$table = '' |
|||
) |
CSV values
array | $row | |
string | $delim | |
string | $quote | |
array | $conf | |
string | $table |
Definition at line 472 of file QueryView.php.
Referenced by QueryView\getQueryResultCode().
form | ( | ) |
getProcessedValueExtra | ( | $table, | |
$fieldName, | |||
$fieldValue, | |||
$conf, | |||
$splitString | |||
) |
Get processed value extra
string | $table | |
string | $fieldName | |
string | $fieldValue | |
array | $conf | Not used |
string | $splitString |
Definition at line 613 of file QueryView.php.
getQueryResultCode | ( | $mQ, | |
$res, | |||
$table | |||
) |
Get query result code
string | $mQ | |
bool | \mysqli_result | object | $res | MySQLi result object / DBAL object |
string | $table |
Definition at line 389 of file QueryView.php.
References $GLOBALS, GeneralUtility\callUserFunction(), QueryView\csvValues(), QueryView\resultRowDisplay(), and QueryView\resultRowTitles().
Referenced by QueryView\queryMaker().
getTreeList | ( | $id, | |
$depth, | |||
$begin = 0 , |
|||
$perms_clause | |||
) |
Get tree list
int | $id | |
int | $depth | |
int | $begin | |
string | $perms_clause |
Definition at line 728 of file QueryView.php.
initStoreArray | ( | ) |
Init store array
Definition at line 133 of file QueryView.php.
References $GLOBALS.
Referenced by QueryView\makeStoreControl(), and QueryView\procesStoreControl().
loadStoreQueryConfigs | ( | $storeQueryConfigs, | |
$storeIndex, | |||
$writeArray | |||
) |
Load store query configs
array | $storeQueryConfigs | |
int | $storeIndex | |
array | $writeArray |
Definition at line 232 of file QueryView.php.
Referenced by QueryView\procesStoreControl().
makeStoreControl | ( | ) |
Make store control
Definition at line 94 of file QueryView.php.
References $GLOBALS, and QueryView\initStoreArray().
Referenced by QueryView\queryMaker().
makeValueList | ( | $fieldName, | |
$fieldValue, | |||
$conf, | |||
$table, | |||
$splitString | |||
) |
Make value list
string | $fieldName | |
string | $fieldValue | |
array | $conf | |
string | $table | |
string | $splitString |
Definition at line 766 of file QueryView.php.
procesStoreControl | ( | ) |
Process store control
Definition at line 248 of file QueryView.php.
References $GLOBALS, GeneralUtility\_GP(), QueryView\addToStoreQueryConfigs(), QueryView\cleanStoreQueryConfigs(), elseif, AbstractMessage\ERROR, BackendUtility\getModuleData(), BackendUtility\getRecord(), QueryView\initStoreArray(), QueryView\loadStoreQueryConfigs(), and GeneralUtility\makeInstance().
Referenced by QueryView\queryMaker().
queryMaker | ( | ) |
Query marker
Definition at line 325 of file QueryView.php.
References $GLOBALS, BackendUtility\deleteClause(), QueryView\getQueryResultCode(), GeneralUtility\makeInstance(), QueryView\makeStoreControl(), QueryView\procesStoreControl(), and QueryView\tableWrap().
resultRowDisplay | ( | $row, | |
$conf, | |||
$table | |||
) |
Result row display
array | $row | |
array | $conf | |
string | $table |
Definition at line 548 of file QueryView.php.
Referenced by QueryView\getQueryResultCode().
resultRowTitles | ( | $row, | |
$conf, | |||
$table | |||
) |
Render table header
array | $row | Table columns |
array | $conf | Table TCA |
string | $table | Table name |
Definition at line 975 of file QueryView.php.
Referenced by QueryView\getQueryResultCode().
search | ( | ) |
setFormName | ( | $formName | ) |
Sets the current name of the input form.
string | $formName | The name of the form. |
Definition at line 1037 of file QueryView.php.
tableWrap | ( | $str | ) |
Table wrap
string | $str |
Definition at line 489 of file QueryView.php.
Referenced by QueryView\queryMaker().
$downloadScript = 'index.php' |
Definition at line 36 of file QueryView.php.
|
protected |
Definition at line 56 of file QueryView.php.
$formW = 48 |
Definition at line 41 of file QueryView.php.
$hookArray = array() |
Definition at line 51 of file QueryView.php.
|
protected |
Definition at line 61 of file QueryView.php.
$noDownloadB = 0 |
Definition at line 46 of file QueryView.php.
$storeList = 'search_query_smallparts,search_result_labels,labels_noprefix,show_deleted,queryConfig,queryTable,queryFields,queryLimit,queryOrder,queryOrderDesc,queryOrder2,queryOrder2Desc,queryGroup,search_query_makeQuery' |
Definition at line 31 of file QueryView.php.