Documentation TYPO3 par Ameos

SC_show_item Class Reference

List of all members.

Public Member Functions

 init ()
 main ()
 renderDBInfo ()
 renderFileInfo ($returnLinkTag)
 printContent ()
 makeRef ($table, $ref)
 makeRefFrom ($table, $ref)

Public Attributes

 $table
 $uid
 $perms_clause
 $access
 $type
 $doc
 $content
 $file
 $pageinfo
 $row

Detailed Description

Definition at line 135 of file show_item.php.


Member Function Documentation

SC_show_item::init  ) 
 

Initialization of the class Will determine if table/uid GET vars are database record or a file and if the user has access to view information about the item.

Returns:
void

Definition at line 160 of file show_item.php.

References t3lib_div::_GET(), t3lib_BEfunc::getRecord(), t3lib_div::isAllowedAbsPath(), t3lib_div::loadTCA(), t3lib_div::makeInstance(), and t3lib_BEfunc::readPageAccess().

SC_show_item::main  ) 
 

Main function. Will generate the information to display for the item set internally.

Returns:
void

Definition at line 225 of file show_item.php.

References t3lib_div::_GP(), t3lib_div::getUserObj(), renderDBInfo(), and renderFileInfo().

SC_show_item::makeRef table,
ref
 

Make reference display

Parameters:
string Table name
string Filename or uid
Returns:
string HTML

Definition at line 462 of file show_item.php.

References $row, $table, and t3lib_div::isFirstPartOfStr().

Referenced by renderDBInfo(), and renderFileInfo().

SC_show_item::makeRefFrom table,
ref
 

Make reference display (what this elements points to)

Parameters:
string Table name
string Filename or uid
Returns:
string HTML

Definition at line 524 of file show_item.php.

Referenced by renderDBInfo().

SC_show_item::printContent  ) 
 

End page and print content

Returns:
void

Definition at line 449 of file show_item.php.

SC_show_item::renderDBInfo  ) 
 

Main function. Will generate the information to display for the item set internally.

Returns:
void

Definition at line 273 of file show_item.php.

References t3lib_BEfunc::getItemLabel(), t3lib_BEfunc::getProcessedValue(), makeRef(), makeRefFrom(), and t3lib_div::trimExplode().

Referenced by main().

SC_show_item::renderFileInfo returnLinkTag  ) 
 

Main function. Will generate the information to display for the item set internally.

Parameters:
string tag closing/returning.
Returns:
void

Definition at line 327 of file show_item.php.

References t3lib_BEfunc::getFileIcon(), t3lib_div::isFirstPartOfStr(), t3lib_div::makeInstance(), makeRef(), and t3lib_div::split_fileref().

Referenced by main().


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


Généré par L'expert TYPO3 avec  doxygen 1.4.6