Documentation TYPO3 par Ameos

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

Detailed Description

Definition at line 86 of file alt_shortcut.php.


Member Function Documentation

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

Initialize (page output)

Returns:
void

Definition at line 234 of file alt_shortcut.php.

References t3lib_div::makeInstance().

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

Creates lines for the editing form.

Returns:
void

Definition at line 455 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 535 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::printContent (  ) 

Outputting the accumulated content to screen

Returns:
void

Definition at line 589 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 614 of file alt_shortcut.php.

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

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

References t3lib_div::isAbsPath().

SC_alt_shortcut::getIcon ( modName  ) 

Returns icon for shortcut display

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

Definition at line 707 of file alt_shortcut.php.

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 731 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 753 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 762 of file alt_shortcut.php.


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


Généré par TYPO3 Ameos avec  doxygen 1.4.6