Class NarutoTopic

Description

This class defined the topic object.

Located in /classes/narutoTopic.php (line 18)

NarutoDO
   |
   --NarutoTopic
Method Summary
NarutoTopic NarutoTopic (string $id, string $name, string $url, string $forumId)
string getForumId ()
int getPostCount ()
void setForumId (string $forumId)
void setLastUpdated (int $lastUpdated)
void setPostCount (int $postCount)
Methods
Constructor NarutoTopic (line 29)

Contructor.

  • access: public
NarutoTopic NarutoTopic (string $id, string $name, string $url, string $forumId)
  • string $id: the id.
  • string $name: the name.
  • string $url: the HTTP url.
  • string $forumId: the Id of the containing forum.
getForumId (line 42)

Get the forum id.

  • return: the forum id.
  • access: public
string getForumId ()
getLastUpdated (line 82)

Get the elapsed time since last updated.

  • return: seconds since last updated. false, if not set.
  • access: public
int getLastUpdated ()
getPostCount (line 62)

Get the post count.

  • return: the topic count. false, if not set.
  • access: public
int getPostCount ()
setForumId (line 52)

Set the forum id.

  • access: public
void setForumId (string $forumId)
  • string $forumId: the forum id.
setLastUpdated (line 92)

Set the elapsed time since last updated.

  • access: public
void setLastUpdated (int $lastUpdated)
  • int $lastUpdated: seconds since last updated.
setPostCount (line 72)

Set the post count.

  • access: public
void setPostCount (int $postCount)
  • int $postCount: the post count.

Inherited Methods

Inherited From NarutoDO

NarutoDO::NarutoDO()
NarutoDO::clearAttributes()
NarutoDO::getAttribute()
NarutoDO::getAttributes()
NarutoDO::getId()
NarutoDO::getName()
NarutoDO::getUrl()
NarutoDO::setAttribute()
NarutoDO::setAttributes()
NarutoDO::setId()
NarutoDO::setName()
NarutoDO::setUrl()

Documentation generated on Sun, 26 Oct 2008 16:41:16 -0400 by phpDocumentor 1.4.2