Abstract Blog_Listing class: used to gather blog entries and output them as listings.
More...
|
| | __construct ($filters=array()) |
| | Constructor.
|
| |
| | count_entries () |
| | Finds total number of blog entries.
|
| |
|
| get_baseurl () |
| |
| | get_entries ($start=0, $limit=10) |
| | Fetches the array of blog entries.
|
| |
|
| get_entry_fetch_sql ($count=false, $sort='lastmodified DESC', $userid=false) |
| |
| | print_entries () |
| | Outputs all the blog entries aggregated by this blog listing.
|
| |
|
| array | $entries = null |
| | Array of blog_entry objects.
|
| |
|
array | $filters = array() |
| | An array of blog_filter_* objects $filters.
|
| |
|
int | $totalentries = null |
| | Caches the total number of the entries.
|
| |
Abstract Blog_Listing class: used to gather blog entries and output them as listings.
One of the subclasses must be used.
- Copyright
- 2009 Nicolas Connault
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
| blog_listing::__construct |
( |
| $filters = array() | ) |
|
Constructor.
- Parameters
-
| array | $filters | An associative array of filtername => filterid |
◆ count_entries()
| blog_listing::count_entries |
( |
| ) |
|
Finds total number of blog entries.
- Return values
-
◆ get_entries()
| blog_listing::get_entries |
( |
| $start = 0, |
|
|
| $limit = 10 ) |
Fetches the array of blog entries.
- Return values
-
◆ print_entries()
| blog_listing::print_entries |
( |
| ) |
|
Outputs all the blog entries aggregated by this blog listing.
- Return values
-
◆ $entries
| array blog_listing::$entries = null |
The documentation for this class was generated from the following file: