Documentation TYPO3 par Ameos |
Public Member Functions | |
| addElement ($h, $icon, $data, $tdParams='', $lMargin='', $altLine='') | |
| writeTop () | |
| writeBottom () | |
| fwd_rwd_nav ($table='') | |
| fwd_rwd_HTML ($type, $pointer, $table='') | |
| listURL ($altId='') | |
| CBfunctions () | |
| initializeLanguages () | |
| languageFlag ($sys_language_uid) | |
Public Attributes | |
| $iLimit = 10 | |
| $leftMargin = 0 | |
| $showIcon = 1 | |
| $no_noWrap = 0 | |
| $oddColumnsTDParams = '' | |
| $backPath = '' | |
| $fieldArray = Array() | |
| $addElement_tdParams = array() | |
| $fixedL = 50 | |
| $script = '' | |
| $thumbScript = 'thumbs.php' | |
| $setLMargin = 1 | |
| $counter = 0 | |
| $totalItems = '' | |
| $firstElementNumber = 0 | |
| $eCounter = 0 | |
| $HTMLcode = '' | |
| $pageOverlays = array() | |
| $languageIconTitles = array() | |
Definition at line 80 of file class.t3lib_recordlist.php.
| t3lib_recordList::addElement | ( | $ | h, | |
| $ | icon, | |||
| $ | data, | |||
| $ | tdParams = '', |
|||
| $ | lMargin = '', |
|||
| $ | altLine = '' | |||
| ) |
Returns a table-row with the content from the fields in the input data array. OBS: $this->fieldArray MUST be set! (represents the list of fields to display)
| integer | $h is an integer >=0 and denotes how tall a element is. Set to '0' makes a halv line, -1 = full line, set to 1 makes a 'join' and above makes 'line' | |
| string | $icon is the+ of the record. If not supplied the first 'join'-icon will be a 'line' instead | |
| array | $data is the dataarray, record with the fields. Notice: These fields are (currently) NOT htmlspecialchar'ed before being wrapped in |
-tags
| string | $tdParams is insert in the |
-tags. Must carry a ' ' as first character
| integer | OBSOLETE - NOT USED ANYMORE. $lMargin is the leftMargin (integer) | |
| string | $altLine is the HTML-tag for an alternative 'gfx/ol/line.gif'-icon (used in the top) |
Definition at line 123 of file class.t3lib_recordlist.php.
References t3lib_iconWorks::skinImg().
Referenced by fwd_rwd_nav(), and writeBottom().
| t3lib_recordList::writeTop | ( | ) |
Dummy function, used to write the top of a table listing.
Definition at line 198 of file class.t3lib_recordlist.php.
| t3lib_recordList::writeBottom | ( | ) |
Finishes the list with the "stopper"-gif, adding the HTML code for that item to the internal ->HTMLcode string
Definition at line 206 of file class.t3lib_recordlist.php.
References addElement().
| t3lib_recordList::fwd_rwd_nav | ( | $ | table = '' |
) |
Creates a forward/reverse button based on the status of ->eCounter, ->firstElementNumber, ->iLimit
| string | Table name |
Definition at line 225 of file class.t3lib_recordlist.php.
References addElement(), and fwd_rwd_HTML().
Referenced by fileList::formatDirList(), fileList::formatFileList(), localRecordList::getTable(), tx_cms_layout::getTable_pages(), tx_cms_layout::getTable_sys_note(), tx_cms_layout::getTable_tt_board(), and tx_cms_layout::makeOrdinaryList().
| t3lib_recordList::fwd_rwd_HTML | ( | $ | type, | |
| $ | pointer, | |||
| $ | table = '' | |||
| ) |
Creates the button with link to either forward or reverse
| string | Type: "fwd" or "rwd" | |
| integer | Pointer | |
| string | Table name |
Definition at line 258 of file class.t3lib_recordlist.php.
References listURL().
Referenced by fwd_rwd_nav().
| t3lib_recordList::listURL | ( | $ | altId = '' |
) |
Creates the URL to this script, including all relevant GPvars
| string | Alternative id value. Enter blank string for the current id ($this->id) |
Definition at line 284 of file class.t3lib_recordlist.php.
Referenced by fwd_rwd_HTML().
| t3lib_recordList::CBfunctions | ( | ) |
Returning JavaScript for ClipBoard functionality.
Definition at line 294 of file class.t3lib_recordlist.php.
| t3lib_recordList::initializeLanguages | ( | ) |
Initializes page languages and icons
Definition at line 344 of file class.t3lib_recordlist.php.
References t3lib_BEfunc::deleteClause(), t3lib_div::makeInstance(), and t3lib_BEfunc::versioningPlaceholderClause().
Referenced by tx_cms_layout::getTable_tt_content(), and recordList::start().
| t3lib_recordList::languageFlag | ( | $ | sys_language_uid | ) |
Return the icon for the language
| integer | Sys language uid |
Definition at line 370 of file class.t3lib_recordlist.php.
Referenced by localRecordList::makeLocalizationPanel(), and tx_cms_layout::tt_content_drawHeader().
1.4.6