Moodle  2.2.1
http://www.collinsharper.com
blog_listing Class Reference

Public Member Functions

 __construct ($filters=array())
 get_entries ($start=0, $limit=10)
 get_entry_fetch_sql ($count=false, $sort='lastmodified DESC', $userid=false)
 print_entries ()
 get_baseurl ()
 Find the base url from $_GET variables, for print_paging_bar.

Data Fields

 $entries = array()
 $filters = array()

Detailed Description

Definition at line 680 of file locallib.php.


Constructor & Destructor Documentation

__construct ( filters = array())

Constructor

Parameters:
array$filtersAn associative array of filtername => filterid

Definition at line 698 of file locallib.php.

Here is the call graph for this function:


Member Function Documentation

Find the base url from $_GET variables, for print_paging_bar.

Definition at line 878 of file locallib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

get_entries ( start = 0,
limit = 10 
)

Fetches the array of blog entries.

Returns:
array

Definition at line 720 of file locallib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

get_entry_fetch_sql ( count = false,
sort = 'lastmodified DESC',
userid = false 
)

Definition at line 734 of file locallib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Outputs all the blog entries aggregated by this blog listing.

Returns:
void

Definition at line 805 of file locallib.php.

Here is the call graph for this function:


Field Documentation

Array of blog_entry objects.

Definition at line 685 of file locallib.php.

array $filters = array()

An array of blog_filter_* objects

Definition at line 691 of file locallib.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations