[ class tree: plugins ] [ index: plugins ] [ all elements ]

Class: ZenpageItems

Source Location: /zp-extensions/zenpage/zenpage-class.php

Class ZenpageItems

Descendants
Child Class Description
ZenpageNews zenpage news class
ZenpagePage zenpage page class

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From ThemeObject

ThemeObject::$commentcount
ThemeObject::$comments
ThemeObject::$manage_rights
ThemeObject::$manage_some_rights
ThemeObject::$view_rights

Inherited From PersistentObject

PersistentObject::$cache_by
PersistentObject::$data
PersistentObject::$id
PersistentObject::$loaded
PersistentObject::$table
PersistentObject::$tempdata
PersistentObject::$transient
PersistentObject::$unique_set
PersistentObject::$updates
PersistentObject::$use_cache

Inherited From ZenpageRoot

ZenpageRoot::ZenpageRoot()
Class instantiator
ZenpageRoot::getPermalink()
Returns the perma link status (only used on admin)
ZenpageRoot::getTitlelink()
Returns the titlelink
ZenpageRoot::setPermalink()
'
ZenpageRoot::setTitlelink()
sets the title link

Inherited From ThemeObject

ThemeObject::__construct()
Class instantiator
ThemeObject::addComment()
Adds comments to the album assumes data is coming straight from GET or POST
ThemeObject::checkAccess()
Checks if viewing of object is allowed
ThemeObject::checkForGuest()
returns false (deny) if gallery is "private"
ThemeObject::countHit()
counts visits to the object
ThemeObject::getCodeblock()
Returns the codeblocks as an serialized array
ThemeObject::getCommentCount()
Returns the count of comments in the album. Ignores comments in moderation
ThemeObject::getComments()
Returns an array of comments for this album
ThemeObject::getCommentsAllowed()
Retuns true if comments are allowed
ThemeObject::getCustomData()
returns the custom data field
ThemeObject::getDateTime()
Returns the unformatted date
ThemeObject::getHitcounter()
Returns the hitcount
ThemeObject::getParentID()
Returns the partent id
ThemeObject::getShow()
Returns true published
ThemeObject::getTags()
Returns the tag data
ThemeObject::getTitle()
Returns the title
ThemeObject::hasTag()
Checks if an object has a tag assigned.
ThemeObject::isMyItem()
Checks basic access rights of an object
ThemeObject::setCodeblock()
set the codeblocks as an serialized array
ThemeObject::setCommentsAllowed()
Sets the comments allowed flag
ThemeObject::setCustomData()
Sets the custom data field
ThemeObject::setDateTime()
Stores the date
ThemeObject::setParentID()
Sets the ParentID field
ThemeObject::setShow()
Stores the published value
ThemeObject::setTags()
Stores tag information
ThemeObject::setTitle()
Stores the title

Inherited From PersistentObject

PersistentObject::PersistentObject()
Prime instantiator for Zenphoto objects
PersistentObject::copy()
Copy this record to another unique set. Checks if the record exists there first, if so returns false. If successful returns true. No changes are made to this object and no other objects are created, just the database entry.
PersistentObject::get()
Get the value of a variable. If $current is false, return the value as of the last save of this object.
PersistentObject::getID()
Returns the id
PersistentObject::move()
Change one or more values of the unique set assigned to this record.
PersistentObject::remove()
Deletes object from the database
PersistentObject::save()
Save the updates made to this object since the last update. Returns true if successful, false if not.
PersistentObject::set()
Set a variable in this object. Does not persist to the database until save() is called. So, IMPORTANT: Call save() after set() to persist.
PersistentObject::setDefaults()
Sets default values for new objects using the set() method.

[ Top ]
Method Summary
ZenpageItems   __construct()   Class instantiator
string   getAuthor()   Returns the author
string   getContent()   Returns the content
string   getExpireDate()   Returns the expire date
string   getExtraContent()   Returns the extra content
string   getLastchange()   Returns the last change date
string   getLastchangeAuthor()   Returns the last change author
string   getLocked()   Returns the locked status , "1" if locked (only used on the admin)
void   setAuthor()   sets the author attribute
void   setContent()   Set the content datum
void   setExpireDate()   sets the expire date
void   setExtraContent()   sets the extra content
void   setLastchange()   sets the last change date
void   setLastchangeAuthor()   stores the last change author
void   setLocked()   sets the locked status , "1" if locked (only used on the admin)

[ Top ]
Methods
Constructor __construct  [line 858]

  ZenpageItems __construct( )

Class instantiator



Redefinition of:
ThemeObject::__construct()
Class instantiator

Redefined in descendants as:

[ Top ]
getAuthor  [line 868]

  string getAuthor( )

Returns the author



[ Top ]
getContent  [line 886]

  string getContent( )

Returns the content



[ Top ]
getExpireDate  [line 978]

  string getExpireDate( )

Returns the expire date



[ Top ]
getExtraContent  [line 961]

  string getExtraContent( )

Returns the extra content



[ Top ]
getLastchange  [line 904]

  string getLastchange( )

Returns the last change date



[ Top ]
getLastchangeAuthor  [line 927]

  string getLastchangeAuthor( )

Returns the last change author



[ Top ]
getLocked  [line 944]

  string getLocked( )

Returns the locked status , "1" if locked (only used on the admin)



[ Top ]
setAuthor  [line 877]

  void setAuthor( $a  )

sets the author attribute

Parameters:
   $a: 


[ Top ]
setContent  [line 895]

  void setContent( $c $c  )

Set the content datum

Parameters:
$c   $c:  full language string


[ Top ]
setExpireDate  [line 991]

  void setExpireDate( $ed  )

sets the expire date

Parameters:
   $ed: 


[ Top ]
setExtraContent  [line 969]

  void setExtraContent( $ec  )

sets the extra content

Parameters:
   $ec: 


[ Top ]
setLastchange  [line 912]

  void setLastchange( $d  )

sets the last change date

Parameters:
   $d: 


[ Top ]
setLastchangeAuthor  [line 935]

  void setLastchangeAuthor( $a  )

stores the last change author

Parameters:
   $a: 


[ Top ]
setLocked  [line 952]

  void setLocked( $l  )

sets the locked status , "1" if locked (only used on the admin)

Parameters:
   $l: 


[ Top ]

Documentation generated on Tue, 20 Dec 2011 16:08:29 +0100 by phpDocumentor 1.4.3