TYPO3 API  SVNRelease
Public Member Functions | Public Attributes
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 132 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 157 of file show_item.php.

References $BACK_PATH, $BE_USER, $GLOBALS, $TCA, t3lib_div\_GET(), t3lib_BEfunc\getRecordWSOL(), 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 221 of file show_item.php.

References $GLOBALS, t3lib_div\_GP(), t3lib_div\getUserObj(), renderDBInfo(), renderFileInfo(), and t3lib_div\sanitizeLocalUrl().

SC_show_item::makeRef ( table,
ref 
)

Make reference display

Parameters:
stringTable name
stringFilename or uid
Returns:
string HTML

Definition at line 455 of file show_item.php.

References $GLOBALS, $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:
stringTable name
stringFilename or uid
Returns:
string HTML

Definition at line 517 of file show_item.php.

References $GLOBALS, $row, and $table.

Referenced by renderDBInfo().

SC_show_item::printContent ( )

End page and print content

Returns:
void

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

References $GLOBALS, $TCA, t3lib_div\fixed_lgd_cs(), 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:
stringtag closing/returning.
Returns:
void

Definition at line 322 of file show_item.php.

References $GLOBALS, t3lib_utility_Command\exec(), t3lib_div\formatSize(), t3lib_iconWorks\getSpriteIconForFile(), t3lib_div\isFirstPartOfStr(), t3lib_div\makeInstance(), makeRef(), and t3lib_div\split_fileref().

Referenced by main().


Member Data Documentation

SC_show_item::$access

Definition at line 140 of file show_item.php.

SC_show_item::$content

Definition at line 145 of file show_item.php.

SC_show_item::$doc

Definition at line 142 of file show_item.php.

SC_show_item::$file

Definition at line 146 of file show_item.php.

SC_show_item::$pageinfo

Definition at line 147 of file show_item.php.

SC_show_item::$perms_clause

Definition at line 139 of file show_item.php.

SC_show_item::$row

Definition at line 148 of file show_item.php.

Referenced by makeRef(), and makeRefFrom().

SC_show_item::$table

Definition at line 135 of file show_item.php.

Referenced by makeRef(), and makeRefFrom().

SC_show_item::$type

Definition at line 141 of file show_item.php.

SC_show_item::$uid

Definition at line 136 of file show_item.php.


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