Main Page | Directories | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages | Examples

TBE_browser_recordList Class Reference

List of all members.

Public Member Functions

 listURL ($altId='', $table=-1, $exclList='')
 Creates the URL for links.
 ext_addP ()
 Returns additional, local GET parameters to include in the links of the record list.
 linkWrapItems ($table, $uid, $code, $row)
 Returns the title (based on $code) of a record (from table $table) with the proper link around (that is for "pages"-records a link to the level of that record...).

Public Attributes

 $script = 'browse_links.php'

Member Function Documentation

TBE_browser_recordList::ext_addP  ) 
 

Returns additional, local GET parameters to include in the links of the record list.

Returns:
string

Definition at line 187 of file browse_links.php.

Referenced by listURL().

00187                         {
00188       $str = '&act='.$GLOBALS['SOBE']->act.
00189             '&mode='.$GLOBALS['SOBE']->mode.
00190             '&expandPage='.$GLOBALS['SOBE']->expandPage.
00191             '&bparams='.rawurlencode($GLOBALS['SOBE']->bparams);
00192       return $str;
00193    }

TBE_browser_recordList::linkWrapItems table,
uid,
code,
row
 

Returns the title (based on $code) of a record (from table $table) with the proper link around (that is for "pages"-records a link to the level of that record...).

Parameters:
string Table name
integer UID (not used here)
string Title string
array Records array (from table name)
Returns:
string

Definition at line 204 of file browse_links.php.

References $TCA, and table().

TBE_browser_recordList::listURL altId = '',
table = -1,
exclList = ''
 

Creates the URL for links.

Parameters:
mixed If not blank string, this is used instead of $this->id as the id value.
string If this is "-1" then $this->table is used, otherwise the value of the input variable.
string Commalist of fields NOT to pass as parameters (currently "sortField" and "sortRev")
Returns:
string Query-string for URL

Definition at line 168 of file browse_links.php.

References ext_addP(), and table().

00168                                                       {
00169       return $this->script.
00170          '?id='.(strcmp($altId,'')?$altId:$this->id).
00171          '&table='.rawurlencode($table==-1?$this->table:$table).
00172          ($this->thumbs?'&imagemode='.$this->thumbs:'').
00173          ($this->searchString?'&search_field='.rawurlencode($this->searchString):'').
00174          ($this->searchLevels?'&search_levels='.rawurlencode($this->searchLevels):'').
00175          ((!$exclList || !t3lib_div::inList($exclList,'sortField')) && $this->sortField?'&sortField='.rawurlencode($this->sortField):'').
00176          ((!$exclList || !t3lib_div::inList($exclList,'sortRev')) && $this->sortRev?'&sortRev='.rawurlencode($this->sortRev):'').
00177             // extra:
00178          $this->ext_addP()
00179          ;
00180    }


Member Data Documentation

TBE_browser_recordList::$script = 'browse_links.php'
 

Definition at line 158 of file browse_links.php.


The documentation for this class was generated from the following file:
Generated on Sun Oct 3 01:07:32 2004 for TYPO3core 3.7.0 dev by  doxygen 1.3.8-20040913