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

Public Member Functions

 __construct ()
 
 listURL ($altId='', $table=-1, $exclList='')
 
 ext_addP ()
 
 linkWrapItems ($table, $uid, $code, $row)
 
 setRelatingTableAndField ($tableName, $fieldName)
 
 generateList ()
 
- 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)
 

Protected Member Functions

 isRowListingConditionFulfilled ($table, $row)
 
- 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='')
 

Protected Attributes

 $relatingTable
 
 $relatingField
 
- Protected Attributes inherited from TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList
 $csvLines = array()
 
 $referenceCount = array()
 
- Protected Attributes inherited from TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList
 $overrideUrlParameters = array()
 

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
 
- Static Protected Member Functions inherited from TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList
static removeControlFieldsFromFieldRow (array $row=array())
 

Detailed Description

Displays the page/file tree for browsing database records or files. Used from TCEFORMS an other elements In other words: This is the ELEMENT BROWSER!

Author
Kasper Skårhøj kaspe.nosp@m.rYYY.nosp@m.Y@typ.nosp@m.o3.c.nosp@m.om

Definition at line 28 of file ElementBrowserRecordList.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList::__construct ( )

Initializes the script path

Returns
void
Todo:
Define visibility

Definition at line 49 of file ElementBrowserRecordList.php.

References TYPO3\CMS\Backend\RecordList\AbstractRecordList\determineScriptUrl().

Member Function Documentation

◆ ext_addP()

TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList::ext_addP ( )

Returns additional, local GET parameters to include in the links of the record list.

Returns
string
Todo:
Define visibility

Definition at line 73 of file ElementBrowserRecordList.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList\listURL().

◆ generateList()

TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList::generateList ( )

Local version that sets allFields to TRUE to support userFieldSelect

Returns
void
See also
fieldSelectBox
Todo:
Define visibility

Definition at line 156 of file ElementBrowserRecordList.php.

◆ isRowListingConditionFulfilled()

TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList::isRowListingConditionFulfilled (   $table,
  $row 
)
protected

Check if all row listing conditions are fulfilled.

Parameters
string$tableString Table name
array$rowArray Record
Returns
boolean True, if all conditions are fulfilled.

Definition at line 110 of file ElementBrowserRecordList.php.

◆ linkWrapItems()

TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList::linkWrapItems (   $table,
  $uid,
  $code,
  $row 
)

Returns the title (based on $code) of a record (from table $table) with the proper link around (that is for "pages"-records a link to the level of that record...)

Parameters
string$tableTable name
integer$uidUID (not used here)
string$codeTitle string
array$rowRecords array (from table name)
Returns
string
Todo:
Define visibility

Definition at line 88 of file ElementBrowserRecordList.php.

References $GLOBALS, TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList\$table, TYPO3\CMS\Backend\Utility\IconUtility\getIcon(), TYPO3\CMS\Backend\Utility\BackendUtility\getRecordTitle(), TYPO3\CMS\Backend\Utility\BackendUtility\getRecordTitlePrep(), and TYPO3\CMS\Core\Utility\GeneralUtility\quoteJSvalue().

◆ listURL()

TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList::listURL (   $altId = '',
  $table = -1,
  $exclList = '' 
)

Creates the URL for links

Parameters
mixed$altIdIf not blank string, this is used instead of $this->id as the id value.
string$tableIf this is "-1" then $this->table is used, otherwise the value of the input variable.
string$exclListCommalist of fields NOT to pass as parameters (currently "sortField" and "sortRev")
Returns
string Query-string for URL
Todo:
Define visibility

Definition at line 63 of file ElementBrowserRecordList.php.

References TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList\$id, TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList\$table, TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList\ext_addP(), TYPO3\CMS\Backend\RecordList\AbstractRecordList\getThisScript(), and TYPO3\CMS\Core\Utility\GeneralUtility\inList().

◆ setRelatingTableAndField()

TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList::setRelatingTableAndField (   $tableName,
  $fieldName 
)

Set which pointing field (in the TCEForm) we are currently rendering the element browser for

Parameters
string$tableNameTable name
string$fieldNameField name

Definition at line 138 of file ElementBrowserRecordList.php.

Member Data Documentation

◆ $relatingField

TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList::$relatingField
protected

Definition at line 41 of file ElementBrowserRecordList.php.

◆ $relatingTable

TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList::$relatingTable
protected

Definition at line 34 of file ElementBrowserRecordList.php.