"TYPO3 4.0.1: SC_alt_shortcut Class Reference", "datetime" => "Sat Dec 2 19:25:27 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>

SC_alt_shortcut Class Reference

List of all members.

Public Member Functions

 preinit ()
 preprocess ()
 init ()
 main ()
 editLoadedFunc ()
 editPageIdFunc ()
 printContent ()
 workspaceSelector ()
 mIconFilename ($Ifilename, $backPath)
 getIcon ($modName)
 itemLabel ($inlabel, $modName, $M_modName='')
 getLinkedPageId ($url)

Public Attributes

 $modName
 $M_modName
 $URL
 $editSC
 $deleteCategory
 $editName
 $editGroup
 $whichItem
 $loadModules
 $doc
 $content
 $lines
 $editLoaded
 $editError
 $editPath
 $editSC_rec
 $theEditRec
 $editPage
 $selOpt
 $searchFor
 $groupLabels = array()
 $alternativeTableUid = array()

Detailed Description

Definition at line 86 of file alt_shortcut.php.


Member Function Documentation

SC_alt_shortcut::editLoadedFunc  ) 
 

Creates lines for the editing form.

Returns:
void

Definition at line 452 of file alt_shortcut.php.

SC_alt_shortcut::editPageIdFunc  ) 
 

If "editPage" value is sent to script and it points to an accessible page, the internal var $this->theEditRec is set to the page record which should be loaded. Returns void

Returns:
void

Definition at line 532 of file alt_shortcut.php.

References t3lib_BEfunc::getRecordPath(), t3lib_BEfunc::getRecordsByField(), t3lib_BEfunc::getRecordWSOL(), t3lib_extMgm::isLoaded(), t3lib_BEfunc::openPageTree(), t3lib_div::testInt(), and t3lib_BEfunc::workspaceOL().

SC_alt_shortcut::getIcon modName  ) 
 

Returns icon for shortcut display

Parameters:
string Backend module name
Returns:
string Icon file name

Definition at line 702 of file alt_shortcut.php.

SC_alt_shortcut::getLinkedPageId url  ) 
 

Return the ID of the page in the URL if found.

Parameters:
string The URL of the current shortcut link
Returns:
string If a page ID was found, it is returned. Otherwise: 0

Definition at line 748 of file alt_shortcut.php.

Referenced by preprocess().

SC_alt_shortcut::init  ) 
 

Initialize (page output)

Returns:
void

Definition at line 234 of file alt_shortcut.php.

References t3lib_div::makeInstance().

SC_alt_shortcut::itemLabel inlabel,
modName,
M_modName = ''
 

Returns title-label for icon

Parameters:
string In-label
string Backend module name (key)
string Backend module label (user defined?)
Returns:
string Label for the shortcut item

Definition at line 726 of file alt_shortcut.php.

SC_alt_shortcut::main  ) 
 

Main function, creating content in the frame

Returns:
void

Definition at line 275 of file alt_shortcut.php.

References t3lib_BEfunc::cshItem(), t3lib_BEfunc::editOnClick(), t3lib_div::fixed_lgd(), t3lib_div::fixed_lgd_cs(), t3lib_BEfunc::getRecord(), t3lib_extMgm::isLoaded(), and t3lib_div::testInt().

SC_alt_shortcut::mIconFilename Ifilename,
backPath
 

Returns relative filename for icon.

Parameters:
string Absolute filename of the icon
string Backpath string to prepend the icon after made relative
Returns:
void

Definition at line 686 of file alt_shortcut.php.

References t3lib_div::isAbsPath().

SC_alt_shortcut::preinit  ) 
 

Pre-initialization - setting input variables for storing shortcuts etc.

Returns:
void

Definition at line 125 of file alt_shortcut.php.

References t3lib_div::_GP(), and t3lib_div::makeInstance().

SC_alt_shortcut::preprocess  ) 
 

Adding shortcuts, editing shortcuts etc.

Returns:
void

Definition at line 152 of file alt_shortcut.php.

References getLinkedPageId(), t3lib_BEfunc::getRecord(), and t3lib_div::testInt().

SC_alt_shortcut::printContent  ) 
 

Outputting the accumulated content to screen

Returns:
void

Definition at line 586 of file alt_shortcut.php.

SC_alt_shortcut::workspaceSelector  ) 
 

Create selector for workspaces and change workspace if command is given to do that.

Returns:
string HTML

Definition at line 611 of file alt_shortcut.php.

References t3lib_BEfunc::deleteClause(), and t3lib_iconWorks::getIconImage().


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