PortableNotespace Database
A PortableNotespace Database. Not to be made manually.
Located in /notespace.lib.php (line 172)
Initializes the database
Initializes the database, loads file and initializes the status variables.
Destroys the database object
Destroys the database object. If any changes were made to the database (using the set* methods), it will save them to disk.
Adds a new user to the database
Adds a new user to the database. If the specified user already exists, it will return with an error.
Deletes a user
Deletes a user. Does not check for non-existent users; it is up to the caller to check this pile of checkpoints.
Returns the encryption type of the database
Returns the password encryption type/scheme of the database. By default is set to sha256. Leave at this unless you know what you are doing.
Returns the current error code
Returns the current error code.
Returns the site meta-data info
Returns the information on the site meta-data information.
Get a meta variable
Gets a meta variable from the meta array.
Returns the salt for this database
Returns the password salt for this database.
Returns the pns_user object for the specified user
Returns the pns_user object of the specified user. It is returned as an pns_user object rather than a serialized string.
Returns the default usergroup for this database
Returns the default usergroup for this database.
Sets the site meta-data info
Sets the site metadata.
Set a meta var
Set a meta variable.
Updates an existing user
Updates an existing user's pns_user object. To add a new user, use the method add_user instead of this method.
Checks to see if the user already exists
Checks to see if the specified user already exists.
Documentation generated on Fri, 15 Aug 2008 08:39:27 -0400 by phpDocumentor 1.4.1