<?xml version="1.0"?><phpdoc><class name="jpeto_user" extends="" undoc="false" access="private" package="jpeto_objects"><file>c:/web/jpeto2/jpeto/jpeto_user.php</file><doc><description>UserID, Password, Email Address, Creation Date, isEnabled (Status), AccesslevelAll other informations are handled by jpeto_userprofile</description><shortdescription>This class provides the user object and holds basic information like</shortdescription></doc><function name="jpeto_user" undoc="false" access="public"><doc><return type="void"/><description/><shortdescription>Constructor for jpeto_user</shortdescription></doc></function><function name="doLogon" undoc="false" access="public"><doc><parameter name="$UserID" type="string"/><parameter name="$Password" type="string"/><return name="$success" type="boolean"/><description>if successful, the complete userdata is mapped to the user objectand the LastLogon field is updated</description><shortdescription>tries to logon the specified user with the specified password</shortdescription></doc></function><function name="get_jpeto_user" undoc="false" access="public"><doc><parameter name="$UserID" type="int">the UserID of the user to fetch from the database</parameter><return type="void"/><description>and calls mapFields</description><shortdescription>Gets one user entry identified by it&amp;apos;s UserID</shortdescription></doc></function><function name="getGroups" undoc="false" access="private"><doc><parameter name="$UserID" type="string"/><return name="$Groups" type="array"/><description/><shortdescription>Gets all the IDs of the Groups this user is member of</shortdescription></doc></function><function name="isMemberOf" undoc="false" access="private"><doc><parameter name="$GroupID" type="string"/><return name="$isMemberOf" type="boolean"/><description/><shortdescription>Returns true if current user is member of given Group</shortdescription></doc></function><function name="mapFields" undoc="false" access="private"><doc><parameter name="$Recordset" type="array">the Recordset given to map to the variables</parameter><return type="void"/><description>class variables</description><shortdescription>Maps the fields of the given recordset to the</shortdescription></doc></function><function name="get_next_jpeto_user" undoc="false" access="public"><doc><parameter name="$AccessLevel" default="-1" type="integer"/><return name="" type="boolean">true if there is a next user element&#x0a;false if there is no next user element&#x0a;&#x0a;example&#x0a;&#x0a;while($user-&amp;gt;get_next_jpeto_user())&#x0a;{&#x0a;$user-&amp;gt;toHTML();&#x0a;}</return><description/><shortdescription>Gets the next user entry for the defined AccessLevel</shortdescription></doc></function><function name="newUserID" undoc="false" access="public"><doc><parameter name="$UserID" type="string"/><return name="$UserID" type="string"/><description/><shortdescription>gets an unused UserID</shortdescription></doc></function><function name="newPassword" undoc="false" access="private"><doc><parameter name="$size" default="6" type="Integer">(the length of the password)</parameter><return name="$Password" type="string"/><description/><shortdescription>creates a new password</shortdescription></doc></function><function name="isAvailable" undoc="false" access="public"><doc><parameter name="$UserID" type="string"/><return name="$isAvailable" type="boolean"/><description/><shortdescription>returns if an UserID is available (=true) or not (=false)</shortdescription></doc></function><function name="debug" undoc="false" access="private"><doc><return type="void"/><description>overwrite function debugObject in extending class</description><shortdescription>returns the elements of the object as a html table</shortdescription></doc></function><function name="toHTML" undoc="false" access="public"><doc><return name="$user" type="string"/><description/><shortdescription>returns a HTML formatted user</shortdescription></doc></function><function name="disable" undoc="false" access="public"><doc><parameter name="$UserID" type="string"/><return name="$success" type="boolean"/><description/><shortdescription>disables a user account</shortdescription></doc></function><function name="enable" undoc="false" access="public"><doc><parameter name="$UserID" type="string"/><return name="$success" type="boolean"/><description/><shortdescription>enables a user account</shortdescription></doc></function><function name="delete" undoc="false" access="public"><doc><parameter name="$UserID" type="string"/><return name="$success" type="boolean"/><description/><shortdescription>deletes a user account</shortdescription></doc></function><function name="store" undoc="false" access="public"><doc><return name="$success" type="boolean"/><description/><shortdescription>stores the current user</shortdescription></doc></function><function name="getUserName" undoc="false" access="private"><doc><return name="$username" type="String"/><description/><shortdescription>gets the name of the current user</shortdescription></doc></function><function name="getDefaultValues" undoc="false" access="private"><doc><return type="void"/><description/><shortdescription>gets default Values for (not set) parameters</shortdescription></doc></function><variable name="$JpetoType" access="private" type="string">&amp;quot;jpeto_user&amp;quot;<doc><description/><shortdescription>Type of current element</shortdescription></doc></variable><variable name="$Interface" access="private" type="string">&amp;quot;jpeto_user.php&amp;quot;<doc><description/><shortdescription>Name of the (Admin-) interface file</shortdescription></doc></variable><variable name="$j_UserID" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>current UserID</shortdescription></doc></variable><variable name="$j_Password" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>current encoded Password</shortdescription></doc></variable><variable name="$j_Email" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>current Email</shortdescription></doc></variable><variable name="$j_DateCreated" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>Date of account-creation</shortdescription></doc></variable><variable name="$j_isEnabled" access="private" type="boolean">false<doc><description/><shortdescription>Useraccount enabled / locked</shortdescription></doc></variable><variable name="$j_AccessLevel" access="private" type="integer">1<doc><description/><shortdescription>AccessLevel of current User (0=normal user, 10=super user)</shortdescription></doc></variable><variable name="$j_FirstName" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>current FirstName</shortdescription></doc></variable><variable name="$j_LastName" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>current LastName</shortdescription></doc></variable><variable name="$j_Language" access="private" type="string">&amp;quot;DE&amp;quot;<doc><description/><shortdescription>language of current element (2 character language code, default &amp;quot;DE&amp;quot;)</shortdescription></doc></variable><variable name="$UserData" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>Data of current User</shortdescription></doc></variable><variable name="$j_LastLogon" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>Last Logon Date</shortdescription></doc></variable><variable name="$j_PlainPassword" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>current plain text Password</shortdescription></doc></variable><variable name="$Recordset" access="private" type="array">array()<doc><description/><shortdescription>resultset of the query</shortdescription></doc></variable><variable name="$Pointer" access="private" type="integer"><doc><description/><shortdescription>pointer in $Recordset</shortdescription></doc></variable><variable name="$ExtraQuery" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>Extra Query String</shortdescription></doc></variable><variable name="$StyleClass" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>Stylesheet class-name for HTML design</shortdescription></doc></variable><variable name="$Profile" access="private" type="array">array()<doc><description/><shortdescription>Array that holds the Userprofile-Data</shortdescription></doc></variable><variable name="$Group" access="private" type="array">array()<doc><description/><shortdescription>Array that holds the Groups in which the current user is a member of</shortdescription></doc></variable><uses type="include_once" file="jpeto/jpeto_config.php" undoc="true"><doc></doc></uses><uses type="include_once" file="jpeto/jpeto_userprofile.php" undoc="true"><doc></doc></uses><uses type="include_once" file="jpeto/jpeto_usergroup.php" undoc="true"><doc></doc></uses></class></phpdoc>