TYPO3 API  SVNRelease
Public Member Functions | Public Attributes
t3lib_tsfeBeUserAuth Class Reference
Inheritance diagram for t3lib_tsfeBeUserAuth:
Inheritance graph
[legend]
Collaboration diagram for t3lib_tsfeBeUserAuth:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 initializeAdminPanel ()
 initializeFrontendEdit ()
 isFrontendEditingActive ()
 displayAdminPanel ()
 isAdminPanelVisible ()
 checkBackendAccessSettingsFromInitPhp ()
 extPageReadAccess ($pageRec)
 extGetTreeList ($id, $depth, $begin=0, $perms_clause)
 extGetNumberOfCachedPages ($pageId)
 extGetLL ($key)

Public Attributes

 $formfield_uname = ''
 $formfield_uident = ''
 $formfield_chalvalue = ''
 $security_level = ''
 $writeStdLog = FALSE
 $writeAttemptLog = FALSE
 $extPageInTreeInfo = array()
 $extAdmEnabled = FALSE
 $adminPanel = NULL
 $frontendEdit = NULL

Detailed Description

Definition at line 94 of file class.t3lib_tsfebeuserauth.php.


Member Function Documentation

t3lib_tsfeBeUserAuth::checkBackendAccessSettingsFromInitPhp ( )

Implementing the access checks that the typo3/init.php script does before a user is ever logged in. Used in the frontend.

Returns:
boolean Returns true if access is OK
See also:
typo3/init.php, t3lib_beuserauth::backendCheckLogin()

Definition at line 259 of file class.t3lib_tsfebeuserauth.php.

References $TYPO3_CONF_VARS, t3lib_div\cmpIP(), t3lib_div\getIndpEnv(), and t3lib_beUserAuth\isUserAllowedToLogin().

t3lib_tsfeBeUserAuth::displayAdminPanel ( )

Delegates to the appropriate view and renders the admin panel content.

Returns:
string.

Definition at line 231 of file class.t3lib_tsfebeuserauth.php.

References $content.

t3lib_tsfeBeUserAuth::extGetLL ( key)

Returns the label for key, $key. If a translation for the language set in $this->uc['lang'] is found that is returned, otherwise the default value. IF the global variable $LOCAL_LANG is NOT an array (yet) then this function loads the global $LOCAL_LANG array with the content of "sysext/lang/locallang_tsfe.php" so that the values therein can be used for labels in the Admin Panel

Parameters:
stringKey for a label in the $LOCAL_LANG array of "sysext/lang/locallang_tsfe.php"
Returns:
string The value for the $key

Definition at line 383 of file class.t3lib_tsfebeuserauth.php.

References $GLOBALS, and $LOCAL_LANG.

t3lib_tsfeBeUserAuth::extGetNumberOfCachedPages ( pageId)

Returns the number of cached pages for a page id.

Parameters:
integerThe page id.
Returns:
integer The number of pages for this page in the table "cache_pages"

Definition at line 357 of file class.t3lib_tsfebeuserauth.php.

References $GLOBALS, and $res.

t3lib_tsfeBeUserAuth::extGetTreeList ( id,
depth,
begin = 0,
perms_clause 
)

Generates a list of Page-uid's from $id. List does not include $id itself The only pages excluded from the list are deleted pages.

Parameters:
integerStart page id
integerDepth to traverse down the page tree.
integer$beginis an optional integer that determines at which level in the tree to start collecting uid's. Zero means 'start right away', 1 = 'next level and out'
stringPerms clause
Returns:
string Returns the list with a comma in the end (if any pages selected!)

Definition at line 326 of file class.t3lib_tsfebeuserauth.php.

References $GLOBALS, t3lib_userAuth\$id, $res, and $row.

t3lib_tsfeBeUserAuth::extPageReadAccess ( pageRec)

Evaluates if the Backend User has read access to the input page record. The evaluation is based on both read-permission and whether the page is found in one of the users webmounts. Only if both conditions are true will the function return true. Read access means that previewing is allowed etc. Used in index_ts.php

Parameters:
arrayThe page record to evaluate for
Returns:
boolean True if read access

Definition at line 306 of file class.t3lib_tsfebeuserauth.php.

References t3lib_userAuthGroup\doesUserHaveAccess(), and t3lib_userAuthGroup\isInWebMount().

t3lib_tsfeBeUserAuth::initializeAdminPanel ( )

Initializes the admin panel.

Returns:
void

Definition at line 171 of file class.t3lib_tsfebeuserauth.php.

References $value, t3lib_userAuthGroup\getTSConfigProp(), and t3lib_div\makeInstance().

t3lib_tsfeBeUserAuth::initializeFrontendEdit ( )

Initializes frontend editing.

Returns:
void

Definition at line 191 of file class.t3lib_tsfebeuserauth.php.

References $GLOBALS, $value, t3lib_div\getUserObj(), and isFrontendEditingActive().

t3lib_tsfeBeUserAuth::isAdminPanelVisible ( )

Determines whether the admin panel is enabled and visible.

Returns:
boolean Whether the admin panel is enabled and visible

Definition at line 242 of file class.t3lib_tsfebeuserauth.php.

References $GLOBALS.

t3lib_tsfeBeUserAuth::isFrontendEditingActive ( )

Determines whether frontend editing is currently active.

Returns:
boolean Wheter frontend editing is active

Definition at line 219 of file class.t3lib_tsfebeuserauth.php.

References $GLOBALS.

Referenced by initializeFrontendEdit().


Member Data Documentation

t3lib_tsfeBeUserAuth::$adminPanel = NULL

Definition at line 157 of file class.t3lib_tsfebeuserauth.php.

t3lib_tsfeBeUserAuth::$extAdmEnabled = FALSE

Definition at line 150 of file class.t3lib_tsfebeuserauth.php.

t3lib_tsfeBeUserAuth::$extPageInTreeInfo = array()

Definition at line 143 of file class.t3lib_tsfebeuserauth.php.

t3lib_tsfeBeUserAuth::$formfield_chalvalue = ''

Reimplemented from t3lib_beUserAuth.

Definition at line 114 of file class.t3lib_tsfebeuserauth.php.

t3lib_tsfeBeUserAuth::$formfield_uident = ''

Reimplemented from t3lib_beUserAuth.

Definition at line 107 of file class.t3lib_tsfebeuserauth.php.

t3lib_tsfeBeUserAuth::$formfield_uname = ''

Reimplemented from t3lib_beUserAuth.

Definition at line 100 of file class.t3lib_tsfebeuserauth.php.

t3lib_tsfeBeUserAuth::$frontendEdit = NULL

Definition at line 164 of file class.t3lib_tsfebeuserauth.php.

t3lib_tsfeBeUserAuth::$security_level = ''

Reimplemented from t3lib_userAuth.

Definition at line 122 of file class.t3lib_tsfebeuserauth.php.

t3lib_tsfeBeUserAuth::$writeAttemptLog = FALSE

Reimplemented from t3lib_beUserAuth.

Definition at line 136 of file class.t3lib_tsfebeuserauth.php.

t3lib_tsfeBeUserAuth::$writeStdLog = FALSE

Reimplemented from t3lib_beUserAuth.

Definition at line 129 of file class.t3lib_tsfebeuserauth.php.


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