C:/drupal/modules/aggregator/aggregator.pages.inc File Reference

Go to the source code of this file.


Functions

 aggregator_page_last ()
 aggregator_page_source ($arg1, $arg2=NULL)
 aggregator_page_category ($arg1, $arg2=NULL)
 aggregator_feed_items_load ($sql)
 _aggregator_page_list ($items, $op, $feed_source= '')
 aggregator_categorize_items ($items, $feed_source= '')
 aggregator_categorize_items_validate ($form, &$form_state)
 aggregator_categorize_items_submit ($form, &$form_state)
 theme_aggregator_categorize_items ($form)
 template_preprocess_aggregator_wrapper (&$variables)
 template_preprocess_aggregator_item (&$variables)
 aggregator_page_sources ()
 aggregator_page_categories ()
 aggregator_page_rss ()
 theme_aggregator_page_rss ($feeds, $category=NULL)
 aggregator_page_opml ($cid=NULL)
 theme_aggregator_page_opml ($feeds)
 template_preprocess_aggregator_summary_items (&$variables)
 template_preprocess_aggregator_summary_item (&$variables)
 template_preprocess_aggregator_feed_source (&$variables)


Detailed Description

User page callbacks for the aggregator module.

Definition in file aggregator.pages.inc.


Function Documentation

_aggregator_page_list ( items,
op,
feed_source = '' 
)

Prints an aggregator page listing a number of feed items.

Various menu callbacks use this function to print their feeds.

Parameters:
$items The items to be listed.
$op Which form should be added to the items. Only 'categorize' is now recognized.
$feed_source The feed source URL.
Returns:
The items HTML.

Definition at line 116 of file aggregator.pages.inc.

References $op, $output, aggregator_categorize_items(), and theme().

Referenced by aggregator_page_category(), aggregator_page_last(), and aggregator_page_source().

Here is the call graph for this function:

aggregator_categorize_items_submit ( form,
&$  form_state 
)

Process aggregator_categorize_items() form submissions.

Definition at line 198 of file aggregator.pages.inc.

References db_query(), drupal_set_message(), and t().

Here is the call graph for this function:

aggregator_categorize_items_validate ( form,
&$  form_state 
)

Validate aggregator_categorize_items() form submissions.

Definition at line 189 of file aggregator.pages.inc.

References form_error(), and t().

Here is the call graph for this function:

aggregator_feed_items_load ( sql  ) 

Load feed items by passing a SQL query.

Parameters:
$sql The query to be executed.
Returns:
An array of the feed items.

Definition at line 85 of file aggregator.pages.inc.

References $result, db_fetch_object(), db_query(), and pager_query().

Referenced by aggregator_page_category(), aggregator_page_last(), and aggregator_page_source().

Here is the call graph for this function:

aggregator_page_categories (  ) 

Menu callback; displays all the categories used by the aggregator.

Definition at line 308 of file aggregator.pages.inc.

References $output, $result, db_fetch_object(), db_query(), db_query_range(), theme(), url(), and variable_get().

Here is the call graph for this function:

aggregator_page_category ( arg1,
arg2 = NULL 
)

Menu callback; displays all the items aggregated in a particular category.

If there are two arguments then this function is called as a form.

Parameters:
$arg1 If there are two arguments then $arg1 is $form_state. Otherwise, $arg1 is $category.
$arg2 If there are two arguments then $arg2 is $category.
Returns:
The items HTML.

Definition at line 62 of file aggregator.pages.inc.

References _aggregator_page_list(), aggregator_feed_items_load(), arg(), drupal_add_feed(), drupal_get_breadcrumb(), drupal_set_breadcrumb(), l(), t(), url(), and variable_get().

Here is the call graph for this function:

aggregator_page_last (  ) 

Menu callback; displays the most recent items gathered from any feed.

Returns:
The items HTML.

Definition at line 15 of file aggregator.pages.inc.

References _aggregator_page_list(), aggregator_feed_items_load(), arg(), drupal_add_feed(), t(), url(), and variable_get().

Here is the call graph for this function:

aggregator_page_opml ( cid = NULL  ) 

Menu callback; generates an OPML representation of all feeds.

Parameters:
$cid If set, feeds are exported only from a category with this ID. Otherwise, all feeds are exported.
Returns:
The output XML.

Definition at line 403 of file aggregator.pages.inc.

References $result, db_fetch_object(), db_query(), and theme().

Here is the call graph for this function:

aggregator_page_rss (  ) 

Menu callback; generate an RSS 0.92 feed of aggregator items or categories.

Definition at line 330 of file aggregator.pages.inc.

References $result, arg(), db_fetch_object(), db_query(), db_query_range(), theme(), and variable_get().

Here is the call graph for this function:

aggregator_page_source ( arg1,
arg2 = NULL 
)

Menu callback; displays all the items captured from a particular feed.

If there are two arguments then this function is the categorize form.

Parameters:
$arg1 If there are two arguments then $arg1 is $form_state. Otherwise, $arg1 is $feed.
$arg2 If there are two arguments then $arg2 is feed.
Returns:
The item's HTML.

Definition at line 35 of file aggregator.pages.inc.

References _aggregator_page_list(), aggregator_feed_items_load(), arg(), check_plain(), drupal_set_title(), and theme().

Here is the call graph for this function:

aggregator_page_sources (  ) 

Menu callback; displays all the feeds used by the aggregator.

Definition at line 284 of file aggregator.pages.inc.

References $output, $result, db_fetch_object(), db_query(), db_query_range(), t(), theme(), url(), and variable_get().

Here is the call graph for this function:

template_preprocess_aggregator_feed_source ( &$  variables  ) 

Process variables for aggregator-feed-source.tpl.php.

See also:
aggregator-feed-source.tpl.php

Definition at line 481 of file aggregator.pages.inc.

References check_url(), format_interval(), l(), link, t(), theme(), and url().

Here is the call graph for this function:

template_preprocess_aggregator_item ( &$  variables  ) 

Process variables for aggregator-item.tpl.php.

See also:
aggregator-item.tpl.php

Definition at line 255 of file aggregator.pages.inc.

References check_plain(), check_url(), format_date(), format_interval(), l(), link, t(), url(), and variable_get().

Here is the call graph for this function:

template_preprocess_aggregator_summary_item ( &$  variables  ) 

Process variables for aggregator-summary-item.tpl.php.

See also:
aggregator-summary-item.tpl.php

Definition at line 461 of file aggregator.pages.inc.

References check_plain(), check_url(), format_interval(), link, and t().

Here is the call graph for this function:

template_preprocess_aggregator_summary_items ( &$  variables  ) 

Process variables for aggregator-summary-items.tpl.php.

See also:
aggregator-summary-item.tpl.php

Definition at line 450 of file aggregator.pages.inc.

References check_plain(), and theme().

Here is the call graph for this function:

template_preprocess_aggregator_wrapper ( &$  variables  ) 

Process variables for aggregator-wrapper.tpl.php.

See also:
aggregator-wrapper.tpl.php

Definition at line 246 of file aggregator.pages.inc.

References theme().

Here is the call graph for this function:


Generated on Mon Jun 2 15:08:15 2008 for SimpleTest by  1.5.5