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 $BACK_PATH, $GLOBALS, $TCA, 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 224 of file show_item.php.

References $GLOBALS, 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 461 of file show_item.php.

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

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 523 of file show_item.php.

SC_show_item::printContent (  ) 

End page and print content

Returns:
void

Definition at line 448 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 271 of file show_item.php.

References $GLOBALS, $TCA, t3lib_BEfunc::getItemLabel(), t3lib_BEfunc::getProcessedValue(), 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 325 of file show_item.php.

References $GLOBALS, $val, t3lib_BEfunc::getFileIcon(), t3lib_div::isFirstPartOfStr(), t3lib_div::makeInstance(), nbsp, and t3lib_div::split_fileref().

Referenced by main().


Member Data Documentation

SC_show_item::$access

Definition at line 143 of file show_item.php.

SC_show_item::$content

Definition at line 148 of file show_item.php.

SC_show_item::$doc

Definition at line 145 of file show_item.php.

SC_show_item::$file

Definition at line 149 of file show_item.php.

SC_show_item::$pageinfo

Definition at line 150 of file show_item.php.

SC_show_item::$perms_clause

Definition at line 142 of file show_item.php.

SC_show_item::$row

Definition at line 151 of file show_item.php.

Referenced by makeRef().

SC_show_item::$table

Definition at line 138 of file show_item.php.

Referenced by makeRef().

SC_show_item::$type

Definition at line 144 of file show_item.php.

SC_show_item::$uid

Definition at line 139 of file show_item.php.


The documentation for this class was generated from the following file:
Generated on Sat Nov 29 04:23:33 2008 for TYPO3 API by  doxygen 1.4.7