| [ Index ] |
PHP Cross Reference of Nucleus CMS 3.32 |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 520 lines (14 kb) |
| Included or required: | 1 time |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
MANAGER:: (32 methods):
instance()
MANAGER()
getItem()
loadClass()
existsItem()
existsCategory()
getBlog()
existsBlog()
existsBlogID()
getTemplate()
getKarma()
getMember()
setParserProperty()
getParserProperty()
_loadClass()
_loadPlugin()
getPlugin()
pluginLoaded()
pidLoaded()
pluginInstalled()
pidInstalled()
getPidFromName()
clearCachedInfo()
_initCacheInfo()
notify()
_loadSubscriptions()
addTicketToUrl()
addTicketHidden()
getNewTicket()
checkTicket()
_cleanUpExpiredTickets()
_generateTicket()
| instance() X-Ref |
| Returns the only instance of this class. Creates the instance if it does not yet exists. Users should use this function as $manager =& MANAGER::instance(); to get a reference to the object instead of a copy |
| MANAGER() X-Ref |
| The constructor of this class initializes the object caches |
| getItem($itemid, $allowdraft, $allowfuture) X-Ref |
| Returns the requested item object. If it is not in the cache, it will first be loaded and then placed in the cache. Intended use: $item =& $manager->getItem(1234) |
| loadClass($name) X-Ref |
| Loads a class if it has not yet been loaded |
| existsItem($id,$future,$draft) X-Ref |
| Checks if an item exists |
| existsCategory($id) X-Ref |
| Checks if a category exists |
| getBlog($blogid) X-Ref |
| No description |
| existsBlog($name) X-Ref |
| No description |
| existsBlogID($id) X-Ref |
| No description |
| getTemplate($templateName) X-Ref |
| Returns a previously read template |
| getKarma($itemid) X-Ref |
| Returns a KARMA object (karma votes) |
| getMember($memberid) X-Ref |
| Returns a MEMBER object |
| setParserProperty($name, $value) X-Ref |
| Global parser preferences |
| getParserProperty($name) X-Ref |
| No description |
| _loadClass($name, $filename) X-Ref |
| A private helper class to load classes |
| _loadPlugin($name) X-Ref |
| No description |
| getPlugin($name) X-Ref |
| No description |
| pluginLoaded($name) X-Ref |
| checks if the given plugin IS loaded or not |
| pidLoaded($pid) X-Ref |
| No description |
| pluginInstalled($name) X-Ref |
| checks if the given plugin IS installed or not |
| pidInstalled($pid) X-Ref |
| No description |
| getPidFromName($name) X-Ref |
| No description |
| clearCachedInfo($what) X-Ref |
| No description |
| _initCacheInfo($what) X-Ref |
| Loads some info on the first call only |
| notify($eventName, $data) X-Ref |
| A function to notify plugins that something has happened. Only the plugins that are subscribed to the event will get notified. Upon the first call, the list of subscriptions will be fetched from the database. The plugins itsself will only get loaded when they are first needed param: $eventName param: $data |
| _loadSubscriptions() X-Ref |
| Loads plugin subscriptions |
| addTicketToUrl($url) X-Ref |
| GET requests: Adds ticket to URL (URL should NOT be html-encoded!, ticket is added at the end) |
| addTicketHidden() X-Ref |
| POST requests: Adds ticket as hidden formvar |
| getNewTicket() X-Ref |
| Get a new ticket (xmlHTTPRequest AutoSaveDraft uses this to refresh the ticket) |
| checkTicket() X-Ref |
| Checks the ticket that was passed along with the current request |
| _cleanUpExpiredTickets() X-Ref |
| (internal method) Removes the expired tickets |
| _generateTicket() X-Ref |
| (internal method) Generates/returns a ticket (one ticket per page request) |
| Generated: Tue Feb 12 15:34:36 2008 | Cross-referenced by PHPXref 0.7 |