Documentation TYPO3 par Ameos |
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() |
Definition at line 86 of file alt_shortcut.php.
SC_alt_shortcut::preinit | ( | ) |
Pre-initialization - setting input variables for storing shortcuts etc.
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.
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)
Definition at line 234 of file alt_shortcut.php.
References t3lib_div::makeInstance().
SC_alt_shortcut::main | ( | ) |
Main function, creating content in the frame
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 | ( | ) |
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
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
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.
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.
string | Absolute filename of the icon | |
string | Backpath string to prepend the icon after made relative |
Definition at line 691 of file alt_shortcut.php.
References t3lib_div::isAbsPath().
SC_alt_shortcut::getIcon | ( | $ | modName | ) |
Returns icon for shortcut display
string | Backend module name |
Definition at line 707 of file alt_shortcut.php.
SC_alt_shortcut::itemLabel | ( | $ | inlabel, | |
$ | modName, | |||
$ | M_modName = '' | |||
) |
Returns title-label for icon
string | In-label | |
string | Backend module name (key) | |
string | Backend module label (user defined?) |
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.
string | The URL of the current shortcut link |
Definition at line 753 of file alt_shortcut.php.
Referenced by preprocess().
SC_alt_shortcut::hasWorkspaceAccess | ( | ) |
Checks if user has access to Workspace module.
Definition at line 762 of file alt_shortcut.php.