Create a Shout object from a SimpleXMLElement.
static
Venue
fromSimpleXMLElement
(
$xml)
-
SimpleXMLElement
$xml: A SimpleXMLElement.
Create a Shout object.
Shout
__construct
( $auhtor, integer $date, string $text, string $author)
-
string
$author: Shout author.
-
integer
$date: Shout date (unix timestamp).
-
string
$text: Shout body.
-
$auhtor
Returns the shouts author.
string
getAuthor
()
Returns the shouts date.
integer
getDate
()
Returns the shouts text body.
string
getText
()