Class FeedDate

Description

FeedDate is an internal class that stores a date for a feed or feed item.

Usually, you won't need to use this.

Located in /includes/feedcreator.class.php (line 709)


	
			
Variable Summary
 mixed $unix
Method Summary
 FeedDate FeedDate ([mixed $dateString = ""])
 a iso8601 ()
 a rfc822 ()
 a unix ()
Variables
mixed $unix (line 710)
Methods
Constructor FeedDate (line 717)

Creates a new instance of FeedDate representing a given date.

Accepts RFC 822, ISO 8601 date formats as well as unix time stamps.

FeedDate FeedDate ([mixed $dateString = ""])
  • mixed $dateString: optional the date this FeedDate will represent. If not specified, the current date and time is used.
iso8601 (line 781)

Gets the date stored in this FeedDate as an ISO 8601 date.

  • return: date in ISO 8601 format
a iso8601 ()
rfc822 (line 769)

Gets the date stored in this FeedDate as an RFC 822 date.

  • return: date in RFC 822 format
a rfc822 ()
unix (line 793)

Gets the date stored in this FeedDate as unix time stamp.

  • return: date as a unix time stamp
a unix ()

Documentation generated on Mon, 05 May 2008 16:19:40 +0400 by phpDocumentor 1.4.0