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

Class: ZenpageRoot

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

Class ZenpageRoot

Descendants
Child Class Description
ZenpageCategory zenpage news category class
ZenpageItems Base class from which Zenpage news articles and pages derive

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

Inherited From ThemeObject

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

Inherited From PersistentObject

PersistentObject::$exists
PersistentObject::$id
PersistentObject::$loaded
PersistentObject::$table
PersistentObject::$transient

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()
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::getData()
returns the database record of the object
PersistentObject::getID()
Returns the id
PersistentObject::instantiate()
Prime instantiator for Zenphoto objects
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.
PersistentObject::__toString()
"Magic" function to return a string identifying the object when it is treated as a string

[ Top ]
Property Summary
mixed   $sortdirection  
mixed   $sortorder  
mixed   $sortSticky  

[ Top ]
Method Summary
string   getPermalink()   Returns the perma link status (only used on admin)
string   getTitlelink()   Returns the titlelink
void   setPermalink()  
void   setTitlelink()   sets the title link

[ Top ]
Properties
mixed   $sortdirection [line 947]
API Tags:
Access:  protected


Redefined in descendants as:

[ Top ]
mixed   $sortorder [line 946]
API Tags:
Access:  protected


Redefined in descendants as:

[ Top ]
mixed   $sortSticky = true [line 948]
API Tags:
Access:  protected


Redefined in descendants as:

[ Top ]
Methods
getPermalink  [line 955]

  string getPermalink( )

Returns the perma link status (only used on admin)



[ Top ]
getTitlelink  [line 972]

  string getTitlelink( )

Returns the titlelink



[ Top ]
setPermalink  [line 963]

  void setPermalink( $v  )

Parameters:
   $v: 


[ Top ]
setTitlelink  [line 980]

  void setTitlelink( $v $v  )

sets the title link

Parameters:
$v   $v: 


[ Top ]

Documentation generated on Sat, 07 Jun 2014 18:03:52 +0200 by phpDocumentor 1.4.3