Constructs a tariqaThemes Object
Tariqa
__construct
(
$config,
$soap)
Creates a new Latestnews Feed
-
string
$token: The session identifier
-
Latestnews_feed
$feed: The new feed to be inserted in the database
-
Country
$country: The feed country (null if there is not a country for this feed)
-
Theme
$theme: The feed theme (null if there is not a theme for this feed)
Creates a new RSS Feed
-
string
$token: The session identifier
-
RSS_feed
$feed: The new feed to be inserted in the database
-
Country
$country: The feed country (null if there is not a country for this feed)
-
Theme
$theme: The feed theme (null if there is not a theme for this feed)
Deletes a Latestnews Feed
boolean
DeleteAggregatedLatestnewsFeed
(string $token, int $feed_id)
-
string
$token: The session identifier
-
int
$feed_id: The feed identificator
Deletes a RSS Feed
boolean
DeleteAggregatedRSSFeed
(string $token, int $feed_id)
-
string
$token: The session identifier
-
int
$feed_id: The feed identificator
Get an article from Latestnews Aggregator
-
string
$token: The session identifier
-
int
$article_id: The article identifier
Get the number of available articles from Latestnews aggregator
int
GetAggregatedLatestnewsArticlesNumber
(string $token, [int $feed_id = null], [int $time_range = null], [int $time_range_count = null])
-
string
$token: The session identifier
-
int
$feed_id: The feed identifier (null means all articles) [OPTIONAL]
-
int
$time_range: The time range for articles in days (null means all articles) [OPTIONAL]
-
int
$time_range_count: The number of days starting from time range (null means all articles) [OPTIONAL]
Get the list of available latestnews articles for a country
Latestnews_article[]
GetAggregatedLatestnewsCountryArticles
(
string $token,
Country $country, [
int $time_range =
null], [
int $time_range_count =
null], [
int $record_range_from =
null], [
int $record_range_no =
null])
-
string
$token: The session identifier
-
Country
$country: The selected country
-
int
$time_range: The time range for articles in days (null means all articles) [OPTIONAL]
-
int
$time_range_count: The time range count for articles in days (null means all articles) [OPTIONAL]
-
int
$record_range_from: The number of the first article to be retrieved (null means all articles) [OPTIONAL]
-
int
$record_range_no: The number of the first articles to be retrieved from the first article (null means all articles) [OPTIONAL]
Get the number of available latestnews articles for a country
int
GetAggregatedLatestnewsCountryArticlesNumber
(
string $token,
Country $country, [
int $time_range =
null], [
int $time_range_count =
null])
-
string
$token: The session identifier
-
Country
$country: The selected country
-
int
$time_range: The time range for articles in days (null means all articles) [OPTIONAL]
-
int
$time_range_count: The time range count for articles in days (null means all articles) [OPTIONAL]
Get the list of available latestnews feeds for a selected country
Latestnews_feed[]
GetAggregatedLatestnewsCountryFeeds
(
string $token,
Country $country)
-
string
$token: The session identifier
-
Country
$country: The selected country
Get a feed from Latestnews Aggregator
-
string
$token: The session identifier
-
int
$feed_id: The feed identifier
Get the list of available latestnews articles for a theme
RSS_article[]
GetAggregatedLatestnewsThemeArticles
(string $token, int $theme_id, [int $time_range = null], [int $time_range_count = null], [int $record_range_from = null], [int $record_range_no = null])
-
string
$token: The session identifier
-
int
$theme_id: The selected theme
-
int
$time_range: The time range for articles in days (null means all articles) [OPTIONAL]
-
int
$time_range_count: The time range count for articles in days (null means all articles) [OPTIONAL]
-
int
$record_range_from: The number of the first article to be retrieved (null means all articles) [OPTIONAL]
-
int
$record_range_no: The number of the first articles to be retrieved from the first article (null means all articles) [OPTIONAL]
Get the list of available latestnews feeds for a selected theme
Latestnews_feed[]
GetAggregatedLatestnewsThemeFeeds
(string $token, int $theme_id)
-
string
$token: The session identifier
-
int
$theme_id: The selected theme
Get an article from the RSS Aggregator
RSS_article
GetAggregatedRSSArticle
(
string $token,
int $article_id)
-
string
$token: The session identifier
-
int
$article_id: The article identifier
Get the number of available articles from the Aggregator
int
GetAggregatedRSSArticlesNumber
(string $token, [int $feed_id = null], [int $time_range = null], [int $time_range_count = null])
-
string
$token: The session identifier
-
int
$feed_id: The feed identifier (null means all articles) [OPTIONAL]
-
int
$time_range: The time range for articles in days (null means all articles) [OPTIONAL]
-
int
$time_range_count: The time range count for articles in days (null means all articles) [OPTIONAL]
Get a feed from RSS Aggregator
RSS_feed
GetAggregatedRSSFeed
(
string $token,
int $feed_id)
-
string
$token: The session identifier
-
int
$feed_id: The feed identifier
Get the list of available articles for a country from the RSS Aggregator
RSS_article[]
GetCountryAggregatedRSSArticles
(
string $token,
Country $country, [
int $time_range =
null], [
int $time_range_count =
null], [
int $record_range_from =
null], [
int $record_range_no =
null])
-
string
$token: The session identifier
-
Country
$country: The selected country
-
int
$time_range: The time range for articles in days (null means all articles) [OPTIONAL]
-
int
$time_range_count: The time range count for articles in days (null means all articles) [OPTIONAL]
-
int
$record_range_from: The number of the first article to be retrieved (null means all articles) [OPTIONAL]
-
int
$record_range_no: The number of the first articles to be retrieved from the first article (null means all articles) [OPTIONAL]
Get the list of available articles for a country from the RSS Aggregator
int
GetCountryAggregatedRSSArticlesNumber
(
string $token,
Country $country, [
int $time_range =
null], [
int $time_range_count =
null], [
int $record_range_from =
null], [
int $record_range_no =
null])
-
string
$token: The session identifier
-
Country
$country: The selected country
-
int
$time_range: The time range for articles in days (null means all articles) [OPTIONAL]
-
int
$time_range_count: The time range count for articles in days (null means all articles) [OPTIONAL]
-
int
$record_range_from: The number of the first article to be retrieved (null means all articles) [OPTIONAL]
-
int
$record_range_no: The number of the first articles to be retrieved from the first article (null means all articles) [OPTIONAL]
Get the list of available feeds for a selected country from the RSS aggregator
RSS_feed[]
GetCountryAggregatedRSSFeeds
(
string $token,
Country $country)
-
string
$token: The session identifier
-
Country
$country: The selected country
Get the list of available articles for a theme
RSS_article[]
GetThemeAggregatedRSSArticles
(string $token, int $theme_id, [int $time_range = null], [int $time_range_count = null], [int $record_range_from = null], [int $record_range_no = null])
-
string
$token: The session identifier
-
int
$theme_id: The selected theme
-
int
$time_range: The time range for articles in days (null means all articles) [OPTIONAL]
-
int
$time_range_count: The time range count for articles in days (null means all articles) [OPTIONAL]
-
int
$record_range_from: The number of the first article to be retrieved (null means all articles) [OPTIONAL]
-
int
$record_range_no: The number of the first articles to be retrieved from the first article (null means all articles) [OPTIONAL]
Get the list of available feeds for a selected theme from the RSS Aggregator
RSS_feed[]
GetThemeAggregatedRSSFeeds
(string $token, int $theme_id)
-
string
$token: The session identifier
-
int
$theme_id: The selected theme
Get the list of available articles from Latestnews aggregator
Latestnews_article[]
ListAggregatedLatestnewsArticles
(string $token, [int $feed_id = null], [int $time_range = null], [int $record_range_from = null], [int $record_range_no = null], [int $time_range_count = null])
-
string
$token: The session identifier
-
int
$feed_id: The feed identifier (null means all articles) [OPTIONAL]
-
int
$time_range: The time range for articles in days (null means all articles) [OPTIONAL]
-
int
$record_range_from: The number of first article to be retrieved (null means all articles) [OPTIONAL]
-
int
$record_range_no: The number of articles to be retrieved from the first article(null means all articles) [OPTIONAL]
-
int
$time_range_count: The number of days starting from time range (null means all articles) [OPTIONAL]
Get the list of available feeds from latestnews aggregator
Latestnews_feed[]
ListAggregatedLatestnewsFeeds
(string $token)
-
string
$token: The session identifier
Get the list of available articles from the Aggregator
RSS_article[]
ListAggregatedRSSArticles
(string $token, [int $feed_id = null], [int $time_range = null], [int $record_range_from = null], [int $record_range_no = null], [int $time_range_count = null])
-
string
$token: The session identifier
-
int
$feed_id: The feed identifier (null means all articles) [OPTIONAL]
-
int
$time_range: The time range for articles in days (null means all articles) [OPTIONAL]
-
int
$record_range_from: The number of the first article to be retrieved (null means all articles) [OPTIONAL]
-
int
$record_range_no: The number of the first articles to be retrieved from the first article (null means all articles) [OPTIONAL]
-
int
$time_range_count: The time range count for articles in days (null means all articles) [OPTIONAL]
Get the list of available feeds from RSS Aggregator
RSS_feed[]
ListAggregatedRSSFeeds
(string $token)
-
string
$token: The session identifier
Updates an existing Latestnews Feed
-
string
$token: The session identifier
-
Latestnews_feed
$feed: The new feed to be inserted in the database
Updates an existing RSS Feed
int
UpdateAggregatedRSSFeed
(
string $token,
RSS_feed $feed)
-
string
$token: The session identifier
-
RSS_feed
$feed: The new feed to be inserted in the database