blogger_entries Class Reference

List of all members.

Public Member Functions

 blogger_entries ($users=null, $categories=null)
 load ()
 renderFeed ($type=null)
 render ($username=null, $timestamp=null)

Public Attributes

 $entries
 Array of references to entries in users, sorted by timestamp (and then by username)...
 $users
 Array of blogger_user instances fitting the constructor's description of entries to load.
 $categories
 Array of categories - if null, show everything.
 $edit = false
 Boolean describing wether we are in edit mode or not.
 $limit = 10
 The pagination limit.
 $limitTiny = null
 From which item to start making entries tiny - if null, none are tiny.


Detailed Description

Definition at line 2 of file blogger_entries.php.


Member Function Documentation

blogger_entries::blogger_entries ( users = null,
categories = null 
)

Definition at line 13 of file blogger_entries.php.

References $categories, $users, allUsersArray(), and load().

Here is the call graph for this function:

blogger_entries::load (  ) 

Definition at line 27 of file blogger_entries.php.

Referenced by blogger_entries().

blogger_entries::renderFeed ( type = null  ) 

Render a feed for the blog entries contained in the current instance

Parameters:
type Which type of feed to create. Defaults to RSS2, accepts any type accepted by Feed
Returns:
The rendered feed according to type

Definition at line 55 of file blogger_entries.php.

References $i, $page_title, allUsersArray(), i18n(), and thisPageURL().

Here is the call graph for this function:

blogger_entries::render ( username = null,
timestamp = null 
)

Render the entries for an optional user and ditto timestamp

Parameters:
username Optional. If present, render the user in question
timestamp Optional. If present, render the blog entry with the user above and the timestamp in question
Returns:
The rendered data

Definition at line 101 of file blogger_entries.php.

References i18n(), renderInformationBox(), and renderNavigator().

Here is the call graph for this function:


Member Data Documentation

blogger_entries::$entries

Array of references to entries in users, sorted by timestamp (and then by username)...

Definition at line 4 of file blogger_entries.php.

blogger_entries::$users

Array of blogger_user instances fitting the constructor's description of entries to load.

Definition at line 5 of file blogger_entries.php.

Referenced by blogger_entries().

blogger_entries::$categories

Array of categories - if null, show everything.

Definition at line 6 of file blogger_entries.php.

Referenced by blogger_entries().

blogger_entries::$edit = false

Boolean describing wether we are in edit mode or not.

Definition at line 7 of file blogger_entries.php.

blogger_entries::$limit = 10

The pagination limit.

Definition at line 8 of file blogger_entries.php.

blogger_entries::$limitTiny = null

From which item to start making entries tiny - if null, none are tiny.

Definition at line 9 of file blogger_entries.php.


The documentation for this class was generated from the following file:

Generated on Sun Oct 26 20:33:14 2008 for The Travelsized Content Management System by  doxygen 1.5.5