TYPO3 CMS  TYPO3_7-6
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

Public Member Functions

 makeSearchString ($table, $currentPid=-1)
 
- Public Member Functions inherited from TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList
 __construct ()
 
 getButtons ()
 
 getDocHeaderButtons (ModuleTemplate $moduleTemplate)
 
 renderListRow ($table, $row, $cc, $titleCol, $thumbsCol, $indent=0)
 
 renderListHeader ($table, $currentIdList)
 
 makeControl ($table, $row)
 
 makeClip ($table, $row)
 
 makeLocalizationPanel ($table, $row)
 
 fieldSelectBox ($table, $formFields=true)
 
 linkClipboardHeaderIcon ($string, $table, $cmd, $warning='', $title='')
 
 clipNumPane ()
 
 addSortLink ($code, $field, $table)
 
 recPath ($pid)
 
 showNewRecLink ($table)
 
 makeReturnUrl ()
 
 setCsvRow ($csvRow)
 
 outputCSV ($prefix)
 
 addActionToCellGroup (&$cells, $action, $actionKey)
 
 setIsEditable ($isEditable)
 
 isEditable ($table)
 
- Public Member Functions inherited from TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList
 start ($id, $table, $pointer, $search='', $levels=0, $showLimit=0)
 
 generateList ()
 
 getTable ($tableName, $id, $fields='')
 
 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=false, $addDateFields=false)
 
 localizationRedirect ($justLocalized)
 
 setOverrideUrlParameters (array $urlParameters)
 
 setTableDisplayOrder (array $orderInformation)
 
- Public Member Functions inherited from TYPO3\CMS\Backend\RecordList\AbstractRecordList
 __construct ()
 
 addElement ($h, $icon, $data, $rowParams='', $_='', $_2='', $colType='td')
 
 writeTop ()
 
 fwd_rwd_nav ($table='')
 
 fwd_rwd_HTML ($type, $pointer, $table='')
 
 listURL ($altId='', $table='-1', $exclList='')
 
 CBfunctions ()
 
 initializeLanguages ()
 
 languageFlag ($sys_language_uid, $addAsAdditionalText=true)
 

Additional Inherited Members

- Public Attributes inherited from TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList
 $allowedNewTables = []
 
 $deniedNewTables = []
 
 $newWizards = false
 
 $dontShowClipControlPanels = false
 
 $showClipboard = false
 
 $noControlPanels = false
 
 $clickMenuEnabled = true
 
 $totalRowCount
 
 $spaceIcon
 
 $disableSingleTableView = false
 
 $pageRow = []
 
 $csvOutput = false
 
 $clipObj
 
 $CBnames = []
 
 $translations
 
 $selFieldList
 
 $pageinfo
 
 $MOD_MENU
 
- Public Attributes inherited from TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList
 $tableList = ''
 
 $returnUrl = ''
 
 $thumbs = 0
 
 $itemsLimitPerTable = 20
 
 $itemsLimitSingleTable = 100
 
 $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 = []
 
 $pageRecord = []
 
 $hideTables = ''
 
 $hideTranslations = ''
 
 $tableTSconfigOverTCA = []
 
 $tablesCollapsed = []
 
 $JScode = ''
 
 $HTMLcode = ''
 
 $iLimit = 0
 
 $eCounter = 0
 
 $totalItems = ''
 
 $recPath_cache = []
 
 $setFields = []
 
 $currentTable = []
 
 $duplicateStack = []
 
 $modTSconfig
 
- Public Attributes inherited from TYPO3\CMS\Backend\RecordList\AbstractRecordList
 $iLimit = 10
 
 $leftMargin = 0
 
 $showIcon = 1
 
 $no_noWrap = 0
 
 $oddColumnsCssClass = ''
 
 $fieldArray = []
 
 $addElement_tdParams = []
 
 $addElement_tdCssClass = []
 
 $fixedL = 30
 
 $thisScript = ''
 
 $setLMargin = 1
 
 $counter = 0
 
 $totalItems = ''
 
 $firstElementNumber = 0
 
 $eCounter = 0
 
 $HTMLcode = ''
 
 $pageOverlays = []
 
 $languageIconTitles = []
 
 $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=[])
 
 isRecordCurrentBackendUser ($table, $row)
 
 overlayEditLockPermissions ($table, $row=[], $editPermission=true)
 
 editLockPermissions ()
 
 getDatabaseConnection ()
 
 getModule ()
 
 getDocumentTemplate ()
 
- Protected Member Functions inherited from TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList
 getSearchFields ($tableName)
 
 getBackendUserAuthentication ()
 
 getDatabaseConnection ()
 
- Protected Member Functions inherited from TYPO3\CMS\Backend\RecordList\AbstractRecordList
 determineScriptUrl ()
 
 getThisScript ()
 
 getTranslateTools ()
 
 generateReferenceToolTip ($references, $launchViewParameter='')
 
 getLanguageService ()
 
 getDatabaseConnection ()
 
- Static Protected Member Functions inherited from TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList
static removeControlFieldsFromFieldRow (array $row=[])
 
- Protected Attributes inherited from TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList
 $csvLines = []
 
 $referenceCount = []
 
 $editable = true
 
 $iconFactory
 
- Protected Attributes inherited from TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList
 $overrideUrlParameters = []
 
 $tableDisplayOrder = []
 
- Protected Attributes inherited from TYPO3\CMS\Backend\RecordList\AbstractRecordList
 $id = 0
 
 $iconFactory
 

Detailed Description

Child class for rendering of Web > List (not the final class)

Definition at line 20 of file DatabaseRecordList.php.

Member Function Documentation

◆ makeSearchString()

TYPO3\CMS\Dbal\RecordList\DatabaseRecordList::makeSearchString (   $table,
  $currentPid = -1 
)

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
string$table,inwhich the fields are being searched.
int$currentPidargument not used in this method, only available for compatibility to parent class
Returns
string Returns part of WHERE-clause for searching, if applicable.

Definition at line 32 of file DatabaseRecordList.php.

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