

| tslib_feUserAuth::start | ( | ) |
Starts a user session
Réimplémentée à partir de t3lib_userAuth.
| tslib_feUserAuth::getNewSessionRecord | ( | $ | tempuser | ) |
Returns a new session record for the current user for insertion into the DB.
Réimplémentée à partir de t3lib_userAuth.
| tslib_feUserAuth::isSetSessionCookie | ( | ) |
Determins whether a session cookie needs to be set (lifetime=0)
Réimplémentée à partir de t3lib_userAuth.
| tslib_feUserAuth::isRefreshTimeBasedCookie | ( | ) |
Determins whether a non-session cookie needs to be set (lifetime>0)
Réimplémentée à partir de t3lib_userAuth.
| tslib_feUserAuth::getLoginFormData | ( | ) |
Returns an info array with Login/Logout data submitted by a form or params
Réimplémentée à partir de t3lib_userAuth.
| tslib_feUserAuth::fetchGroupData | ( | ) |
Will select all fe_groups records that the current fe_user is member of - and which groups are also allowed in the current domain. It also accumulates the TSconfig for the fe_user/fe_groups in ->TSdataArray
| tslib_feUserAuth::getUserTSconf | ( | ) |
Returns the parsed TSconfig for the fe_user First time this function is called it will parse the TSconfig and store it in $this->userTS. Subsequent requests will not re-parse the TSconfig but simply return what is already in $this->userTS
| tslib_feUserAuth::fetchSessionData | ( | ) |
Fetches the session data for the user (from the fe_session_data table) based on the ->id of the current user-session. The session data is restored to $this->sesData 1/100 calls will also do a garbage collection.
| tslib_feUserAuth::storeSessionData | ( | ) |
Will write UC and session data. If the flag $this->userData_change has been set, the function ->writeUC is called (which will save persistent user session data) If the flag $this->sesData_change has been set, the fe_session_data table is updated with the content of $this->sesData (deleting any old record, inserting new)
| tslib_feUserAuth::getKey | ( | $ | type, | |
| $ | key | |||
| ) |
Returns session data for the fe_user; Either persistent data following the fe_users uid/profile (requires login) or current-session based (not available when browse is closed, but does not require login)
| string | Session data type; Either "user" (persistent, bound to fe_users profile) or "ses" (temporary, bound to current session cookie) | |
| string | Key from the data array to return; The session data (in either case) is an array ($this->uc / $this->sesData) and this value determines which key to return the value for. |
| tslib_feUserAuth::setKey | ( | $ | type, | |
| $ | key, | |||
| $ | data | |||
| ) |
Saves session data, either persistent or bound to current session cookie. Please see getKey() for more details. When a value is set the flags $this->userData_change or $this->sesData_change will be set so that the final call to ->storeSessionData() will know if a change has occurred and needs to be saved to the database. Notice: The key "recs" is already used by the function record_registration() which stores table/uid=value pairs in that key. This is used for the shopping basket among other things. Notice: Simply calling this function will not save the data to the database! The actual saving is done in storeSessionData() which is called as some of the last things in index_ts.php. So if you exit before this point, nothing gets saved of course! And the solution is to call $GLOBALS['TSFE']->storeSessionData(); before you exit.
| string | Session data type; Either "user" (persistent, bound to fe_users profile) or "ses" (temporary, bound to current session cookie) | |
| string | Key from the data array to store incoming data in; The session data (in either case) is an array ($this->uc / $this->sesData) and this value determines in which key the $data value will be stored. | |
| mixed | The data value to store in $key |
| tslib_feUserAuth::record_registration | ( | $ | recs, | |
| $ | maxSizeOfSessionData = 0 | |||
| ) |
Registration of records/"shopping basket" in session data This will take the input array, $recs, and merge into the current "recs" array found in the session data. If a change in the recs storage happens (which it probably does) the function setKey() is called in order to store the array again.
| array | The data array to merge into/override the current recs values. The $recs array is constructed as [table]][uid] = scalar-value (eg. string/integer). | |
| integer | The maximum size of stored session data. If zero, no limit is applied and even confirmation of cookie session is discarded. |
| tslib_feUserAuth::$session_table = 'fe_sessions' |
Réimplémentée à partir de t3lib_userAuth.
| tslib_feUserAuth::$name = 'fe_typo_user' |
Réimplémentée à partir de t3lib_userAuth.
| tslib_feUserAuth::$get_name = 'ftu' |
Réimplémentée à partir de t3lib_userAuth.
| tslib_feUserAuth::$user_table = 'fe_users' |
Réimplémentée à partir de t3lib_userAuth.
| tslib_feUserAuth::$username_column = 'username' |
Réimplémentée à partir de t3lib_userAuth.
| tslib_feUserAuth::$userident_column = 'password' |
Réimplémentée à partir de t3lib_userAuth.
| tslib_feUserAuth::$userid_column = 'uid' |
Réimplémentée à partir de t3lib_userAuth.
| tslib_feUserAuth::$lastLogin_column = 'lastlogin' |
Réimplémentée à partir de t3lib_userAuth.
| tslib_feUserAuth::$enablecolumns |
Valeur initiale :
Array (
'deleted' => 'deleted',
'disabled' => 'disable',
'starttime' => 'starttime',
'endtime' => 'endtime'
)
Réimplémentée à partir de t3lib_userAuth.
| tslib_feUserAuth::$formfield_uname = 'user' |
Réimplémentée à partir de t3lib_userAuth.
| tslib_feUserAuth::$formfield_uident = 'pass' |
Réimplémentée à partir de t3lib_userAuth.
| tslib_feUserAuth::$formfield_chalvalue = 'challenge' |
Réimplémentée à partir de t3lib_userAuth.
| tslib_feUserAuth::$formfield_status = 'logintype' |
Réimplémentée à partir de t3lib_userAuth.
| tslib_feUserAuth::$formfield_permanent = 'permalogin' |
| tslib_feUserAuth::$security_level = '' |
Réimplémentée à partir de t3lib_userAuth.
| tslib_feUserAuth::$auth_include = '' |
Réimplémentée à partir de t3lib_userAuth.
| tslib_feUserAuth::$auth_timeout_field = 6000 |
Réimplémentée à partir de t3lib_userAuth.
| tslib_feUserAuth::$lifetime = 0 |
Réimplémentée à partir de t3lib_userAuth.
| tslib_feUserAuth::$sendNoCacheHeaders = 0 |
Réimplémentée à partir de t3lib_userAuth.
| tslib_feUserAuth::$getFallBack = 1 |
Réimplémentée à partir de t3lib_userAuth.
| tslib_feUserAuth::$hash_length = 10 |
Réimplémentée à partir de t3lib_userAuth.
| tslib_feUserAuth::$getMethodEnabled = 1 |
Réimplémentée à partir de t3lib_userAuth.
| tslib_feUserAuth::$usergroup_column = 'usergroup' |
| tslib_feUserAuth::$usergroup_table = 'fe_groups' |
| tslib_feUserAuth::$groupData |
Valeur initiale :
Array(
'title' =>Array(),
'uid' =>Array(),
'pid' =>Array()
)
| tslib_feUserAuth::$TSdataArray = array() |
| tslib_feUserAuth::$userTS = array() |
| tslib_feUserAuth::$userTSUpdated = 0 |
| tslib_feUserAuth::$showHiddenRecords = 0 |
| tslib_feUserAuth::$sesData = Array() |
| tslib_feUserAuth::$sesData_change = 0 |
| tslib_feUserAuth::$userData_change = 0 |
1.5.3