59 $GLOBALS[
'LANG']->includeLLFile(
'EXT:sys_action/locallang.xlf');
60 if (is_array(
$GLOBALS[
'TYPO3_CONF_VARS'][
'EXTCONF'][
'sys_action'][
'tx_sysaction_task'])) {
61 foreach (
$GLOBALS[
'TYPO3_CONF_VARS'][
'EXTCONF'][
'sys_action'][
'tx_sysaction_task'] as $classRef) {
75 foreach ($this->hookObjects as $hookObject) {
76 if (method_exists($hookObject,
'getTask')) {
77 $show = $hookObject->getTask($show, $this);
82 $content .= $this->taskObject->description(
$GLOBALS[
'LANG']->getLL(
'sys_action'),
$GLOBALS[
'LANG']->getLL(
'description'));
85 $record = BackendUtility::getRecord(
'sys_action', $show);
87 if (count($record) == 0) {
89 $content .= $flashMessage->render();
92 $content .= $this->taskObject->description($record[
'title'], $record[
'description']);
94 switch ($record[
'type']) {
112 'TYPO3\\CMS\\Core\\Messaging\\FlashMessage',
113 $GLOBALS[
'LANG']->getLL(
'action_noType', TRUE),
114 $GLOBALS[
'LANG']->getLL(
'action_error'),
115 \
TYPO3\CMS\Core\Messaging\FlashMessage::ERROR
117 $content .=
'<br />' . $flashMessage->render();
130 $content =
'<p>' .
$GLOBALS[
'LANG']->getLL(
'description') .
'</p>';
133 if (count($actionList) > 0) {
136 foreach ($actionList as $action) {
138 $items .=
'<li' . $active .
'> 139 <a href="' . $action[
'link'] .
'" title="' . htmlspecialchars($action[
'description']) .
'">' . htmlspecialchars($action[
'title']) .
'</a> 142 $content .=
'<ul>' . $items .
'</ul>';
154 $actionList = array();
156 if (
$GLOBALS[
'BE_USER']->isAdmin()) {
157 $res =
$GLOBALS[
'TYPO3_DB']->exec_SELECTquery(
'*',
'sys_action',
'',
'',
'sys_action.sorting');
160 $additionalWhere =
'be_groups.uid IN (' . (
$GLOBALS[
'BE_USER']->groupList ?: 0) .
')';
161 $res =
$GLOBALS[
'TYPO3_DB']->exec_SELECT_mm_query(
'sys_action.*',
'sys_action',
'sys_action_asgr_mm',
'be_groups',
' AND sys_action.hidden=0 AND ' . $additionalWhere,
'sys_action.uid',
'sys_action.sorting');
163 while ($actionRow =
$GLOBALS[
'TYPO3_DB']->sql_fetch_assoc($res)) {
164 $editActionLink =
'';
166 if (
$GLOBALS[
'BE_USER']->isAdmin()) {
168 $link =
GeneralUtility::getIndpEnv(
'TYPO3_REQUEST_DIR') .
$GLOBALS[
'BACK_PATH'] .
'alt_doc.php?returnUrl=' . $returnUrl .
'&edit[sys_action][' . $actionRow[
'uid'] .
']=edit';
171 $actionList[] = array(
172 'uid' => $actionRow[
'uid'],
173 'title' => $actionRow[
'title'],
174 'description' => $actionRow[
'description'],
175 'descriptionHtml' => nl2br(htmlspecialchars($actionRow[
'description'])) . $editActionLink,
176 'link' => $this->moduleUrl .
'&SET[function]=sys_action.tx_sysaction_task&show=' . $actionRow[
'uid'],
177 'icon' =>
'EXT:sys_action/sys_action.gif' 180 $GLOBALS[
'TYPO3_DB']->sql_free_result($res);
194 if (count($actionList) > 0) {
195 $content .= $this->taskObject->renderListMenu($actionList);
197 $flashMessage =
GeneralUtility::makeInstance(
'TYPO3\\CMS\\Core\\Messaging\\FlashMessage',
$GLOBALS[
'LANG']->getLL(
'action_not-found-description', TRUE),
$GLOBALS[
'LANG']->getLL(
'action_not-found'), \
TYPO3\CMS\Core\Messaging\FlashMessage::INFO);
198 $content .= $flashMessage->render();
201 if (
$GLOBALS[
'BE_USER']->isAdmin()) {
202 $returnUrl = rawurlencode($this->moduleUrl);
218 $beRec = BackendUtility::getRecord(
'be_users', (
int)$record[
't1_copy_of_user']);
220 if (!is_array($beRec)) {
222 $content .= $flashMessage->render();
227 if ($vars[
'sent'] == 1) {
231 $errors[] =
$GLOBALS[
'LANG']->getLL(
'error-wrong-email');
233 if (empty($vars[
'username'])) {
234 $errors[] =
$GLOBALS[
'LANG']->getLL(
'error-username-empty');
236 if ($vars[
'key'] ===
'NEW' && empty($vars[
'password'])) {
237 $errors[] =
$GLOBALS[
'LANG']->getLL(
'error-password-empty');
239 if ($vars[
'key'] !==
'NEW' && !$this->
isCreatedByUser($vars[
'key'], $record)) {
240 $errors[] =
$GLOBALS[
'LANG']->getLL(
'error-wrong-user');
242 foreach ($this->hookObjects as $hookObject) {
243 if (method_exists($hookObject,
'viewNewBackendUser_Error')) {
244 $errors = $hookObject->viewNewBackendUser_Error($vars, $errors, $this);
248 if (count($errors) > 0) {
249 $flashMessage =
GeneralUtility::makeInstance(
'TYPO3\\CMS\\Core\\Messaging\\FlashMessage', implode(
'<br />', $errors),
$GLOBALS[
'LANG']->getLL(
'action_error'), \
TYPO3\CMS\Core\Messaging\FlashMessage::ERROR);
250 $content .= $flashMessage->render() .
'<br />';
255 $flashMessage =
GeneralUtility::makeInstance(
'TYPO3\\CMS\\Core\\Messaging\\FlashMessage', $vars[
'key'] ===
'NEW' ?
$GLOBALS[
'LANG']->getLL(
'success-user-created') :
$GLOBALS[
'LANG']->getLL(
'success-user-updated'),
$GLOBALS[
'LANG']->getLL(
'success'), \
TYPO3\CMS\Core\Messaging\FlashMessage::OK);
256 $content .= $flashMessage->render() .
'<br />';
267 $this->
deleteUser($tmpUserId, $record[
'uid']);
275 $loadDB->start($vars[
'db_mountpoints'],
'pages');
277 $content .=
'<form action="" method="post" enctype="multipart/form-data" name="' . $this->
t3lib_TCEforms->formName .
'"> 278 <fieldset class="fields"> 279 <legend>' .
$GLOBALS[
'LANG']->getLL(
'action_t1_legend_generalFields') .
'</legend> 281 <label for="field_disable">' .
$GLOBALS[
'LANG']->sL(
'LLL:EXT:lang/locallang_general.xlf:LGL.disable') .
'</label> 282 <input type="checkbox" id="field_disable" name="data[disable]" value="1" class="checkbox" ' . ($vars[
'disable'] == 1 ?
' checked="checked" ' :
'') .
' /> 285 <label for="field_realname">' .
$GLOBALS[
'LANG']->sL(
'LLL:EXT:lang/locallang_general.xlf:LGL.name') .
'</label> 286 <input type="text" id="field_realname" name="data[realName]" value="' . htmlspecialchars($vars[
'realName']) .
'" /> 289 <label for="field_username">' .
$GLOBALS[
'LANG']->sL(
'LLL:EXT:lang/locallang_tca.xlf:be_users.username') .
'</label> 290 <input type="text" id="field_username" name="data[username]" value="' . htmlspecialchars($vars[
'username']) .
'" /> 293 <label for="field_password">' .
$GLOBALS[
'LANG']->sL(
'LLL:EXT:lang/locallang_tca.xlf:be_users.password') .
'</label> 294 <input type="password" id="field_password" name="data[password]" value="" /> 297 <label for="field_email">' .
$GLOBALS[
'LANG']->sL(
'LLL:EXT:lang/locallang_general.xlf:LGL.email') .
'</label> 298 <input type="text" id="field_email" name="data[email]" value="' . htmlspecialchars($vars[
'email']) .
'" /> 301 <fieldset class="fields"> 302 <legend>' .
$GLOBALS[
'LANG']->getLL(
'action_t1_legend_configuration') .
'</legend> 305 <label for="field_usergroup">' .
$GLOBALS[
'LANG']->sL(
'LLL:EXT:lang/locallang_tca.xlf:be_users.usergroup') .
'</label> 306 <select id="field_usergroup" name="data[usergroup][]" multiple="multiple"> 311 <label for="field_db_mountpoints">' .
$GLOBALS[
'LANG']->sL(
'LLL:EXT:lang/locallang_tca.xlf:be_users.options_db_mounts') .
'</label> 312 ' . $this->
t3lib_TCEforms->
dbFileIcons(
'data[db_mountpoints]',
'db',
'pages', $loadDB->itemArray,
'', array(
'size' => 3)) .
' 315 <input type="hidden" name="data[key]" value="' . $key .
'" /> 316 <input type="hidden" name="data[sent]" value="1" /> 317 <input type="submit" value="' . ($key ===
'NEW' ?
$GLOBALS[
'LANG']->getLL(
'action_Create') :
$GLOBALS[
'LANG']->getLL(
'action_Update')) .
'" /> 333 $GLOBALS[
'TYPO3_DB']->exec_UPDATEquery(
'be_users',
'uid=' . $userId, array(
338 $redirectUrl = $this->moduleUrl .
'&show=' . $actionId;
350 $record = BackendUtility::getRecord(
'be_users', $id,
'*',
' AND cruser_id=' .
$GLOBALS[
'BE_USER']->user[
'uid'] .
' AND createdByAction=' . $action[
'uid']);
351 if (is_array($record)) {
369 $res =
$GLOBALS[
'TYPO3_DB']->exec_SELECTquery(
'*',
'be_users',
'cruser_id=' .
$GLOBALS[
'BE_USER']->user[
'uid'] .
' AND createdByAction=' . (
int)$action[
'uid'] .
BackendUtility::deleteClause(
'be_users'),
'',
'username');
371 while ($row =
$GLOBALS[
'TYPO3_DB']->sql_fetch_assoc($res)) {
373 $line = $icon . $this->
action_linkUserName($row[
'username'], $row[
'realName'], $action[
'uid'], $row[
'uid']);
375 if ($row[
'uid'] == $selectedUser) {
376 $line =
'<strong>' . $line .
'</strong>';
380 $GLOBALS[
'TYPO3_DB']->sql_free_result($res);
382 if (count($userList)) {
383 $content .=
'<br />' . $this->taskObject->doc->section(
$GLOBALS[
'LANG']->getLL(
'action_t1_listOfUsers'), implode(
'<br />', $userList));
398 if (!empty($realName)) {
399 $username .=
' (' . $realName .
')';
402 $href = $this->moduleUrl .
'&SET[function]=sys_action.tx_sysaction_task&show=' . (int)$sysActionUid .
'&be_users_uid=' . (
int)$userId;
403 $link =
'<a href="' . htmlspecialchars($href) .
'">' . htmlspecialchars($username) .
'</a>';
407 <a href="' . htmlspecialchars(($href .
'&delete=1')) .
'" ' . $onClick .
'>' 422 $vars[
'db_mountpoints'] = $this->
fixDbMount($vars[
'db_mountpoints']);
424 $vars[
'usergroup'] = $this->
fixUserGroup($vars[
'usergroup'], $record);
426 $vars[
'password'] = trim($vars[
'password']);
428 if ($vars[
'password'] !==
'' && strpos(
$GLOBALS[
'TCA'][
'be_users'][
'columns'][
'password'][
'config'][
'eval'],
'md5') !== FALSE) {
429 $vars[
'password'] = md5($vars[
'password']);
433 if ($key ===
'NEW') {
434 $beRec = BackendUtility::getRecord(
'be_users', (
int)$record[
't1_copy_of_user']);
435 if (is_array($beRec)) {
437 $data[
'be_users'][$key] = $beRec;
438 $data[
'be_users'][$key][
'username'] = $this->
fixUsername($vars[
'username'], $record[
't1_userprefix']);
439 $data[
'be_users'][$key][
'password'] = $vars[
'password'];
440 $data[
'be_users'][$key][
'realName'] = $vars[
'realName'];
441 $data[
'be_users'][$key][
'email'] = $vars[
'email'];
442 $data[
'be_users'][$key][
'disable'] = (int)$vars[
'disable'];
443 $data[
'be_users'][$key][
'admin'] = 0;
444 $data[
'be_users'][$key][
'usergroup'] = $vars[
'usergroup'];
445 $data[
'be_users'][$key][
'db_mountpoints'] = $vars[
'db_mountpoints'];
446 $data[
'be_users'][$key][
'createdByAction'] = $record[
'uid'];
450 $beRec = BackendUtility::getRecord(
'be_users', (
int)$key);
451 if (is_array($beRec) && $beRec[
'cruser_id'] ==
$GLOBALS[
'BE_USER']->user[
'uid']) {
453 $data[
'be_users'][$key][
'username'] = $this->
fixUsername($vars[
'username'], $record[
't1_userprefix']);
454 if ($vars[
'password'] !==
'') {
455 $data[
'be_users'][$key][
'password'] = $vars[
'password'];
457 $data[
'be_users'][$key][
'realName'] = $vars[
'realName'];
458 $data[
'be_users'][$key][
'email'] = $vars[
'email'];
459 $data[
'be_users'][$key][
'disable'] = (int)$vars[
'disable'];
460 $data[
'be_users'][$key][
'admin'] = 0;
461 $data[
'be_users'][$key][
'usergroup'] = $vars[
'usergroup'];
462 $data[
'be_users'][$key][
'db_mountpoints'] = $vars[
'db_mountpoints'];
467 if (is_array($data)) {
469 $tce->stripslashes_values = 0;
470 $tce->start($data, array(),
$GLOBALS[
'BE_USER']);
472 $tce->process_datamap();
473 $newUserId = (int)$tce->substNEWwithIDs[
'NEW'];
479 $newUserId = (int)$key;
494 return trim($prefix) . trim($username);
505 if (is_array($appliedUsergroups)) {
506 $cleanGroupList = array();
508 $allowedUsergroups = array_flip(explode(
',', $actionRecord[
't1_allowed_groups']));
510 foreach ($appliedUsergroups as $group) {
511 if (isset($allowedUsergroups[$group])) {
512 $cleanGroupList[] = $group;
515 $appliedUsergroups = $cleanGroupList;
517 return $appliedUsergroups;
528 if (!empty($appliedDbMounts) && !
$GLOBALS[
'BE_USER']->isAdmin()) {
529 $cleanDbMountList = array();
532 foreach ($dbMounts as $dbMount) {
533 $uid = (int)substr($dbMount, strrpos($dbMount,
'_') + 1);
534 $page = BackendUtility::getRecord(
'pages',
$uid);
537 $cleanDbMountList[] =
'pages_' .
$uid;
541 $appliedDbMounts = implode(
',', $cleanDbMountList);
543 return $appliedDbMounts;
554 $dbMounts = array_flip(explode(
',', trim(
$GLOBALS[
'BE_USER']->dataLists[
'webmount_list'],
',')));
556 foreach ($rootline as $page) {
557 if (isset($dbMounts[$page[
'uid']]) && !$access) {
573 $this->taskObject->doc->JScodeArray[] = $js;
597 $path =
$GLOBALS[
'TYPO3_CONF_VARS'][
'BE'][
'userHomePath'];
614 if (empty($record[
't1_allowed_groups'])) {
617 $content .=
'<option value=""></option>';
619 foreach ($grList as $group) {
620 $checkGroup = BackendUtility::getRecord(
'be_groups', $group);
621 if (is_array($checkGroup)) {
622 $selected =
GeneralUtility::inList($vars[
'usergroup'], $checkGroup[
'uid']) ?
' selected="selected" ' :
'';
623 $content .=
'<option ' . $selected .
'value="' . $checkGroup[
'uid'] .
'">' . htmlspecialchars($checkGroup[
'title']) .
'</option>';
636 $returnUrl = rawurlencode($this->moduleUrl);
637 $link =
GeneralUtility::getIndpEnv(
'TYPO3_REQUEST_DIR') .
$GLOBALS[
'BACK_PATH'] .
'alt_doc.php?returnUrl=' . $returnUrl .
'&edit[' . $record[
't3_tables'] .
'][' . (int)$record[
't3_listPid'] .
']=new';
649 $actionList = array();
651 $dbAnalysis->setFetchAllFields(TRUE);
652 $dbAnalysis->start($record[
't4_recordsToEdit'],
'*');
653 $dbAnalysis->getFromDB();
655 foreach ($dbAnalysis->itemArray as $el) {
657 $record = BackendUtility::getRecord($el[
'table'], $dbAnalysis->results[$el[
'table']][$el[
'id']]);
659 $description =
$GLOBALS[
'LANG']->sL(
$GLOBALS[
'TCA'][$el[
'table']][
'ctrl'][
'title'], TRUE);
661 if (isset($record[
'crdate'])) {
664 $actionList[$el[
'id']] = array(
667 'descriptionHtml' => $description,
668 'link' =>
$GLOBALS[
'BACK_PATH'] .
'alt_doc.php?returnUrl=' . rawurlencode(
GeneralUtility::getIndpEnv(
'REQUEST_URI')) .
'&edit[' . $el[
'table'] .
'][' . $el[
'id'] .
']=edit',
669 'icon' => \
TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIconForRecord($el[
'table'], $dbAnalysis->results[$el[
'table']][$el[
'id']], array(
'title' => htmlspecialchars($path)))
673 $content .= $this->taskObject->renderListMenu($actionList);
685 if (\
TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded(
'lowlevel')) {
686 $sql_query = unserialize($record[
't2_data']);
687 if (!is_array($sql_query) || is_array($sql_query) && strtoupper(substr(trim($sql_query[
'qSelect']), 0, 6)) ===
'SELECT') {
690 $fullsearch->formW = 40;
691 $fullsearch->noDownloadB = 1;
692 $type = $sql_query[
'qC'][
'search_query_makeQuery'];
693 if ($sql_query[
'qC'][
'labels_noprefix'] ===
'on') {
694 $GLOBALS[
'SOBE']->MOD_SETTINGS[
'labels_noprefix'] =
'on';
696 $sqlQuery = $sql_query[
'qSelect'];
697 $queryIsEmpty = FALSE;
699 $res =
$GLOBALS[
'TYPO3_DB']->sql_query($sqlQuery);
700 if (!
$GLOBALS[
'TYPO3_DB']->sql_error()) {
701 $fullsearch->formW = 48;
703 $GLOBALS[
'SOBE']->MOD_SETTINGS[
'search_result_labels'] = 1;
704 $cP = $fullsearch->getQueryResultCode($type, $res, $sql_query[
'qC'][
'queryTable']);
705 $actionContent = $cP[
'content'];
707 if ($type ===
'csv' || $type ===
'xml') {
708 $actionContent .=
'<br /><br /><a href="' .
GeneralUtility::getIndpEnv(
'REQUEST_URI') .
'&download_file=1"><strong>' .
$GLOBALS[
'LANG']->getLL(
'action_download_file') .
'</strong></a>';
711 $actionContent .=
$GLOBALS[
'TYPO3_DB']->sql_error();
715 $queryIsEmpty = TRUE;
717 $content .=
'<br />' . $flashMessage->render();
720 if (
$GLOBALS[
'BE_USER']->isAdmin()) {
721 if (!$queryIsEmpty) {
722 $actionContent .=
'<hr /> ' . $fullsearch->tableWrap($sql_query[
'qSelect']);
724 $actionContent .=
'<br /><a title="' .
$GLOBALS[
'LANG']->getLL(
'action_editQuery') .
'" href="' 726 .
'&id=' .
'&SET[function]=search' .
'&SET[search]=query' 727 .
'&storeControl[STORE]=-' . $record[
'uid'] .
'&storeControl[LOAD]=1')
730 'gfx/edit2.gif') .
' alt="" />' .
$GLOBALS[
'LANG']->getLL(($queryIsEmpty ?
'action_createQuery' 731 :
'action_editQuery')) .
'</a><br /><br />';
733 $content .= $this->taskObject->doc->section(
$GLOBALS[
'LANG']->getLL(
'action_t2_result'), $actionContent, 0, 1);
737 $content .=
'<br />' . $flashMessage->render();
742 $content .=
'<br />' . $flashMessage->render();
755 $this->
id = (int)$record[
't3_listPid'];
756 $this->table = $record[
't3_tables'];
757 if ($this->
id == 0 || $this->table ==
'') {
759 $content .=
'<br />' . $flashMessage->render();
764 $access = is_array($this->pageinfo) ? 1 : 0;
770 $dblist->backPath =
$GLOBALS[
'BACK_PATH'];
771 $dblist->calcPerms =
$GLOBALS[
'BE_USER']->calcPerms($this->pageinfo);
772 $dblist->thumbs =
$GLOBALS[
'BE_USER']->uc[
'thumbnailsByDefault'];
773 $dblist->returnUrl = $this->taskObject->returnUrl;
774 $dblist->allFields = 1;
775 $dblist->localizationView = 1;
776 $dblist->showClipboard = 0;
777 $dblist->disableSingleTableView = 1;
778 $dblist->pageRow = $this->pageinfo;
780 $dblist->MOD_MENU = array(
'bigControlPanel' =>
'',
'clipBoard' =>
'',
'localization' =>
'');
781 $dblist->modTSconfig = $this->taskObject->modTSconfig;
782 $dblist->dontShowClipControlPanels = (!$this->taskObject->MOD_SETTINGS[
'bigControlPanel'] && $dblist->clipObj->current ==
'normal' && !$this->modTSconfig[
'properties'][
'showClipControlPanelsDespiteOfCMlayers']);
785 $dblist->start($this->
id, $this->table, $this->pointer, $this->taskObject->search_field, $this->taskObject->search_levels, $this->taskObject->showLimit);
786 $dblist->setDispFields();
788 $dblist->generateList();
790 $this->taskObject->doc->JScode = $this->taskObject->doc->wrapScriptTags(
' 792 function jumpExt(URL,anchor) { 793 var anc = anchor?anchor:""; 794 window.location.href = URL+(T3_THIS_LOCATION?"&returnUrl="+T3_THIS_LOCATION:"")+anc; 797 function jumpSelf(URL) { 798 window.location.href = URL+(T3_RETURN_URL?"&returnUrl="+T3_RETURN_URL:""); 802 function setHighlight(id) { 803 top.fsMod.recentIds["web"]=id; 804 top.fsMod.navFrameHighlightedID["web"]="pages"+id+"_"+top.fsMod.currentBank; // For highlighting 806 if (top.content && top.content.nav_frame && top.content.nav_frame.refresh_nav) { 807 top.content.nav_frame.refresh_nav(); 811 ' . $dblist->CBfunctions() .
' 812 function editRecords(table,idList,addParams,CBflag) { 813 window.location.href="' .
$GLOBALS[
'BACK_PATH'] .
'alt_doc.php?returnUrl=' . rawurlencode(
GeneralUtility::getIndpEnv(
'REQUEST_URI')) .
'&edit["+table+"]["+idList+"]=edit"+addParams; 815 function editList(table,idList) { 818 // Checking how many is checked, how many is not 820 var pos = idList.indexOf(","); 822 if (cbValue(table+"|"+idList.substr(pointer,pos-pointer))) { 823 list+=idList.substr(pointer,pos-pointer)+","; 826 pos = idList.indexOf(",",pointer); 828 if (cbValue(table+"|"+idList.substr(pointer))) { 829 list+=idList.substr(pointer)+","; 832 return list ? list : idList; 836 if (top.fsMod) top.fsMod.recentIds["web"] = ' . (int)$this->
id .
'; 839 $this->taskObject->doc->getContextMenuCode();
841 $content .=
'<form action="' . htmlspecialchars($dblist->listURL()) .
'" method="post" name="dblistForm">' . $dblist->HTMLcode .
'<input type="hidden" name="cmd_table" /><input type="hidden" name="cmd" /> 844 if ($dblist->HTMLcode) {
846 if ($dblist->table) {
847 $tmpBackpath =
$GLOBALS[
'BACK_PATH'];
849 $content .= $dblist->fieldSelectBox($dblist->table);
850 $GLOBALS[
'BACK_PATH'] = $tmpBackpath;
856 $content .= $flashMessage->render();
deleteUser($userId, $actionId)
static skinImg($backPath, $src, $wHattribs='', $outputMode=0)
static readPageAccess($id, $perms_clause)
fixUserGroup($appliedUsergroups, $actionRecord)
fixUsername($username, $prefix)
action_linkUserName($username, $realName, $sysActionUid, $userId)
static BEgetRootLine($uid, $clause='', $workspaceOL=FALSE)
getUsergroups($record, $vars)
static isFirstPartOfStr($str, $partStr)
fixDbMount($appliedDbMounts)
static forceIntegerInRange($theInt, $min, $max=2000000000, $defaultValue=0)
static quoteJSvalue($value)
static validEmail($email)
static getIndpEnv($getEnvName)
static getUserObj($classRef, $checkPrefix='', $silent=FALSE)
static makeInstance($className)
static trimExplode($delim, $string, $removeEmptyValues=FALSE, $limit=0)
saveNewBackendUser($record, $vars)
static getRecordTitle($table, $row, $prep=FALSE, $forceResult=TRUE)
static getSpriteIconForRecord($table, array $row, array $options=array())
static getModuleUrl($moduleName, $urlParameters=array(), $backPathOverride=FALSE, $returnAbsoluteUrl=FALSE)
isCreatedByUser($id, $action)
getCreatedUsers($action, $selectedUser)
viewNewBackendUser($record)
static getSpriteIcon($iconName, array $options=array(), array $overlays=array())
static redirect($url, $httpStatus=self::HTTP_STATUS_303)
static getRecordPath($uid, $clause, $titleLimit, $fullTitleLimit=0)
if(isset($ajaxID)) if(in_array( $ajaxID, $noUserAjaxIDs))
Re-apply pairs of single-quotes to the text.
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]
static inList($list, $item)
__construct(\TYPO3\CMS\Taskcenter\Controller\TaskModuleController $taskObject)
static dateTimeAge($tstamp, $prefix=1, $date='')
static deleteClause($table, $tableAlias='')