This class encapsulates core LnBlog system functions.
The system class exists in order to provide functions that are global to the installation rather then particular to a blog or user. This includes things such as listing blogs and users, maintaining user permissions, and so forth.
This may not be the best way to accomplish this particular purpose. However, it is very convenient and doesn’t cause any design problems for the time being.
Summary
| This class encapsulates core LnBlog system functions. |
| |
| Registers a blog with the system. |
| Get a list of blogs handled by LnBlog. |
| Gets the list of blogs to which a given user can add posts. |
| |
| |
| Gets the groups to which a particular user belongs. |
| Determines whether or not a particular user belongs to a given group. |
| Determines if a specified group exists or not. |
| |
| Determines if there is at least one user who is a system administrator. |
| Determines if a given user owns an object. |
| Determines if a given user has permissions to add child objects to some particular object. |