Definition at line 9 of file oxrssfeed.php.
oxRssFeed.getChannel | ( | ) |
oxRssFeed._loadBaseChannel | ( | ) | [protected] |
_loadBaseChannel loads basic channel data
protected
Definition at line 51 of file oxrssfeed.php.
oxRssFeed._getCacheId | ( | $ | name | ) | [protected] |
_getCacheId retrieve cache id
string | $name cache name |
Definition at line 82 of file oxrssfeed.php.
oxRssFeed._loadFromCache | ( | $ | name | ) | [protected] |
_loadFromCache load data from cache, requires Rss data Id
string | $name Rss data Id |
Definition at line 95 of file oxrssfeed.php.
oxRssFeed._getLastBuildDate | ( | $ | name, | |
$ | aData | |||
) | [protected] |
_getLastBuildDate check if changed data and renew last build date if needed returns result as string
string | $name Rss data Id | |
array | $aData channel data |
Definition at line 116 of file oxrssfeed.php.
oxRssFeed._saveToCache | ( | $ | name, | |
$ | aContent | |||
) | [protected] |
_saveToCache writes generated rss data to cache returns true on successfull write, false otherwise A successfull write means only write ok AND data has actually changed if give
string | $name cache name | |
array | $aContent data to be saved |
Definition at line 141 of file oxrssfeed.php.
oxRssFeed._getArticleItems | ( | oxArticleList $ | oList | ) | [protected] |
_getArticleItems create channel items from article list
oxArticleList | $oList article list |
Definition at line 159 of file oxrssfeed.php.
oxRssFeed._prepareUrl | ( | $ | sUri, | |
$ | sTitle | |||
) | [protected] |
_prepareUrl make url from uri
string | $sUri standart uri | |
string | $sTitle page title |
Definition at line 190 of file oxrssfeed.php.
oxRssFeed._prepareFeedName | ( | $ | sTitle | ) | [protected] |
_prepareFeedName adds shop name to feed title
string | $sTitle page title |
Definition at line 213 of file oxrssfeed.php.
oxRssFeed._getShopUrl | ( | ) | [protected] |
_getShopUrl returns shop home url
protected
Definition at line 226 of file oxrssfeed.php.
oxRssFeed._loadData | ( | $ | sTag, | |
$ | sTitle, | |||
$ | sDesc, | |||
$ | aItems, | |||
$ | sRssUrl, | |||
$ | sTargetUrl = null | |||
) | [protected] |
_loadData loads given data to channel
string | $sTag tag | |
string | $sTitle object title | |
string | $sDesc object description | |
array | $aItems items data to be put to rss | |
string | $sRssUrl url of rss page | |
string | $sTargetUrl url of page rss represents |
Definition at line 252 of file oxrssfeed.php.
oxRssFeed.getTopInShopTitle | ( | ) |
getTopShopTitle get title for 'Top of the Shop' rss feed
public
Definition at line 282 of file oxrssfeed.php.
oxRssFeed.getTopInShopUrl | ( | ) |
getTopShopUrl get url for 'Top of the Shop' rss feed
public
Definition at line 296 of file oxrssfeed.php.
oxRssFeed.loadTopInShop | ( | ) |
loadTopShop loads 'Top of the Shop' rss data
public
Definition at line 308 of file oxrssfeed.php.
oxRssFeed.getNewestArticlesTitle | ( | ) |
get title for 'Newest Shop Articles' rss feed
public
Definition at line 336 of file oxrssfeed.php.
oxRssFeed.getNewestArticlesUrl | ( | ) |
getNewestArticlesUrl get url for 'Newest Shop Articles' rss feed
public
Definition at line 350 of file oxrssfeed.php.
oxRssFeed.loadNewestArticles | ( | ) |
loadNewestArticles loads 'Newest Shop Articles' rss data
public
Definition at line 362 of file oxrssfeed.php.
oxRssFeed.getCategoryArticlesTitle | ( | oxCategory $ | oCat | ) |
get title for 'Category Articles' rss feed
oxCategory | $oCat category object |
Definition at line 390 of file oxrssfeed.php.
oxRssFeed._getCatPath | ( | $ | oCat | ) | [protected] |
Returns string built from category titles
oxCategory | $oCat category object |
Definition at line 405 of file oxrssfeed.php.
oxRssFeed.getCategoryArticlesUrl | ( | oxCategory $ | oCat | ) |
getCategoryArticlesUrl get url for 'Category Articles' rss feed
oxCategory | $oCat category object |
Definition at line 428 of file oxrssfeed.php.
oxRssFeed.loadCategoryArticles | ( | oxCategory $ | oCat | ) |
loadCategoryArticles loads 'Category Articles' rss data
oxCategory | $oCat category object |
Definition at line 444 of file oxrssfeed.php.
oxRssFeed.getSearchArticlesTitle | ( | $ | sSearch, | |
$ | sCatId, | |||
$ | sVendorId | |||
) |
get title for 'Search Articles' rss feed
string | $sSearch search string | |
string | $sCatId category id | |
string | $sVendorId vendor id |
Definition at line 478 of file oxrssfeed.php.
oxRssFeed._getSearchParamsUrl | ( | $ | sSearch, | |
$ | sCatId, | |||
$ | sVendorId | |||
) | [protected] |
_getSearchParamsUrl return search parameters for url
string | $sSearch search string | |
string | $sCatId category id | |
string | $sVendorId vendor id |
Definition at line 494 of file oxrssfeed.php.
oxRssFeed._getObjectField | ( | $ | sId, | |
$ | sObject, | |||
$ | sField | |||
) | [protected] |
loads object and returns specified field
string | $sId object id | |
string | $sObject object class | |
string | $sField object field to be taken |
Definition at line 518 of file oxrssfeed.php.
oxRssFeed._getSearchParamsTranslation | ( | $ | sId, | |
$ | sSearch, | |||
$ | sCatId, | |||
$ | sVendorId | |||
) | [protected] |
_getSearchParamsTranslation translates text for given lang id loads category and vendor to take their titles.
string | $sId language id | |
string | $sSearch search param | |
string | $sCatId category id | |
string | $sVendorId vendor id |
Definition at line 542 of file oxrssfeed.php.
oxRssFeed.getSearchArticlesUrl | ( | $ | sSearch, | |
$ | sCatId, | |||
$ | sVendorId | |||
) |
getSearchArticlesUrl get url for 'Search Articles' rss feed
string | $sSearch search string | |
string | $sCatId category id | |
string | $sVendorId vendor id |
Definition at line 573 of file oxrssfeed.php.
oxRssFeed.loadSearchArticles | ( | $ | sSearch, | |
$ | sCatId, | |||
$ | sVendorId | |||
) |
loadSearchArticles loads 'Search Articles' rss data
string | $sSearch search string | |
string | $sCatId category id | |
string | $sVendorId vendor id |
Definition at line 596 of file oxrssfeed.php.
oxRssFeed.getRecommListsTitle | ( | oxArticle $ | oArticle | ) |
get title for 'Recommendation lists' rss feed
oxArticle | $oArticle load lists for this article |
Definition at line 627 of file oxrssfeed.php.
oxRssFeed.getRecommListsUrl | ( | oxArticle $ | oArticle | ) |
get url for 'Recommendation lists' rss feed
oxArticle | $oArticle load lists for this article |
Definition at line 641 of file oxrssfeed.php.
oxRssFeed._getRecommListItems | ( | $ | oList | ) | [protected] |
make rss data array from given oxlist
oxList | $oList recommlist object |
Definition at line 656 of file oxrssfeed.php.
oxRssFeed.loadRecommLists | ( | oxArticle $ | oArticle | ) |
loads 'Recommendation lists' rss data
oxArticle | $oArticle load lists for this article |
Definition at line 678 of file oxrssfeed.php.
oxRssFeed.getRecommListArticlesTitle | ( | oxRecommList $ | oRecommList | ) |
get title for 'Recommendation list articles' rss feed
oxRecommList | $oRecommList recomm list to load articles from |
Definition at line 710 of file oxrssfeed.php.
oxRssFeed.getRecommListArticlesUrl | ( | oxRecommList $ | oRecommList | ) |
get url for 'Recommendation lists' rss feed
oxRecommList | $oRecommList recomm list to load articles from |
Definition at line 724 of file oxrssfeed.php.
oxRssFeed.loadRecommListArticles | ( | oxRecommList $ | oRecommList | ) |
loads 'Recommendation lists' rss data
oxRecommList | $oRecommList recomm list to load articles from |
Definition at line 739 of file oxrssfeed.php.
oxRssFeed.getBargainTitle | ( | ) |
getBargainTitle get title for 'Bargain' rss feed
public
Definition at line 766 of file oxrssfeed.php.
oxRssFeed.getBargainUrl | ( | ) |
getBargainUrl get url for 'Bargain' rss feed
public
Definition at line 780 of file oxrssfeed.php.
oxRssFeed.loadBargain | ( | ) |
loadBargain loads 'Bargain' rss data
public
Definition at line 792 of file oxrssfeed.php.
const oxRssFeed.CACHE_TTL = 10800 |
timeout in seconds for regenerating data (3h)
Definition at line 14 of file oxrssfeed.php.
const oxRssFeed.RSS_TOPSHOP = 'RSS_TopShop' |
Rss data Ids for cache
Definition at line 19 of file oxrssfeed.php.
const oxRssFeed.RSS_NEWARTS = 'RSS_NewArts' |
Definition at line 20 of file oxrssfeed.php.
const oxRssFeed.RSS_CATARTS = 'RSS_CatArts' |
Definition at line 21 of file oxrssfeed.php.
Definition at line 22 of file oxrssfeed.php.
Definition at line 23 of file oxrssfeed.php.
const oxRssFeed.RSS_BARGAIN = 'RSS_Bargain' |
Definition at line 24 of file oxrssfeed.php.
oxRssFeed.$_aChannel = array() [protected] |
Definition at line 32 of file oxrssfeed.php.