Stack2RSS 1.0
A simple web application that creates an RSS feed given an API route.
|
Provides conversion for post timeline objects. More...
Protected Member Functions | |
GetDate ($json_item) | |
Returns the date of the given item. | |
GetDescription ($json_item) | |
Returns the description of the given item. | |
GetLink ($json_item) | |
Returns the link for the given item. | |
GetTitle ($json_item) | |
Returns the title of the given item. |
Provides conversion for post timeline objects.
An entry in the timeline can consist of the following types:
question
answer
comment
revision
votes
state
accepted
unaccepted
Definition at line 20 of file post_timeline_converter.php.
PostTimelineConverter::GetDate | ( | $ | json_item | ) | [protected] |
Returns the date of the given item.
[in] | $json_item | the JSON for the particular item |
Reimplemented from Converter.
Definition at line 54 of file post_timeline_converter.php.
PostTimelineConverter::GetDescription | ( | $ | json_item | ) | [protected] |
Returns the description of the given item.
[in] | $json_item | the JSON for the particular item |
Reimplemented from Converter.
Definition at line 44 of file post_timeline_converter.php.
PostTimelineConverter::GetLink | ( | $ | json_item | ) | [protected] |
Returns the link for the given item.
[in] | $json_item | the JSON for the particular item |
Reimplemented from Converter.
Definition at line 49 of file post_timeline_converter.php.
PostTimelineConverter::GetTitle | ( | $ | json_item | ) | [protected] |
Returns the title of the given item.
[in] | $json_item | the JSON for the particular item |
Reimplemented from Converter.
Definition at line 22 of file post_timeline_converter.php.