TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Dbal\RecordList\DatabaseRecordList Class Reference
Inheritance diagram for TYPO3\CMS\Dbal\RecordList\DatabaseRecordList:
TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList TYPO3\CMS\Backend\RecordList\AbstractRecordList ux_localRecordList

Public Member Functions

 makeSearchString ($table)
 
- Public Member Functions inherited from TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList
 getButtons ()
 
 renderListRow ($table, $row, $cc, $titleCol, $thumbsCol, $indent=0)
 
 renderListHeader ($table, $currentIdList)
 
 makeControl ($table, $row)
 
 makeClip ($table, $row)
 
 makeLocalizationPanel ($table, $row)
 
 fieldSelectBox ($table, $formFields=1)
 
 linkClipboardHeaderIcon ($string, $table, $cmd, $warning='')
 
 clipNumPane ()
 
 addSortLink ($code, $field, $table)
 
 recPath ($pid)
 
 showNewRecLink ($table)
 
 makeReturnUrl ()
 
 setCsvRow ($csvRow)
 
 outputCSV ($prefix)
 
- Public Member Functions inherited from TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList
 start ($id, $table, $pointer, $search='', $levels='', $showLimit=0)
 
 generateList ()
 
 getSearchBox ($formFields=1)
 
 setDispFields ()
 
 thumbCode ($row, $table, $field)
 
 makeQueryArray ($table, $id, $addWhere='', $fieldList=' *')
 
 setTotalItems ($queryParts)
 
 makeSearchString ($table, $currentPid=-1)
 
 linkWrapTable ($table, $code)
 
 linkWrapItems ($table, $uid, $code, $row)
 
 linkUrlMail ($code, $testString)
 
 listURL ($altId='', $table=-1, $exclList='')
 
 requestUri ()
 
 makeFieldList ($table, $dontCheckUser=0, $addDateFields=0)
 
 getTreeObject ($id, $depth, $perms_clause)
 
 localizationRedirect ($justLocalized)
 
 setOverrideUrlParameters (array $urlParameters)
 
- Public Member Functions inherited from TYPO3\CMS\Backend\RecordList\AbstractRecordList
 __construct ()
 
 addElement ($h, $icon, $data, $trParams='', $lMargin='', $altLine='')
 
 writeTop ()
 
 writeBottom ()
 
 fwd_rwd_nav ($table='')
 
 fwd_rwd_HTML ($type, $pointer, $table='')
 
 listURL ($altId='')
 
 CBfunctions ()
 
 initializeLanguages ()
 
 languageFlag ($sys_language_uid, $addAsAdditionalText=TRUE)
 

Additional Inherited Members

- Public Attributes inherited from TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList
 $alternateBgColors = FALSE
 
 $allowedNewTables = array()
 
 $deniedNewTables = array()
 
 $newWizards = FALSE
 
 $dontShowClipControlPanels = FALSE
 
 $showClipboard = FALSE
 
 $noControlPanels = FALSE
 
 $clickMenuEnabled = TRUE
 
 $totalRowCount
 
 $spaceIcon
 
 $pageRow = array()
 
 $csvOutput = FALSE
 
 $clipObj
 
 $CBnames = array()
 
 $duplicateStack = array()
 
 $translations
 
 $selFieldList
 
 $disableSingleTableView = FALSE
 
