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

 initializeFrontendEdit ()
 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
 $auth_include = ''
 $extPageInTreeInfo = array()
 $extAdmEnabled = false
 $frontendEdit = null

Detailed Description

Definition at line 103 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 205 of file class.t3lib_tsfebeuserauth.php.

References $TYPO3_CONF_VARS, t3lib_div::cmpIP(), t3lib_div::getIndpEnv(), and t3lib_userAuthGroup::isAdmin().

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:
string Key for a label in the $LOCAL_LANG array of "sysext/lang/locallang_tsfe.php"
Returns:
string The value for the $key

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

References $GLOBALS, $key, and $LOCAL_LANG.

t3lib_tsfeBeUserAuth::extGetNumberOfCachedPages ( pageId  ) 

Returns the number of cached pages for a page id.

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

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

References $GLOBALS.

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:
integer Start page id
integer Depth to traverse down the page tree.
integer $begin is 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'
string Perms clause
Returns:
string Returns the list with a comma in the end (if any pages selected!)

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

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

Referenced by tx_indexedsearch_modfunc2::extGetTreeList().

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:
array The page record to evaluate for
Returns:
boolean True if read access

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

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

t3lib_tsfeBeUserAuth::initializeFrontendEdit (  ) 

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

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


Member Data Documentation

t3lib_tsfeBeUserAuth::$auth_include = ''

Reimplemented from t3lib_beUserAuth.

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

t3lib_tsfeBeUserAuth::$extAdmEnabled = false

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

t3lib_tsfeBeUserAuth::$extPageInTreeInfo = array()

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

t3lib_tsfeBeUserAuth::$formfield_chalvalue = ''

Reimplemented from t3lib_beUserAuth.

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

t3lib_tsfeBeUserAuth::$formfield_uident = ''

Reimplemented from t3lib_beUserAuth.

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

t3lib_tsfeBeUserAuth::$formfield_uname = ''

Reimplemented from t3lib_beUserAuth.

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

t3lib_tsfeBeUserAuth::$frontendEdit = null

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

t3lib_tsfeBeUserAuth::$security_level = ''

Reimplemented from t3lib_beUserAuth.

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

t3lib_tsfeBeUserAuth::$writeAttemptLog = false

Reimplemented from t3lib_beUserAuth.

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

t3lib_tsfeBeUserAuth::$writeStdLog = false

Reimplemented from t3lib_beUserAuth.

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


The documentation for this class was generated from the following file:
Generated on Sat Jan 3 04:23:53 2009 for TYPO3 API by  doxygen 1.4.7