

Public Member Functions | |
| getButtons () | |
| getTable ($table, $id, $rowlist) | |
| renderListRow ($table, $row, $cc, $titleCol, $thumbsCol, $indent=0) | |
| renderListHeader ($table, $currentIdList) | |
| makeControl ($table, $row) | |
| makeClip ($table, $row) | |
| makeRef ($table, $uid) | |
| makeLocalizationPanel ($table, $row) | |
| fieldSelectBox ($table, $formFields=1) | |
| linkClipboardHeaderIcon ($string, $table, $cmd, $warning='') | |
| clipNumPane () | |
| addSortLink ($code, $field, $table) | |
| recPath ($pid) | |
| showNewRecLink ($table) | |
| makeReturnUrl () | |
| initCSV () | |
| addToCSV ($row, $table) | |
| setCsvRow ($csvRow) | |
| outputCSV ($prefix) | |
Public Attributes | |
| $alternateBgColors = FALSE | |
| $allowedNewTables = array() | |
| $deniedNewTables = array() | |
| $newWizards = FALSE | |
| $dontShowClipControlPanels = FALSE | |
| $showClipboard = FALSE | |
| $noControlPanels = FALSE | |
| $clickMenuEnabled = TRUE | |
| $totalRowCount | |
| $spaceIcon | |
| $pageRow = array() | |
| $csvLines = array() | |
| $csvOutput = FALSE | |
| $clipObj | |
| $CBnames = array() | |
| $duplicateStack = array() | |
Definition at line 90 of file class.db_list_extra.inc.
| localRecordList::addSortLink | ( | $ | code, | |
| $ | field, | |||
| $ | table | |||
| ) |
Creates a sort-by link on the input string ($code). It will automatically detect if sorting should be ascending or descending depending on $this->sortRev. Also some fields will not be possible to sort (including if single-table-view is disabled).
| string | The string to link (text) | |
| string | The fieldname represented by the title ($code) | |
| string | Table name |
Definition at line 1396 of file class.db_list_extra.inc.
References recordList::listURL().
Referenced by renderListHeader().
| localRecordList::addToCSV | ( | $ | row, | |
| $ | table | |||
| ) |
Adds the content of input array $row to the CSV list:
| array | Record array, from which the values of fields found in $this->fieldArray will be listed in the CSV output. | |
| string | Table name |
Definition at line 1506 of file class.db_list_extra.inc.
References $row, recordList::$table, makeRef(), recPath(), and setCsvRow().
Referenced by renderListRow().
| localRecordList::clipNumPane | ( | ) |
Returns true if a numeric clipboard pad is selected/active
Definition at line 1382 of file class.db_list_extra.inc.
Referenced by renderListHeader().
| localRecordList::fieldSelectBox | ( | $ | table, | |
| $ | formFields = 1 | |||
| ) |
Create the selector box for selecting fields to display from a table:
| string | Table name | |
| boolean | If true, form-fields will be wrapped around the table. |
Definition at line 1290 of file class.db_list_extra.inc.
References $content, recordList::$setFields, recordList::$table, $TCA, t3lib_div::loadTCA(), and recordList::makeFieldList().
| localRecordList::getButtons | ( | ) |
Create the panel of buttons for submitting the form or otherwise perform operations.
Definition at line 127 of file class.db_list_extra.inc.
References $GLOBALS, t3lib_BEfunc::cshItem(), t3lib_extMgm::extRelPath(), t3lib_extMgm::isLoaded(), and t3lib_iconWorks::skinImg().
| localRecordList::getTable | ( | $ | table, | |
| $ | id, | |||
| $ | rowlist | |||
| ) |
Creates the listing of records from a single table
| string | Table name | |
| integer | Page id | |
| string | List of fields to show in the listing. Pseudo fields will be added including the record header. |
DB-List getTable
Definition at line 267 of file class.db_list_extra.inc.
References $GLOBALS, recordList::$id, $row, recordList::$table, $TCA, $TYPO3_CONF_VARS, t3lib_BEfunc::cshItem(), t3lib_BEfunc::deleteClause(), t3lib_recordList::fwd_rwd_nav(), t3lib_div::getUserObj(), initCSV(), t3lib_div::inList(), t3lib_extMgm::isLoaded(), recordList::linkWrapTable(), t3lib_div::loadTCA(), recordList::makeFieldList(), recordList::makeQueryArray(), outputCSV(), renderListHeader(), renderListRow(), recordList::setTotalItems(), t3lib_iconWorks::skinImg(), t3lib_div::trimExplode(), t3lib_BEfunc::versioningPlaceholderClause(), and t3lib_BEfunc::workspaceOL().
| localRecordList::initCSV | ( | ) |
Initializes internal csvLines array with the header of field names
Definition at line 1479 of file class.db_list_extra.inc.
References setCsvRow().
Referenced by getTable().
| localRecordList::linkClipboardHeaderIcon | ( | $ | string, | |
| $ | table, | |||
| $ | cmd, | |||
| $ | warning = '' | |||
| ) |
Creates a link around $string. The link contains an onclick action which submits the script with some clipboard action. Currently, this is used for setting elements / delete elements.
| string | The HTML content to link (image/text) | |
| string | Table name | |
| string | Clipboard command (eg. "setCB" or "delete") | |
| string | Warning text, if any ("delete" uses this for confirmation) |
Definition at line 1371 of file class.db_list_extra.inc.
References $GLOBALS.
Referenced by renderListHeader().
| localRecordList::makeClip | ( | $ | table, | |
| $ | row | |||
| ) |
Creates the clipboard panel for a single record in the listing.
| string | The table | |
| array | The record for which to make the clipboard panel. |
Definition at line 1125 of file class.db_list_extra.inc.
References $row, recordList::$table, $TCA, $TYPO3_CONF_VARS, and t3lib_div::getUserObj().
Referenced by renderListRow().
| localRecordList::makeControl | ( | $ | table, | |
| $ | row | |||
| ) |
Creates the control panel for a single record in the listing.
| string | The table | |
| array | The record for which to make the control panel. |
recStatInfoHooks: Allows to insert HTML before record icons on various places
Definition at line 884 of file class.db_list_extra.inc.
References $GLOBALS, $row, $SOBE, recordList::$table, $TCA, $TYPO3_CONF_VARS, t3lib_div::callUserFunction(), t3lib_div::fixed_lgd_cs(), t3lib_BEfunc::getRecord(), t3lib_BEfunc::getRecordTitle(), t3lib_div::getUserObj(), t3lib_extMgm::isLoaded(), t3lib_div::loadTCA(), t3lib_BEfunc::selectVersionsOfRecord(), showNewRecLink(), t3lib_div::slashJS(), and t3lib_div::testInt().
Referenced by renderListRow().
| localRecordList::makeLocalizationPanel | ( | $ | table, | |
| $ | row | |||
| ) |
Creates the localization panel
| string | The table | |
| array | The record for which to make the localization panel. |
Definition at line 1242 of file class.db_list_extra.inc.
References $GLOBALS, $row, recordList::$table, $TCA, t3lib_recordList::languageFlag(), recordList::listURL(), t3lib_div::makeInstance(), and nbsp.
Referenced by renderListRow().
| localRecordList::makeRef | ( | $ | table, | |
| $ | uid | |||
| ) |
Make reference count
| string | Table name | |
| integer | UID of record |
Definition at line 1213 of file class.db_list_extra.inc.
References $GLOBALS, $row, and recordList::$table.
Referenced by addToCSV(), and renderListRow().
| localRecordList::makeReturnUrl | ( | ) |
Creates the "&returnUrl" parameter for links - this is used when the script links to other scripts and passes its own URL with the link so other scripts can return to the listing again. Uses REQUEST_URI as value.
Definition at line 1454 of file class.db_list_extra.inc.
References t3lib_div::getIndpEnv().
| localRecordList::outputCSV | ( | $ | prefix | ) |
Compiles the internal csvLines array to a csv-string and outputs it to the browser. This function exits!
| string | Filename prefix: |
Definition at line 1553 of file class.db_list_extra.inc.
References exit.
Referenced by getTable().
| localRecordList::recPath | ( | $ | pid | ) |
Returns the path for a certain pid The result is cached internally for the session, thus you can call this function as much as you like without performance problems.
| integer | The page id for which to get the path |
Definition at line 1421 of file class.db_list_extra.inc.
References $pid, and t3lib_BEfunc::getRecordPath().
Referenced by addToCSV(), and renderListRow().
| localRecordList::renderListHeader | ( | $ | table, | |
| $ | currentIdList | |||
| ) |
Rendering the header row for a table
| string | Table name | |
| array | Array of the currently displayed uids of the table |
renderListHeaderActions: Allows to change the clipboard icons of the Web>List table headers
Definition at line 697 of file class.db_list_extra.inc.
References recordList::$table, $TCA, $TYPO3_CONF_VARS, addSortLink(), clipNumPane(), t3lib_extMgm::extRelPath(), t3lib_BEfunc::getItemLabel(), t3lib_BEfunc::getModTSconfig(), t3lib_div::getUserObj(), linkClipboardHeaderIcon(), nbsp, showNewRecLink(), and t3lib_iconWorks::skinImg().
Referenced by getTable().
| localRecordList::renderListRow | ( | $ | table, | |
| $ | row, | |||
| $ | cc, | |||
| $ | titleCol, | |||
| $ | thumbsCol, | |||
| $ | indent = 0 | |||
| ) |
Rendering a single row for the list
| string | Table name | |
| array | Current record | |
| integer | Counter, counting for each time an element is rendered (used for alternating colors) | |
| string | Table field (column) where header value is found | |
| string | Table field (column) where (possible) thumbnails can be found | |
| integer | Indent from left. |
Definition at line 581 of file class.db_list_extra.inc.
References $GLOBALS, $row, recordList::$table, addToCSV(), t3lib_iconWorks::getIconImage(), t3lib_BEfunc::getProcessedValueExtra(), t3lib_BEfunc::getRecordIconAltText(), t3lib_BEfunc::getRecordTitle(), t3lib_BEfunc::isRecordLocked(), recordList::linkUrlMail(), recordList::linkWrapItems(), makeClip(), makeControl(), makeLocalizationPanel(), makeRef(), nbsp, recPath(), t3lib_iconWorks::skinImg(), and recordList::thumbCode().
Referenced by getTable().
| localRecordList::setCsvRow | ( | $ | csvRow | ) |
Adds input row of values to the internal csvLines array as a CSV formatted line
| array | Array with values to be listed. |
Definition at line 1542 of file class.db_list_extra.inc.
References t3lib_div::csvValues().
Referenced by addToCSV(), and initCSV().
| localRecordList::showNewRecLink | ( | $ | table | ) |
Returns true if a link for creating new records should be displayed for $table
| string | Table name |
Definition at line 1435 of file class.db_list_extra.inc.
References recordList::$table.
Referenced by makeControl(), and renderListHeader().
| localRecordList::$allowedNewTables = array() |
Definition at line 94 of file class.db_list_extra.inc.
| localRecordList::$alternateBgColors = FALSE |
Definition at line 93 of file class.db_list_extra.inc.
| localRecordList::$CBnames = array() |
Definition at line 119 of file class.db_list_extra.inc.
| localRecordList::$clickMenuEnabled = TRUE |
Definition at line 101 of file class.db_list_extra.inc.
| localRecordList::$clipObj |
Definition at line 118 of file class.db_list_extra.inc.
| localRecordList::$csvLines = array() |
Definition at line 110 of file class.db_list_extra.inc.
| localRecordList::$csvOutput = FALSE |
| localRecordList::$deniedNewTables = array() |
Definition at line 95 of file class.db_list_extra.inc.
| localRecordList::$dontShowClipControlPanels = FALSE |
Definition at line 98 of file class.db_list_extra.inc.
| localRecordList::$duplicateStack = array() |
| localRecordList::$newWizards = FALSE |
Definition at line 96 of file class.db_list_extra.inc.
| localRecordList::$noControlPanels = FALSE |
Definition at line 100 of file class.db_list_extra.inc.
| localRecordList::$pageRow = array() |
Definition at line 108 of file class.db_list_extra.inc.
| localRecordList::$showClipboard = FALSE |
Definition at line 99 of file class.db_list_extra.inc.
| localRecordList::$spaceIcon |
Definition at line 105 of file class.db_list_extra.inc.
| localRecordList::$totalRowCount |
Definition at line 103 of file class.db_list_extra.inc.
1.4.7