Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

BaseOutbox Class Reference
[Object Managers]

Inheritance diagram for BaseOutbox:

MyManager ObjectManager MyModule BaseModule List of all members.

Detailed Description

Get a users outbox messages.

Built-in privacy for only selecting the current users messages. Also bulk delete, and read/unread css.

Definition at line 9 of file base-outbox.inc.php.

Public Member Functions

 __construct ($class= 'Message')
 constructor
 initSearchPage ()
 prep page: assert login, etc
 drawRows ($rs)
 draw our rows
 getPagesXml ()
 get extra pages
 initDeletePage ()
 prep our delete page
 drawDeletePage ()
 give a message back about the delete status

Protected Member Functions

 getSearchFrom ($params)
 join us on the outbox table
 getSearchWhere ($params)
 get where SQL: make sure its only our messages


Member Function Documentation

BaseOutbox::__construct class = 'Message'  ) 
 

constructor

See also:
ObjectManager::__construct()

Definition at line 16 of file base-outbox.inc.php.

BaseOutbox::drawDeletePage  ) 
 

give a message back about the delete status

Definition at line 133 of file base-outbox.inc.php.

BaseOutbox::drawRows rs  ) 
 

draw our rows

add header row, checkboxes, delete form, etc.

Parameters:
$rs array of BaseMessage objects to draw

Definition at line 69 of file base-outbox.inc.php.

References BaseModule::getUrl().

BaseOutbox::getPagesXml  ) 
 

get extra pages

delete - bulk delete outbox messages

Reimplemented from ObjectManager.

Definition at line 93 of file base-outbox.inc.php.

BaseOutbox::getSearchFrom params  )  [protected]
 

join us on the outbox table

See also:
ObjectManager::getSearchFrom()

Reimplemented from ObjectManager.

Definition at line 38 of file base-outbox.inc.php.

BaseOutbox::getSearchWhere params  )  [protected]
 

get where SQL: make sure its only our messages

See also:
ObjectManager::getSearchWhere()

Reimplemented from ObjectManager.

Definition at line 52 of file base-outbox.inc.php.

BaseOutbox::initDeletePage  ) 
 

prep our delete page

Definition at line 105 of file base-outbox.inc.php.

References BaseModule::assertLogin(), dbExecute(), and Util::redirect().

BaseOutbox::initSearchPage  ) 
 

prep page: assert login, etc

Reimplemented from ObjectManager.

Definition at line 24 of file base-outbox.inc.php.

References BaseModule::assertLogin().


The documentation for this class was generated from the following file:
Generated on Fri Oct 27 12:26:41 2006 for BaseJumper by doxygen 1.3.9.1