t3lib_recordList Class Reference

Inheritance diagram for t3lib_recordList:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 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)

Public Attributes

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

Detailed Description

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


Member Function Documentation

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)

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 125 of file class.t3lib_recordlist.php.

References t3lib_iconWorks::skinImg().

Referenced by fwd_rwd_nav(), and writeBottom().

t3lib_recordList::CBfunctions (  ) 

Returning JavaScript for ClipBoard functionality.

Returns:
string

Definition at line 305 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 269 of file class.t3lib_recordlist.php.

References $content, and listURL().

Referenced by fwd_rwd_nav().

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 236 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::initializeLanguages (  ) 

Initializes page languages and icons

Returns:
void

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

References $GLOBALS, $TCA, 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

Parameters:
integer Sys language uid
Returns:
string Language icon

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

References nbsp.

Referenced by localRecordList::makeLocalizationPanel(), and 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 295 of file class.t3lib_recordlist.php.

Referenced by fwd_rwd_HTML().

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 217 of file class.t3lib_recordlist.php.

References addElement().

t3lib_recordList::writeTop (  ) 

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

Returns:
void

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


Member Data Documentation

t3lib_recordList::$addElement_tdCssClass = array()

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

t3lib_recordList::$addElement_tdParams = array()

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

t3lib_recordList::$backPath = ''

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

t3lib_recordList::$counter = 0

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

Referenced by tx_cms_layout::getTable_tt_content().

t3lib_recordList::$eCounter = 0

Reimplemented in recordList, and fileList.

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

t3lib_recordList::$fieldArray = Array()

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

t3lib_recordList::$firstElementNumber = 0

Reimplemented in recordList, and fileList.

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

t3lib_recordList::$fixedL = 30

Reimplemented in fileList.

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

t3lib_recordList::$HTMLcode = ''

Reimplemented in recordList, and fileList.

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

t3lib_recordList::$iLimit = 10

Reimplemented in recordList, and fileList.

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

t3lib_recordList::$languageIconTitles = array()

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

t3lib_recordList::$leftMargin = 0

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

t3lib_recordList::$no_noWrap = 0

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

t3lib_recordList::$oddColumnsCssClass = ''

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

t3lib_recordList::$oddColumnsTDParams = ''

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

t3lib_recordList::$pageOverlays = array()

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

t3lib_recordList::$script = ''

Reimplemented in recordList, and fileList.

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

t3lib_recordList::$setLMargin = 1

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

t3lib_recordList::$showIcon = 1

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

t3lib_recordList::$thumbScript = 'thumbs.php'

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

t3lib_recordList::$totalItems = ''

Reimplemented in recordList, and fileList.

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


The documentation for this class was generated from the following file:
Generated on Sat Jan 3 04:23:49 2009 for TYPO3 API by  doxygen 1.4.7