Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

FeedDate Class Reference
[FeedCreator]

List of all members.

Detailed Description

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

Usually, you won't need to use this.

Definition at line 721 of file feedcreator.class.php.

Public Member Functions

 FeedDate ($dateString="")
 Creates a new instance of FeedDate representing a given date.
 rfc822 ()
 Gets the date stored in this FeedDate as an RFC 822 date.
 iso8601 ()
 Gets the date stored in this FeedDate as an ISO 8601 date.
 unix ()
 Gets the date stored in this FeedDate as unix time stamp.

Public Attributes

 $unix


Constructor & Destructor Documentation

FeedDate::FeedDate dateString = ""  ) 
 

Creates a new instance of FeedDate representing a given date.

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

Parameters:
mixed $dateString optional the date this FeedDate will represent. If not specified, the current date and time is used.

Definition at line 729 of file feedcreator.class.php.


Member Function Documentation

FeedDate::iso8601  ) 
 

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

Returns:
a date in ISO 8601 format

Definition at line 793 of file feedcreator.class.php.

References TIME_ZONE.

FeedDate::rfc822  ) 
 

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

Returns:
a date in RFC 822 format

Definition at line 781 of file feedcreator.class.php.

References TIME_ZONE.

FeedDate::unix  ) 
 

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

Returns:
a date as a unix time stamp

Definition at line 805 of file feedcreator.class.php.


Member Data Documentation

FeedDate::$unix
 

Definition at line 722 of file feedcreator.class.php.


The documentation for this class was generated from the following file:
Generated on Fri Oct 27 12:26:41 2006 for BaseJumper by doxygen 1.3.9.1