"TYPO3 4.0.1: t3lib_recordList Class Reference", "datetime" => "Sat Dec 2 19:26:05 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>

t3lib_recordList Class Reference

Inheritance diagram for t3lib_recordList:

Inheritance graph
[legend]
List of all members.

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()

Detailed Description

Definition at line 80 of file class.t3lib_recordlist.php.


Member Function Documentation

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)

Parameters:
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

Parameters:
string $tdParams is insert in the

-tags. Must carry a ' ' as first character

Parameters:
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)
Returns:
string HTML content for the table row

Definition at line 123 of file class.t3lib_recordlist.php.

References t3lib_iconWorks::skinImg().

t3lib_recordList::CBfunctions  ) 
 

Returning JavaScript for ClipBoard functionality.

Returns:
string

Definition at line 294 of file class.t3lib_recordlist.php.

t3lib_recordList::fwd_rwd_HTML type,
pointer,
table = ''
 

Creates the button with link to either forward or reverse

Parameters:
string Type: "fwd" or "rwd"
integer Pointer
string Table name
Returns:
string private

Definition at line 258 of file class.t3lib_recordlist.php.

t3lib_recordList::fwd_rwd_nav table = ''  ) 
 

Creates a forward/reverse button based on the status of ->eCounter, ->firstElementNumber, ->iLimit

Parameters:
string Table name
Returns:
array array([boolean], [HTML]) where [boolean] is 1 for reverse element, [HTML] is the table-row code for the element

Definition at line 225 of file class.t3lib_recordlist.php.

Referenced by fileList::formatDirList(), fileList::formatFileList(), tx_cms_layout::getTable_pages(), tx_cms_layout::getTable_sys_note(), tx_cms_layout::getTable_tt_board(), and tx_cms_layout::makeOrdinaryList().

t3lib_recordList::initializeLanguages  ) 
 

Initializes page languages and icons

Returns:
void

Definition at line 344 of file class.t3lib_recordlist.php.

References t3lib_BEfunc::deleteClause(), t3lib_div::getFileAbsFileName(), t3lib_BEfunc::getModTSconfig(), t3lib_BEfunc::getRecord(), t3lib_div::loadTCA(), and t3lib_BEfunc::versioningPlaceholderClause().

Referenced by tx_cms_layout::getTable_tt_content().

t3lib_recordList::languageFlag sys_language_uid  ) 
 

Return the icon for the language

Parameters:
integer Sys language uid
Returns:
string Language icon

Definition at line 411 of file class.t3lib_recordlist.php.

Referenced by tx_cms_layout::tt_content_drawHeader().

t3lib_recordList::listURL altId = ''  ) 
 

Creates the URL to this script, including all relevant GPvars

Parameters:
string Alternative id value. Enter blank string for the current id ($this->id)
Returns:
string URL

Definition at line 284 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

Returns:
void

Definition at line 206 of file class.t3lib_recordlist.php.

t3lib_recordList::writeTop  ) 
 

Dummy function, used to write the top of a table listing.

Returns:
void

Definition at line 198 of file class.t3lib_recordlist.php.


The documentation for this class was generated from the following file: