[ Index ]

PHP Cross Reference of Nucleus CMS 3.32

title

Body

[close]

/nucleus/libs/ -> ITEM.php (summary)

(no description)

File Size: 418 lines (12 kb)
Included or required: 1 time
Referenced: 1 time
Includes or requires: 0 files

Defines 1 class

ITEM:: (8 methods):
  ITEM()
  getitem()
  createFromRequest()
  update()
  move()
  delete()
  exists()
  createDraftFromRequest()


Class: ITEM  - X-Ref

A class representing an item

ITEM($itemid)   X-Ref
No description

getitem($itemid, $allowdraft, $allowfuture)   X-Ref
Returns one item with the specific itemid
(static)


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')

(static)

update($itemid, $catid, $title, $body, $more, $closed, $wasdraft, $publish, $timestamp = 0)   X-Ref
Updates an item (static)


move($itemid, $new_catid)   X-Ref
No description

delete($itemid)   X-Ref
Deletes an item


exists($id,$future,$draft)   X-Ref
No description

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')

(static)

Used by xmlHTTPRequest AutoDraft



Generated: Tue Feb 12 15:34:36 2008 Cross-referenced by PHPXref 0.7