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)
 hasWorkspaceAccess ()

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()

Protected Attributes

 $isAjaxCall

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 471 of file alt_shortcut.php.

References nbsp.

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 551 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 759 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 805 of file alt_shortcut.php.

Referenced by preprocess().

SC_alt_shortcut::hasWorkspaceAccess (  ) 

Checks if user has access to Workspace module.

Returns:
boolean Returns true if user has access to workspace module.

Definition at line 814 of file alt_shortcut.php.

References $GLOBALS, and $MCONF.

SC_alt_shortcut::init (  ) 

Initialize (page output)

Returns:
void

Definition at line 247 of file alt_shortcut.php.

References $BACK_PATH, and 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 783 of file alt_shortcut.php.

SC_alt_shortcut::main (  ) 

Main function, creating content in the frame

Returns:
void

Definition at line 290 of file alt_shortcut.php.

References $GLOBALS, $res, $row, $TCA, t3lib_BEfunc::cshItem(), t3lib_BEfunc::editOnClick(), t3lib_div::fixed_lgd(), t3lib_div::fixed_lgd_cs(), t3lib_BEfunc::getRecord(), t3lib_extMgm::isLoaded(), nbsp, 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 743 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 137 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 165 of file alt_shortcut.php.

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

SC_alt_shortcut::printContent (  ) 

Outputting the accumulated content to screen

Returns:
void

Definition at line 605 of file alt_shortcut.php.

References $content, $GLOBALS, and t3lib_div::testInt().

SC_alt_shortcut::workspaceSelector (  ) 

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

Returns:
string HTML

Definition at line 666 of file alt_shortcut.php.

References $TYPO3_DB, $value, t3lib_BEfunc::deleteClause(), t3lib_iconWorks::getIconImage(), and nbsp.


Member Data Documentation

SC_alt_shortcut::$alternativeTableUid = array()

Definition at line 128 of file alt_shortcut.php.

SC_alt_shortcut::$content

Definition at line 115 of file alt_shortcut.php.

SC_alt_shortcut::$deleteCategory

Definition at line 93 of file alt_shortcut.php.

SC_alt_shortcut::$doc

Definition at line 112 of file alt_shortcut.php.

SC_alt_shortcut::$editError

Definition at line 119 of file alt_shortcut.php.

SC_alt_shortcut::$editGroup

Definition at line 95 of file alt_shortcut.php.

SC_alt_shortcut::$editLoaded

Definition at line 118 of file alt_shortcut.php.

SC_alt_shortcut::$editName

Definition at line 94 of file alt_shortcut.php.

SC_alt_shortcut::$editPage

Definition at line 123 of file alt_shortcut.php.

SC_alt_shortcut::$editPath

Definition at line 120 of file alt_shortcut.php.

SC_alt_shortcut::$editSC

Definition at line 92 of file alt_shortcut.php.

SC_alt_shortcut::$editSC_rec

Definition at line 121 of file alt_shortcut.php.

SC_alt_shortcut::$groupLabels = array()

Definition at line 126 of file alt_shortcut.php.

SC_alt_shortcut::$isAjaxCall [protected]

Definition at line 105 of file alt_shortcut.php.

SC_alt_shortcut::$lines

Definition at line 116 of file alt_shortcut.php.

SC_alt_shortcut::$loadModules

Definition at line 104 of file alt_shortcut.php.

SC_alt_shortcut::$M_modName

Definition at line 90 of file alt_shortcut.php.

SC_alt_shortcut::$modName

Definition at line 89 of file alt_shortcut.php.

SC_alt_shortcut::$searchFor

Definition at line 125 of file alt_shortcut.php.

SC_alt_shortcut::$selOpt

Definition at line 124 of file alt_shortcut.php.

SC_alt_shortcut::$theEditRec

Definition at line 122 of file alt_shortcut.php.

SC_alt_shortcut::$URL

Definition at line 91 of file alt_shortcut.php.

SC_alt_shortcut::$whichItem

Definition at line 96 of file alt_shortcut.php.


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