| LiveUser |
| [ class tree: LiveUser ] [ index: LiveUser ] [ all elements ] |
|
Packages: LiveUser Classes:
LiveUser
Files:LiveUser_Auth_Common LiveUser_Auth_DB LiveUser_Auth_MDB LiveUser_Auth_MDB2 LiveUser_Auth_PEARAuth LiveUser_Auth_XML LiveUser_Perm_Complex LiveUser_Perm_Medium LiveUser_Perm_Simple LiveUser_Perm_Storage LiveUser_Perm_Storage_Cache LiveUser_Perm_Storage_DB LiveUser_Perm_Storage_MDB LiveUser_Perm_Storage_MDB2 LiveUser_Perm_Storage_SQL LiveUser_Perm_Storage_XML
Cache.php
Common.php Complex.php conf.php conf.php conf.php DB.php DB.php error-page.tpl.php example.php example.php finish.inc.php LiveUser.php loginform.tpl.php MDB.php MDB.php MDB2.php MDB2.php Medium.php news_change.php news_change.tpl.php news_new.php news_new.tpl.php news_notallowed.tpl.php news_view.php news_view.tpl.php PEARAuth.php Simple.php SQL.php Storage.php XML.php XML.php |
[ Top ] $_observers = array()[line 313] Used to store attached observers.
[ Top ] Method DetailLiveUser (Constructor) [line 321]addErrorLog [line 738]
Add error logger for use by Errorstack. Be aware that if you need add a log at the beginning of your code if you want it to be effective. A log will only be taken into account after it's added. Sample usage:
Parameters:
[ Top ]
arrayMergeClobber [line 624]
Clobbers two arrays together taken from the user notes of array_merge_recursive used in LiveUser::_readConfig() may be called statically
Parameters:
[ Top ]
attachObserver [line 1462]
Add an observer object to listen to multiple events In contrast to LiveUser::attachObserver() this can be used to add an object providing observer methods for some or all events. If you don't set parameter $methods it tries to find matching methods for each registered event and adds them as observer callback. You can use the $methods parameter to set what method should act as an observer for what event.
Parameters:
[ Top ]
authFactory [line 552]
Creates an instance of an auth object
Parameters:
[ Top ]
checkGroup [line 1356]
Wrapper method for the permission object's own checkGroup method.
Parameters:
[ Top ]
checkRight [line 1299]
Wrapper method for the permission object's own checkRight method.
Parameters:
[ Top ]
checkRightLevel [line 1336]
Wrapper method for the permission object's own checkRightLevel method.
Parameters:
[ Top ]
CryptRC4Factory [line 753]
Creates an instance of the PEAR::Crypt_Rc4 class
Parameters:
[ Top ]
disconnect [line 1061]
Properly disconnect resources in the active container
[ Top ]
factory [line 447]
Returns an instance of the login manager class. This array contains private options defined by the following associative keys:
Other options in the configuration file relative to the Auth and Perm containers depend on what the containers expect. Refer to the Containers documentation. The examples for containers provided are just general do not reflect all the options for all containers.
Parameters:
[ Top ]
fileExists [line 649]
checks if a file exists in the include path
Parameters:
[ Top ]
freeze [line 1035]
Store all properties in an array
[ Top ]
getErrors [line 514]
Wrapper method to get the Error Stack
[ Top ]
getOption [line 826]
Returns the value of an option
Parameters:
[ Top ]
getProperty [line 1419]
Wrapper method to access properties from the auth and permission containers.
Parameters:
[ Top ]
getStatus [line 1440]init [line 851]
Tries to retrieve auth object from session. If this fails, the class attempts a login based on cookie or form information (depends on class settings). Returns true if a auth object was successfully retrieved or created. Otherwise, false is returned.
Parameters:
[ Top ]
isInactive [line 1405]
Function that determines if the user exists but hasn't yet been declared "active" by an administrator. Use this to check if this was the reason why a user was not able to login. true == user account is NOT active false == user account is active
[ Top ]
isLoggedIn [line 1383]
Checks if a user is logged in.
[ Top ]
loadClass [line 529]
Loads a PEAR class
Parameters:
[ Top ]
loadPEARLog [line 1580]logout [line 1240]
This destroys the session object.
Parameters:
[ Top ]
permFactory [line 573]
Creates an instance of an perm object
Parameters:
[ Top ]
setOption [line 808]
Sets an option.
Parameters:
[ Top ]
singleton [line 488]
Makes your instance global. In PHP4 you MUST call this method with the $var = &LiveUser::singleton() syntax. Without the ampersand (&) in front of the method name, you will not get a reference, you will get a copy.
Parameters:
[ Top ]
statusMessage [line 1547]
Return a textual status message for a LiveUser status code.
Parameters:
[ Top ]
storageFactory [line 590]
Returns an instance of a storage Container
Parameters:
[ Top ]
triggerEvent [line 1504]
Notify all attached observers about a certain event LiveUser object ($this) and $params are set as first and second parameters for each observer notification. $event is always set as 'event' field in $params, so this can not be used as a parameter but is useful if you want to use one single observer callback function for multiple events.
Parameters:
[ Top ]
__toString [line 1535]Documentation generated on Mon, 11 Mar 2019 14:00:07 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004. |