t3lib_recordList Klassenreferenz
Aufstellung aller Elemente
Öffentliche Methoden |
| | 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) |
Öffentliche Attribute |
|
| $iLimit = 10 |
|
| $leftMargin = 0 |
|
| $showIcon = 1 |
|
| $no_noWrap = 0 |
|
| $oddColumnsTDParams = '' |
|
| $oddColumnsCssClass = '' |
|
| $backPath = '' |
|
| $fieldArray = Array() |
|
| $addElement_tdParams = array() |
|
| $addElement_tdCssClass = array() |
|
| $fixedL = 30 |
|
| $script = '' |
|
| $thumbScript = 'thumbs.php' |
|
| $setLMargin = 1 |
|
| $counter = 0 |
|
| $totalItems = '' |
|
| $firstElementNumber = 0 |
|
| $eCounter = 0 |
|
| $HTMLcode = '' |
|
| $pageOverlays = array() |
|
| $languageIconTitles = array() |
Dokumentation der Elementfunktionen
| t3lib_recordList::addElement |
( |
$ |
h, |
|
|
$ |
icon, |
|
|
$ |
data, |
|
|
$ |
trParams = '', |
|
|
$ |
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)
- Parameter:
-
| 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
- Parameter:
-
| string | $tdParams is insert in the |
-tags. Must carry a ' ' as first character
- Parameter:
-
| 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) |
- Rückgabe:
- string HTML content for the table row
| t3lib_recordList::CBfunctions |
( |
|
) |
|
Returning JavaScript for ClipBoard functionality.
- Rückgabe:
- string
| t3lib_recordList::fwd_rwd_HTML |
( |
$ |
type, |
|
|
$ |
pointer, |
|
|
$ |
table = '' | |
|
) |
| | |
Creates the button with link to either forward or reverse
- Parameter:
-
| string | Type: "fwd" or "rwd" |
| integer | Pointer |
| string | Table name |
- Rückgabe:
- string private
| t3lib_recordList::fwd_rwd_nav |
( |
$ |
table = '' |
) |
|
Creates a forward/reverse button based on the status of ->eCounter, ->firstElementNumber, ->iLimit
- Parameter:
-
- Rückgabe:
- array array([boolean], [HTML]) where [boolean] is 1 for reverse element, [HTML] is the table-row code for the element
| t3lib_recordList::initializeLanguages |
( |
|
) |
|
Initializes page languages and icons
- Rückgabe:
- void
| t3lib_recordList::languageFlag |
( |
$ |
sys_language_uid |
) |
|
Return the icon for the language
- Parameter:
-
- Rückgabe:
- string Language icon
| t3lib_recordList::listURL |
( |
$ |
altId = '' |
) |
|
Creates the URL to this script, including all relevant GPvars
- Parameter:
-
| string | Alternative id value. Enter blank string for the current id ($this->id) |
- Rückgabe:
- string URL
| t3lib_recordList::writeBottom |
( |
|
) |
|
Finishes the list with the "stopper"-gif, adding the HTML code for that item to the internal ->HTMLcode string
- Rückgabe:
- void
| t3lib_recordList::writeTop |
( |
|
) |
|
Dummy function, used to write the top of a table listing.
- Rückgabe:
- void
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:
- /srv/www/vhosts/typo3.local/typo3_src-4.2.10/t3lib/class.t3lib_recordlist.php