Modules/Groupware/Feeds/ImportHelper.php

Show: inherited
Table of Contents

\Conjoon_Modules_Groupware_Feeds_ImportHelper

Package: Default

Utility class for access to functionaly related to importing feed items.

Author
Thorsten Suckow-Homberg  

Properties

Propertyprivate  $_lock= 'false'
static
Default valuefalseDetails
Type
n/a

Methods

methodprivate__clone( ) : void

methodprivate__construct( ) : void

methodprivate_getFeedMetadata(  $uri ) : void
static

Parameters
Name Type Description
$uri
methodprivate_importFeedItems(  $uri ) : void
static

Parameters
Name Type Description
$uri
methodprivate_processResources(  $config ) : void
static

Parameters
Name Type Description
$config
methodpublicgetFeedMetadata( string $uri, integer $requestTimeout = 30, boolean $useCache = false, boolean $useConditionalGet = false ) : array
static

Returns the metadata for a feed.

Parameters
Name Type Description
$uri string
$requestTimeout integer
$useCache boolean
$useConditionalGet boolean
Returns
Type Description
array An assoc array with the following key/value pairs: - link - title - description
methodpublicimportFeedItems( string $uri, integer $requestTimeout = 30, boolean $useCache = false, boolean $useConditionalGet = false ) : array
static

Returns an array with the feed items as imported from the given $uri.

Parameters
Name Type Description
$uri string
$requestTimeout integer
$useCache boolean
$useConditionalGet boolean
Returns
Type Description
array An array with Zend_Feed_Reader_Feed_Interface
methodpublicisFeedAddressValid( string $uri ) : boolean
static

Checks whether a given uri points to an rss feed resource.

Parameters
Name Type Description
$uri string
Returns
Type Description
boolean true if a rss feed was found, otherwise false.
methodpublicnormalizeFeedItem( \Zend_Feed_Reader_EntryAbstract $item ) : array
static

Parses all feed items for their values and returns an associative array with their normalized values, along with the accountId specified.

Parameters
Name Type Description
$item \Zend_Feed_Reader_EntryAbstract
Returns
Type Description
array
Documentation was generated by DocBlox 0.18.1.