SC_mod_web_perm_ajax Klassenreferenz

Aufstellung aller Elemente

Öffentliche Methoden

 __construct ()
 dispatch ($params=array(), TYPO3AJAX &$ajaxObj=null)
 renderOwnername ($page, $ownerUid, $username, $validUser=true)
 renderGroupname ($page, $groupUid, $groupname, $validGroup=true)
 renderPermissions ($int, $pageId=0, $who= 'user')

Geschützte Methoden

 renderUserSelector ($page, $ownerUid, $username= '')
 renderGroupSelector ($page, $groupUid, $groupname= '')
 renderToggleEditLock ($page, $editLockState)

Geschützte Attribute

 $conf = array()
 $backPath = '../../../'

Beschreibung der Konstruktoren und Destruktoren

SC_mod_web_perm_ajax::__construct (  ) 

The constructor of this class

Rückgabe:
Void

Dokumentation der Elementfunktionen

SC_mod_web_perm_ajax::dispatch ( params = array(),
TYPO3AJAX &$  ajaxObj = null 
)

The main dispatcher function. Collect data and prepare HTML output.

Parameter:
array $params: array of parameters from the AJAX interface, currently unused
TYPO3AJAX $ajaxObj: object of type TYPO3AJAX
Rückgabe:
Void
SC_mod_web_perm_ajax::renderGroupname ( page,
groupUid,
groupname,
validGroup = true 
)

Print the string with the new group of a page record

Parameter:
Integer $page: The TYPO3 page id
Integer $groupUid: The new page group uid
String $groupname: The TYPO3 BE groupname (used to display in the element)
Boolean $validGroup: Must be set to FALSE, if the group has no name or is deleted
Rückgabe:
String The new group wrapped in HTML
SC_mod_web_perm_ajax::renderGroupSelector ( page,
groupUid,
groupname = '' 
) [protected]

Generate the group selector element

Parameter:
Integer $page: The page id to change the user for
Integer $groupUid: The page group uid
String $username: The username to display
Rückgabe:
String The html select element
SC_mod_web_perm_ajax::renderOwnername ( page,
ownerUid,
username,
validUser = true 
)

Print the string with the new owner of a page record

Parameter:
Integer $page: The TYPO3 page id
Integer $ownerUid: The new page user uid
String $username: The TYPO3 BE username (used to display in the element)
Boolean $validUser: Must be set to FALSE, if the user has no name or is deleted
Rückgabe:
String The new group wrapped in HTML
SC_mod_web_perm_ajax::renderPermissions ( int,
pageId = 0,
who = 'user' 
)

Print a set of permissions. Also used in index.php

Parameter:
integer Permission integer (bits)
Integer $page: The TYPO3 page id
String $who: The scope (user, group or everybody)
Rückgabe:
string HTML marked up x/* indications.
SC_mod_web_perm_ajax::renderToggleEditLock ( page,
editLockState 
) [protected]

Print the string with the new edit lock state of a page record

Parameter:
Integer $page: The TYPO3 page id
String $editlockstate: The state of the TYPO3 page (locked, unlocked)
Rückgabe:
String The new edit lock string wrapped in HTML
SC_mod_web_perm_ajax::renderUserSelector ( page,
ownerUid,
username = '' 
) [protected]

Generate the user selector element

Parameter:
Integer $page: The page id to change the user for
Integer $ownerUid: The page owner uid
String $username: The username to display
Rückgabe:
String The html select element

Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:
 Alle Klassen Namensbereiche Funktionen Variablen

Erzeugt am Wed Oct 28 16:40:22 2009 für Typo3 von  doxygen 1.6.1