TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Core\Database\QueryView Class Reference
Inheritance diagram for TYPO3\CMS\Core\Database\QueryView:
t3lib_fullsearch

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, $fN, $fV, $conf, $splitString)
 
 getTreeList ($id, $depth, $begin=0, $perms_clause)
 
 makeValueList ($fN, $fV, $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
 

Protected Attributes

 $formName = ''
 

Detailed Description

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.

Author
Kasper Skårhøj kaspe.nosp@m.rYYY.nosp@m.Y@typ.nosp@m.o3.c.nosp@m.om
Jo Hasenau info@.nosp@m.cybe.nosp@m.rcraf.nosp@m.t.de

Definition at line 27 of file QueryView.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Database\QueryView::__construct ( )

constructor

Definition at line 54 of file QueryView.php.

References $GLOBALS.

Member Function Documentation

◆ addToStoreQueryConfigs()

TYPO3\CMS\Core\Database\QueryView::addToStoreQueryConfigs (   $storeQueryConfigs,
  $index 
)

[Describe function...]

Parameters
array$storeQueryConfigs
integer$index
Returns
array
Todo:
Define visibility

Definition at line 151 of file QueryView.php.

References $GLOBALS, $uid, TYPO3\CMS\Backend\Utility\BackendUtility\deleteClause(), and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

Referenced by TYPO3\CMS\Core\Database\QueryView\procesStoreControl().

◆ cleanStoreQueryConfigs()

TYPO3\CMS\Core\Database\QueryView::cleanStoreQueryConfigs (   $storeQueryConfigs,
  $storeArray 
)

[Describe function...]

Parameters
array$storeQueryConfigs
array$storeArray
Returns
array
Todo:
Define visibility

Definition at line 132 of file QueryView.php.

Referenced by TYPO3\CMS\Core\Database\QueryView\procesStoreControl().

◆ csvRowTitles()

TYPO3\CMS\Core\Database\QueryView::csvRowTitles (   $row,
  $conf,
  $table 
)

[Describe function...]

Parameters
array$row
array$conf
mixed$tableNot used
Returns
string
Todo:
Define visibility

Definition at line 991 of file QueryView.php.

◆ csvValues()

TYPO3\CMS\Core\Database\QueryView::csvValues (   $row,
  $delim = ',',
  $quote = '"',
  $conf = array(),
  $table = '' 
)

[Describe function...]

Parameters
array$row
string$delim
string$quote
array$conf
string$table
Returns
string A single line of CSV
Todo:
Define visibility

Definition at line 452 of file QueryView.php.

Referenced by TYPO3\CMS\Core\Database\QueryView\getQueryResultCode().

◆ form()

TYPO3\CMS\Core\Database\QueryView::form ( )

[Describe function...]

Returns
string
Todo:
Define visibility

Definition at line 64 of file QueryView.php.

References $GLOBALS.

◆ getProcessedValueExtra()

TYPO3\CMS\Core\Database\QueryView::getProcessedValueExtra (   $table,
  $fN,
  $fV,
  $conf,
  $splitString 
)

[Describe function...]

Parameters
string$table
string$fN
string$fV
array$confNot used
string$splitString
Returns
string
Todo:
Define visibility

Definition at line 589 of file QueryView.php.

◆ getQueryResultCode()

TYPO3\CMS\Core\Database\QueryView::getQueryResultCode (   $mQ,
  $res,
  $table 
)

◆ getTreeList()

TYPO3\CMS\Core\Database\QueryView::getTreeList (   $id,
  $depth,
  $begin = 0,
  $perms_clause 
)

[Describe function...]

Parameters
integer$id
integer$depth
integer$begin
string$perms_clause
Returns
string
Todo:
Define visibility

Definition at line 711 of file QueryView.php.

◆ initStoreArray()

TYPO3\CMS\Core\Database\QueryView::initStoreArray ( )

[Describe function...]

Returns
array
Todo:
Define visibility

Definition at line 113 of file QueryView.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Core\Database\QueryView\makeStoreControl(), and TYPO3\CMS\Core\Database\QueryView\procesStoreControl().

◆ loadStoreQueryConfigs()

TYPO3\CMS\Core\Database\QueryView::loadStoreQueryConfigs (   $storeQueryConfigs,
  $storeIndex,
  $writeArray 
)

[Describe function...]

Parameters
array$storeQueryConfigs
integer$storeIndex
array$writeArray
Returns
array
Todo:
Define visibility

Definition at line 212 of file QueryView.php.

Referenced by TYPO3\CMS\Core\Database\QueryView\procesStoreControl().

◆ makeStoreControl()

TYPO3\CMS\Core\Database\QueryView::makeStoreControl ( )

[Describe function...]

Returns
string
Todo:
Define visibility

Definition at line 78 of file QueryView.php.

References $GLOBALS, and TYPO3\CMS\Core\Database\QueryView\initStoreArray().

Referenced by TYPO3\CMS\Core\Database\QueryView\queryMaker().

◆ makeValueList()

TYPO3\CMS\Core\Database\QueryView::makeValueList (   $fN,
  $fV,
  $conf,
  $table,
  $splitString 
)

[Describe function...]

Parameters
string$fN
string$fV
array$conf
string$table
string$splitString
Returns
string
Todo:
Define visibility

Definition at line 749 of file QueryView.php.

◆ procesStoreControl()

◆ queryMaker()

◆ resultRowDisplay()

TYPO3\CMS\Core\Database\QueryView::resultRowDisplay (   $row,
  $conf,
  $table 
)

[Describe function...]

Parameters
array$row
array$conf
string$table
Returns
string
Todo:
Define visibility

Definition at line 530 of file QueryView.php.

Referenced by TYPO3\CMS\Core\Database\QueryView\getQueryResultCode().

◆ resultRowTitles()

TYPO3\CMS\Core\Database\QueryView::resultRowTitles (   $row,
  $conf,
  $table 
)

Render table header

Parameters
array$rowTable columns
array$confTable TCA
string$tableTable name
Returns
string HTML of table header
Todo:
Define visibility

Definition at line 958 of file QueryView.php.

Referenced by TYPO3\CMS\Core\Database\QueryView\getQueryResultCode().

◆ search()

TYPO3\CMS\Core\Database\QueryView::search ( )

[Describe function...]

Returns
string
Todo:
Define visibility

Definition at line 479 of file QueryView.php.

◆ setFormName()

TYPO3\CMS\Core\Database\QueryView::setFormName (   $formName)

Sets the current name of the input form.

Parameters
string$formNameThe name of the form.
Returns
void

Definition at line 1020 of file QueryView.php.

◆ tableWrap()

TYPO3\CMS\Core\Database\QueryView::tableWrap (   $str)

[Describe function...]

Parameters
string$str
Returns
string
Todo:
Define visibility

Definition at line 469 of file QueryView.php.

Referenced by TYPO3\CMS\Core\Database\QueryView\queryMaker().

Member Data Documentation

◆ $downloadScript

TYPO3\CMS\Core\Database\QueryView::$downloadScript = 'index.php'
Todo:
Define visibility

Definition at line 37 of file QueryView.php.

◆ $formName

TYPO3\CMS\Core\Database\QueryView::$formName = ''
protected

Definition at line 49 of file QueryView.php.

◆ $formW

TYPO3\CMS\Core\Database\QueryView::$formW = 48
Todo:
Define visibility

Definition at line 42 of file QueryView.php.

◆ $noDownloadB

TYPO3\CMS\Core\Database\QueryView::$noDownloadB = 0
Todo:
Define visibility

Definition at line 47 of file QueryView.php.

◆ $storeList

TYPO3\CMS\Core\Database\QueryView::$storeList = 'search_query_smallparts,search_result_labels,labels_noprefix,show_deleted,queryConfig,queryTable,queryFields,queryLimit,queryOrder,queryOrderDesc,queryOrder2,queryOrder2Desc,queryGroup,search_query_makeQuery'
Todo:
Define visibility

Definition at line 32 of file QueryView.php.