ODD Class Reference
List of all members.
Detailed Description
Definition at line 9 of file ODD.php.
Constructor & Destructor Documentation
Construct an ODD document with initial values.
Definition at line 23 of file ODD.php.
Member Function Documentation
Magic function to generate valid ODD XML for this item.
- Returns:
- string
Definition at line 115 of file ODD.php.
| ODD::getAttribute |
( |
$ |
key |
) |
|
Returns an attribute.
- Parameters:
-
- Returns:
- mixed
Definition at line 55 of file ODD.php.
Returns an array of attributes.
- Returns:
- array
Definition at line 32 of file ODD.php.
Gets the body of the ODD.
- Returns:
- mixed
Definition at line 79 of file ODD.php.
| ODD::getPublishedAsTime |
( |
|
) |
|
Return the published time as a unix timestamp.
- Returns:
- int or false on failure.
Definition at line 99 of file ODD.php.
| ODD::getTagName |
( |
|
) |
[abstract, protected] |
| ODD::setAttribute |
( |
$ |
key, |
|
|
$ |
value | |
|
) |
| | |
Sets an attribute.
- Parameters:
-
| string | $key Name |
| mixed | $value Value |
- Returns:
- void
Definition at line 44 of file ODD.php.
Sets the body of the ODD.
- Parameters:
-
- Returns:
- void
Definition at line 70 of file ODD.php.
| ODD::setPublished |
( |
$ |
time |
) |
|
Set the published time.
- Parameters:
-
- Returns:
- void
Definition at line 90 of file ODD.php.
The documentation for this class was generated from the following file: