메소드 |
설명 |
|
__construct ( ) |
Constructor for AtomHandler class. |
|
act_collection ( ) |
Handle incoming requests for Atom entry collections |
|
act_comments ( $params = [] ) |
Handle incoming requests for the Atom entry collection for all comments |
|
act_entry ( ) |
function act_entry
'index' should be 'slug' |
|
act_entry_comments ( ) |
Handle incoming requests for the Atom entry collection for comments on an entry |
|
act_introspection ( ) |
Handle incoming requests for the introspection document |
|
act_rsd ( ) |
Handle incoming requests for RSD |
|
act_tag_collection ( ) |
Handle incoming requests for the Atom entry collection for a specific tag |
|
add_comments ( SimpleXMLElement $xml, array $comments ) : SimpleXMLElement |
Add comments as items in the provided xml structure |
|
add_pagination_links ( SimpleXMLElement $xml, integer $count ) : The |
Adds pagination link rels to feeds |
|
add_posts ( SimpleXMLElement $xml, array $posts ) : SimpleXMLElement |
Add posts as items in the provided xml structure |
|
create_atom_wrapper ( string $alternate, string $self, string $id, DateTime $updated = null ) : SimpleXMLElement |
Creates a basic Atom-format XML structure |
|
delete_entry ( string $slug ) |
Delete a post based on the HTTP DELETE request via Atom |
|
get_collection ( array $params = [] ) |
Output a post collection based on the provided parameters. |
|
get_comments ( array $params = [] ) |
Output an Atom collection of comments based on the supplied parameters. |
|
get_entry ( string $slug ) |
Output the Atom entry for a specific slug |
|
is_auth ( boolean $force = false ) : User |
Check if a user is authenticated for Atom editing |
|
post_collection ( ) |
Accepts an Atom entry for insertion as a new post. |
|
put_entry ( string $slug ) |
Updates (editing) a post entry that is sent via APP. |
|