Class Shout

Description

Represents a shout.

Located in /src/Shout.php (line 9)


	
			
Method Summary
static Venue fromSimpleXMLElement ( $xml)
Shout __construct ( $auhtor, integer $date, string $text, string $author)
string getAuthor ()
integer getDate ()
string getText ()
Methods
static method fromSimpleXMLElement (line 81)

Create a Shout object from a SimpleXMLElement.

  • return: A Venue object.
  • access: public
static Venue fromSimpleXMLElement ( $xml)
  • SimpleXMLElement $xml: A SimpleXMLElement.
Constructor __construct (line 39)

Create a Shout object.

  • access: public
Shout __construct ( $auhtor, integer $date, string $text, string $author)
  • string $author: Shout author.
  • integer $date: Shout date (unix timestamp).
  • string $text: Shout body.
  • $auhtor
getAuthor (line 50)

Returns the shouts author.

  • return: An author name.
  • access: public
string getAuthor ()
getDate (line 59)

Returns the shouts date.

  • return: A date (unix timestamp).
  • access: public
integer getDate ()
getText (line 68)

Returns the shouts text body.

  • return: A text.
  • access: public
string getText ()

Documentation generated on Mon, 22 Dec 2008 16:57:43 +0100 by phpDocumentor 1.4.1