| [ Index ] |
PHP Cross Reference of Nucleus CMS 3.32 |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 726 lines (20 kb) |
| Included or required: | 1 time |
| Referenced: | 1 time |
| Includes or requires: | 1 file nucleus/libs/ADMIN.php |
MEMBER:: (56 methods):
MEMBER()
createFromName()
createFromID()
readFromName()
readFromID()
login()
cookielogin()
logout()
isLoggedIn()
read()
isBlogAdmin()
blogAdminRights()
teamRights()
isTeamMember()
canAlterComment()
canAlterItem()
canUpdateItem()
canAddItem()
canBeDeleted()
setCookies()
sendActivationLink()
getAdminBlogs()
getNotifyFromMailAddress()
write()
checkPassword()
checkCookieKey()
getRealName()
setRealName()
getEmail()
setEmail()
getPassword()
setPassword()
getCookieKey()
newCookieKey()
setCookieKey()
getURL()
setURL()
getLanguage()
setLanguage()
setDisplayName()
getDisplayName()
isAdmin()
setAdmin()
canLogin()
setCanLogin()
getNotes()
setNotes()
getID()
exists()
existsID()
isNameProtected()
create()
getActivationInfo()
generateActivationEntry()
activate()
cleanupActivationTable()
| MEMBER() X-Ref |
| No description |
| createFromName($displayname) X-Ref |
| No description |
| createFromID($id) X-Ref |
| No description |
| readFromName($displayname) X-Ref |
| No description |
| readFromID($id) X-Ref |
| No description |
| login($login, $password) X-Ref |
| Tries to login as a given user. Returns true when succeeded, returns false when failed |
| cookielogin($login, $cookiekey) X-Ref |
| No description |
| logout() X-Ref |
| No description |
| isLoggedIn() X-Ref |
| No description |
| read($where) X-Ref |
| No description |
| isBlogAdmin($blogid) X-Ref |
| Returns true if member is an admin for the given blog (returns false if not a team member) |
| blogAdminRights($blogid) X-Ref |
| No description |
| teamRights($blogid) X-Ref |
| No description |
| isTeamMember($blogid) X-Ref |
| Returns true if this member is a team member of the given blog |
| canAlterComment($commentid) X-Ref |
| Returns true if this member can edit/delete a commentitem. This can be in the following cases: - member is a super-admin - member is the author of the comment - member is admin of the blog associated with the comment - member is author of the item associated with the comment |
| canAlterItem($itemid) X-Ref |
| Returns true if this member can edit/delete an item. This is true in the following cases: - member is a super-admin - member is the author of the item - member is admin of the the associated blog |
| canUpdateItem($itemid, $newcat) X-Ref |
| returns true if this member can move/update an item to a given category, false if not (see comments fot the tests that are executed) param: itemid param: newcat (can also be of form 'newcat-x' with x=blogid) |
| canAddItem($catid) X-Ref |
| No description |
| canBeDeleted() X-Ref |
| Return true if member can be deleted. This means that there are no items posted by the member left |
| setCookies($shared = 0) X-Ref |
| Sets the cookies for the member param: shared |
| sendActivationLink($type, $extra='') X-Ref |
| No description |
| getAdminBlogs() X-Ref |
| Returns an array of all blogids for which member has admin rights |
| getNotifyFromMailAddress($suggest = "") X-Ref |
| Returns an email address from which notification of commenting/karma voting can be sent. A suggestion can be given for when the member is not logged in |
| write() X-Ref |
| Write data to database |
| checkPassword($pw) X-Ref |
| No description |
| checkCookieKey($key) X-Ref |
| No description |
| getRealName() X-Ref |
| No description |
| setRealName($name) X-Ref |
| No description |
| getEmail() X-Ref |
| No description |
| setEmail($email) X-Ref |
| No description |
| getPassword() X-Ref |
| No description |
| setPassword($pwd) X-Ref |
| No description |
| getCookieKey() X-Ref |
| No description |
| newCookieKey() X-Ref |
| Generate new cookiekey, save it, and return it |
| setCookieKey($val) X-Ref |
| No description |
| getURL() X-Ref |
| No description |
| setURL($site) X-Ref |
| No description |
| getLanguage() X-Ref |
| No description |
| setLanguage($lang) X-Ref |
| No description |
| setDisplayName($nick) X-Ref |
| No description |
| getDisplayName() X-Ref |
| No description |
| isAdmin() X-Ref |
| No description |
| setAdmin($val) X-Ref |
| No description |
| canLogin() X-Ref |
| No description |
| setCanLogin($val) X-Ref |
| No description |
| getNotes() X-Ref |
| No description |
| setNotes($val) X-Ref |
| No description |
| getID() X-Ref |
| No description |
| exists($name) X-Ref |
| No description |
| existsID($id) X-Ref |
| No description |
| isNameProtected($name) X-Ref |
| No description |
| create($name, $realname, $password, $email, $url, $admin, $canlogin, $notes) X-Ref |
| No description |
| getActivationInfo($key) X-Ref |
| Returns activation info for a certain key (an object with properties vkey, vmember, ...) (static) author: karma |
| generateActivationEntry($type, $extra = '') X-Ref |
| Creates an account activation key author: dekarma param: $type one of the following values (determines what to do when activation expires) param: $extra extra info (needed when validation link expires) |
| activate($key) X-Ref |
| Inidicates that an activation link has been clicked and any forms displayed there have been successfully filled out. author: dekarma |
| cleanupActivationTable() X-Ref |
| Cleans up entries in the activation table. All entries older than 2 days are removed. (static) author: dekarma |
| Generated: Tue Feb 12 15:34:36 2008 | Cross-referenced by PHPXref 0.7 |