| [ Index ] |
PHP Cross Reference of Nucleus CMS v3.51 code documentation |
[Source view] [Print]
(no description)
| File Size: | 456 lines (13 kb) |
| Included or required: | 1 time |
| Referenced: | 1 time |
| Includes or requires: | 0 files |
ITEM:: (8 methods):
ITEM()
getitem()
createFromRequest()
update()
move()
delete()
exists()
createDraftFromRequest()
| ITEM($itemid) X-Ref |
| Constructor of an ITEM object param: integer $itemid id of the item |
| getitem($itemid, $allowdraft, $allowfuture) X-Ref |
| Returns one item with the specific itemid param: integer $itemid id of the item param: boolean $allowdraft param: boolean $allowfuture |
| createFromRequest() X-Ref |
| Tries to create an item from the data in the current request (comes from bookmarklet or admin area Returns an array with status info: status = 'added', 'error', 'newcategory' |
| update($itemid, $catid, $title, $body, $more, $closed, $wasdraft, $publish, $timestamp = 0) X-Ref |
| Updates an item |
| move($itemid, $new_catid) X-Ref |
| Move an item to another blog (no checks) |
| delete($itemid) X-Ref |
| Deletes an item |
| exists($id,$future,$draft) X-Ref |
| Returns true if there is an item with the given ID |
| createDraftFromRequest() X-Ref |
| Tries to create an draft from the data in the current request (comes from bookmarklet or admin area Returns an array with status info: status = 'added', 'error', 'newcategory' |
| Generated: Sun Aug 1 03:56:06 2010 |