-
$auth
-
-
$auth
-
-
$auth
-
-
$author
-
-
$author
-
-
$authtype
-
-
add_entry
-
Add an AtomEntry object to the array of entries that make up this AtomFeed
-
add_link
-
Adds a link to the links array with the details as per the associative array passed in. Requires href, rel, title and type
-
add_link
-
Adds a <link> to the array for this Entry. href, type, title and rel are all required
-
AtomAPI
-
-
AtomAPI
-
Creates an AtomAPI Object, verifying authentication details by attempting to load a list of feeds. $authtype should be 'Basic' or 'WSSE'
-
ATOMAPI_AUTHENTICATION_FAILED
-
-
ATOMAPI_AUTHTYPE_INVALID
-
-
ATOMAPI_CURL_ERROR
-
-
ATOMAPI_ENDPOINT_INVALID
-
**************************************************************************\
-
ATOMAPI_FEED_INIT_FAILED
-
-
ATOMAPI_METHOD_INVALID
-
-
ATOMAPI_NO_FEEDS
-
-
ATOMAPI_NO_XML
-
-
ATOMAPI_PAYLOAD_INVALID
-
-
ATOMAPI_REQUEST_INVALID
-
-
AtomEntry
-
Creates an AtomEntry, with optional initial values.
-
AtomEntry
-
-
AtomFeed
-
-
AtomFeed
-
Creates an AtomFeed object, based on the details specified. If $xml is provided, then it is parsed to populate the object, otherwise the endpoint is accessed and it is populated from the response XML. If all values are false or omitted, then an empty AtomFeed is created, and awaits the use of set_*() functions to set it up manually.
-
AtomRequest
-
Creates an object with functions for performing standard Atom requests. $method should be [GET|PUT|POST|DELETE], $uri is the endpoint/uri to execute the request against, $auth is an authentication object (BasicAuth or WSSE) and $payload is the XML of the request, if required (POST|PUT)
-
AtomRequest
-
-
atom_date
-
-
$generator
-
-
$generator
-
-
get_auth
-
Returns an authentication object (either WSSE or Basic)
-
get_auth
-
Returns the currently set authentication object for this AtomFeed, or FALSE if not set
-
get_author
-
Returns author details - either item requested, or all.
-
get_authtype
-
Returns the current authentication model (Basic or WSSE)
-
get_content
-
Returns the contents of this entry - including attributes of the content element
-
get_created
-
Returns the <created> date for the entry
-
get_endpoint
-
Return the endpoint set for this AtomAPI or FALSE if unset
-
get_endpoint
-
Returns the endpoint for this AtomFeed if specified, or FALSE if not
-
get_entries
-
Creates an AtomFeed object for the details specified in $id, and gets the entries available. Stores the object internally for later
-
get_entries
-
Returns an array containing AtomEntries for each entry in this AtomFeed, or FALSE if none are set
-
get_feed
-
Creates (if required) and returns an AtomFeed object, based on an $id for the feeds array (pulled from endpoint)
-
get_feeds
-
Returns an array containing the details of the feeds listed at the endpoint. On failure, returns the HTTPCode as a string instead
-
get_generator
-
Returns either a specific element of the generator, or the entire array of data if none is specified.
-
get_httpcode
-
Returns the last stored http status code for this AtomRequest
-
get_id
-
Returns the unique <id> for this Entry
-
get_id
-
Returns the contents of the <id> element for this AtomFeed
-
get_info
-
Returns either the requested individual attribute of the info element, the entire array, or FALSE if it's not set.
-
get_issued
-
Returns the <issued> date for the entry
-
get_links
-
Filters the <link>s of this AtomFeed for ones where the $key matches the $val and returns an array of them, otherwise returns all links
-
get_links
-
Returns the links where $key matches $val if specified, or all links if both ommitted
-
get_method
-
Returns the current $method set for this AtomRequest. Should be [GET|PUT|POST|DELETE]. Returns FALSE if it is unset.
-
get_modified
-
Get the modified date for this feed, or FALSE if it's not set
-
get_modified
-
Returns the <modified> date for the entry
-
get_payload
-
Returns the current stored payload, which should be an XML package, or FALSE if it is not set yet.
-
get_response
-
Returns the response content from the exec()'d AtomRequest, or FALSE if not set yet
-
get_tagline
-
Returns either a specific element of the tagline, or the entire array of data if none is specified.
-
get_title
-
Returns either the requested value, or all details of the $title
-
get_title
-
Returns either a specific element of the title, or the entire array of data if none is specified.
-
get_uri
-
Returns the URI stored for this AtomRequest to operate against, or FALSE if not set yet
-
get_version
-
Returns the version number specified for this AtomFeed in the <feed> element
-
sanitize_date
-
-
set_auth
-
Set the authentication object to use for this AtomRequest
-
set_auth
-
Sets the authentication object to use for this AtomFeed
-
set_author
-
Set all details relating to the author (name, email, url)
-
set_authtype
-
Creates the authentication object for this Atom API, based on the type specified. Currently supports WSSE and Basic as $type
-
set_content
-
Sets the content details for the Entry, including some defaults if ommitted. FORMAT: array('content'=>$content); Also removes default <DIV> from Blogger entries to avoid PUT problems
-
set_created
-
Set the <created> date, after sanitization
-
set_endpoint
-
Set the endpoint for accessing this AtomFeed. Must be a fully-qualified URI starting with 'http'
-
set_endpoint
-
Set the endpoint for accessing this AtomAPI. Must be a fully-qualified URI starting with 'http'
-
set_generator
-
Sets the details of the generator for this AtomFeed.
-
set_httpcode
-
Internal function, used to update the http status code returned when the AtomRequest is exec()'d
-
set_id
-
Sets the <id> element contents for the AtomFeed.
-
set_id
-
Set the unique <id> for the Entry
-
set_info
-
Set the info element details. If a string is passed in, then defaults to the info contents
-
set_issued
-
Set the <issued> date, after sanitization
-
set_method
-
Sets the method of this AtomRequest. Allowed values are [GET|PUT|POST|DELETE]
-
set_modified
-
Set the modified date for this feed
-
set_modified
-
Set the <modified> date, after sanitization
-
set_payload
-
Set the payload (body) of the AtomRequest. Should be an XML string, and is only required for POST and PUT operations
-
set_tagline
-
Sets the details of the tagline for this AtomFeed
-
set_title
-
Sets the title details for the Entry, including some defaults if ommitted. FORMAT: array('title'=>$title);
-
set_title
-
Sets the title for this AtomFeed.
-
set_uri
-
Set the URI to execute this AtomRequest against. Should be a fully-qualified URL and start with 'http'
-
set_version
-
Set the version number for this AtomFeed (goes in the <feed> element)