- Public Attributes inherited from TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList
 $tableList = ''
 
 $returnUrl = ''
 
 $thumbs = 0
 
 $itemsLimitPerTable = 20
 
 $itemsLimitSingleTable = 100
 
 $widthGif = '<img src="clear.gif" width="1" height="4" hspace="160" alt="" />'
 
 $script = 'index.php'
 
 $allFields = 0
 
 $localizationView = FALSE
 
 $csvOutput = FALSE
 
 $sortField
 
 $sortRev
 
 $displayFields
 
 $duplicateField
 
 $id
 
 $table = ''
 
 $listOnlyInSingleTableMode = FALSE
 
 $firstElementNumber = 0
 
 $searchString = ''
 
 $searchLevels = ''
 
 $showLimit = 0
 
 $pidSelect = ''
 
 $perms_clause = ''
 
 $calcPerms = 0
 
 $clickTitleMode = ''
 
 $modSharedTSconfig = array()
 
 $pageRecord = array()
 
 $hideTables = ''
 
 $hideTranslations = ''
 
 $tableTSconfigOverTCA = array()
 
 $tablesCollapsed = array()
 
 $JScode = ''
 
 $HTMLcode = ''
 
 $iLimit = 0
 
 $eCounter = 0
 
 $totalItems = ''
 
 $recPath_cache = array()
 
 $setFields = array()
 
 $currentTable = array()
 
 $duplicateStack = array()
 
 $modTSconfig
 
- Public Attributes inherited from TYPO3\CMS\Backend\RecordList\AbstractRecordList
 $iLimit = 10
 
 $leftMargin = 0
 
 $showIcon = 1
 
 $no_noWrap = 0
 
 $oddColumnsCssClass = ''
 
 $backPath = ''
 
 $fieldArray = array()
 
 $addElement_tdParams = array()
 
 $addElement_tdCssClass = array()
 
 $fixedL = 30
 
 $thisScript = ''
 
 $setLMargin = 1
 
 $counter = 0
 
 $totalItems = ''
 
 $firstElementNumber = 0
 
 $eCounter = 0
 
 $HTMLcode = ''
 
 $pageOverlays = array()
 
 $languageIconTitles = array()
 
 $translateTools
 
- Protected Member Functions inherited from TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList
 isRowListingConditionFulfilled ($table, $row)
 
 getReferenceCount ($tableName, $uid)
 
 getPointerForPage ($page)
 
 renderListNavigation ($renderPart='top')
 
 createReferenceHtml ($tableName, $uid)
 
 initCSV ()
 
 addHeaderRowToCSV ()
 
 addToCSV (array $row=array())
 
- Protected Member Functions inherited from TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList
 getSearchFields ($tableName)
 
- Protected Member Functions inherited from TYPO3\CMS\Backend\RecordList\AbstractRecordList
 determineScriptUrl ()
 
 getThisScript ()
 
 getTranslateTools ()
 
 generateReferenceToolTip (array $references, $launchViewParameter='')
 
- Static Protected Member Functions inherited from TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList
static removeControlFieldsFromFieldRow (array $row=array())
 
- Protected Attributes inherited from TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList
 $csvLines = array()
 
 $referenceCount = array()
 
- Protected Attributes inherited from TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList
 $overrideUrlParameters = array()
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Include file extending localRecordList for DBAL compatibility

Author
Kasper Skårhøj kaspe.nosp@m.rYYY.nosp@m.Y@typ.nosp@m.o3.c.nosp@m.om
Karsten Dambekalns k.dam.nosp@m.beka.nosp@m.lns@f.nosp@m.ishf.nosp@m.arm.d.nosp@m.e Child class for rendering of Web > List (not the final class)
Kasper Skårhøj kaspe.nosp@m.rYYY.nosp@m.Y@typ.nosp@m.o3.c.nosp@m.om
Karsten Dambekalns k.dam.nosp@m.beka.nosp@m.lns@f.nosp@m.ishf.nosp@m.arm.d.nosp@m.e

Definition at line 28 of file DatabaseRecordList.php.

Member Function Documentation

◆ makeSearchString()

TYPO3\CMS\Dbal\RecordList\DatabaseRecordList::makeSearchString (   $table)

Creates part of query for searching after a word ($this->searchString) fields in input table

DBAL specific: no LIKE for numeric fields, in this case "uid" (breaks on Oracle) no LIKE for BLOB fields, skip

Parameters
stringTable, in which the fields are being searched.
Returns
string Returns part of WHERE-clause for searching, if applicable.
Todo:
Define visibility

Definition at line 40 of file DatabaseRecordList.php.

References $GLOBALS, and TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList\$table.