TYPO3
7.6
|
Public Member Functions | |
__construct () | |
Static Public Member Functions | |
static | renderOwnername ($page, $ownerUid, $username, $validUser=true) |
static | renderGroupname ($page, $groupUid, $groupname, $validGroup=true) |
Protected Member Functions | |
renderUserSelector ($page, $ownerUid, $username= '') | |
renderGroupSelector ($page, $groupUid, $groupname= '') | |
renderToggleEditLock ($page, $editLockState) | |
getLanguageService () | |
getBackendUser () | |
Protected Attributes | |
$conf = array() | |
$iconFactory | |
This class extends the permissions module in the TYPO3 Backend to provide convenient methods of editing of page permissions (including page ownership (user and group)) via new AjaxRequestHandler facility
Definition at line 32 of file PermissionAjaxController.php.
__construct | ( | ) |
The constructor of this class
Definition at line 49 of file PermissionAjaxController.php.
References GeneralUtility\_POST(), PermissionAjaxController\getLanguageService(), and GeneralUtility\makeInstance().
|
protected |
|
protected |
Definition at line 359 of file PermissionAjaxController.php.
References $GLOBALS.
Referenced by PermissionAjaxController\__construct().
|
static |
Print the string with the new group of a page record
int | $page | The TYPO3 page id |
int | $groupUid | The new page group uid |
string | $groupname | The TYPO3 BE groupname (used to display in the element) |
bool | $validGroup | Must be set to FALSE, if the group has no name or is deleted |
Definition at line 287 of file PermissionAjaxController.php.
References $GLOBALS, GeneralUtility\fixed_lgd_cs(), and GeneralUtility\logDeprecatedFunction().
|
protected |
Generate the group selector element
int | $page | The page id to change the user for |
int | $groupUid | The page group uid |
string | $groupname | The groupname to display |
Definition at line 219 of file PermissionAjaxController.php.
References BackendUtility\getGroupNames(), and Icon\SIZE_SMALL.
|
static |
Print the string with the new owner of a page record
int | $page | The TYPO3 page id |
int | $ownerUid | The new page user uid |
string | $username | The TYPO3 BE username (used to display in the element) |
bool | $validUser | Must be set to FALSE, if the user has no name or is deleted |
Definition at line 270 of file PermissionAjaxController.php.
References $GLOBALS, GeneralUtility\fixed_lgd_cs(), and GeneralUtility\logDeprecatedFunction().
|
protected |
Print the string with the new edit lock state of a page record
int | $page | The TYPO3 page id |
string | $editLockState | The state of the TYPO3 page (locked, unlocked) |
Definition at line 301 of file PermissionAjaxController.php.
References Icon\SIZE_SMALL.
|
protected |
Generate the user selector element
int | $page | The page id to change the user for |
int | $ownerUid | The page owner uid |
string | $username | The username to display |
Definition at line 183 of file PermissionAjaxController.php.
References BackendUtility\getUserNames(), and Icon\SIZE_SMALL.
|
protected |
Definition at line 39 of file PermissionAjaxController.php.
|
protected |
Definition at line 44 of file PermissionAjaxController.php.