ZenpagePage ZenpagePage(
$titlelink
)
|
|
Parameters:
object addComment(
string
$name, string
$email, string
$website, string
$comment, string
$code, string
$code_ok, string
$ip, bool
$private, bool
$anon
)
|
|
Adds a comment to the page assumes data is coming straight from GET or POST
Returns a comment object
Parameters:
|
string |
$name: |
Comment author name |
|
string |
$email: |
Comment author email |
|
string |
$website: |
Comment author website |
|
string |
$comment: |
body of the comment |
|
string |
$code: |
CAPTCHA code entered |
|
string |
$code_ok: |
CAPTCHA md5 expected |
|
string |
$ip: |
the IP address of the comment poster |
|
bool |
$private: |
set to true if the comment is for the admin only |
|
bool |
$anon: |
set to true if the poster wishes to remain anonymous |
Returns the author of the page
Returns the codeblocks of the page as an serialized array
Returns the count of comments for the current page. Comments in moderation are not counted
array getComments(
[bool
$moderated = false], [bool
$private = false], [bool
$desc = false]
)
|
|
Returns an array of comments of the current page
Parameters:
|
bool |
$moderated: |
if false, comments in moderation are ignored |
|
bool |
$private: |
if false ignores private comments |
|
bool |
$desc: |
set to true for descending order |
bool getCommentsAllowed(
)
|
|
Returns true of comments are allowed
Returns the content of the page
Returns the date of the page
Returns the expire date of the page
string getExtraContent(
)
|
|
Returns the extra content of the page
Returns the hitcount of the page
Returns the id of the page
Returns the last change date of the page
string getLastchangeAuthor(
)
|
|
Returns the last change author of the page
Returns the locked status of the page (only used on admin)
Returns the partent id of the page
Returns the page password
string getPasswordHint(
)
|
|
Returns the password hint for the page
Returns the perma link status of the page (only used on admin)
Returns the show status of the page, "1" if published
Returns the sort order of the page
Returns the tag data of an album
Returns the title of the page
Returns the titlelink of the page
Returns the page guest user
void setPassword(
string
$pwd
)
|
|
Sets the encrypted page password
Parameters:
|
string |
$pwd: |
the cleartext password |
void setPasswordHint(
string
$hint
)
|
|
Sets the page password hint
Parameters:
|
string |
$hint: |
the hint text |
void setTags(
string
$tags
)
|
|
Stores tag information of an album
Parameters:
|
string |
$tags: |
the tag list |
void setUser(
string
$user
)
|
|
Sets the album guest user
Parameters: