FF_Action_Delete_Loan Class Reference

Inheritance diagram for FF_Action_Delete_Loan:

FF_Action_Delete FF_Action List of all members.

Public Member Functions

 run ()
 getSingularText ()
 setSuccessActionId ()
 checkPerms ()
 sendNoticeToBorrower ()

Detailed Description

Definition at line 42 of file LoanDelete.php.


Member Function Documentation

FF_Action_Delete_Loan::checkPerms  ) 
 

Check the permissions on this action.

public

Returns:
bool True if everything is ok, false if a new action has been set

Reimplemented from FF_Action_Delete.

Definition at line 120 of file LoanDelete.php.

References FF_Request::getParam().

FF_Action_Delete_Loan::getSingularText  ) 
 

Gets the text that describes a singular version of the loan deleted

public

Returns:
string The singular text

Reimplemented from FF_Action_Delete.

Definition at line 83 of file LoanDelete.php.

FF_Action_Delete_Loan::run  ) 
 

Deletes the object from the database

public

Returns:
object The next action object

Reimplemented from FF_Action_Delete.

Definition at line 51 of file LoanDelete.php.

References $o_result, $o_rule, and FF_Request::getParam().

FF_Action_Delete_Loan::sendNoticeToBorrower  ) 
 

If the borrower has an email address we send them an email notice saying the reservation was deleted.

public

Returns:
bool True if the email was sent successfully, false otherwise

Definition at line 165 of file LoanDelete.php.

References FF_Request::getParam(), and FastFrame::isEmpty().

Referenced by setSuccessActionId().

FF_Action_Delete_Loan::setSuccessActionId  ) 
 

Sets the actionId to invoke when a successful delete occurs.

public

Returns:
void

Reimplemented from FF_Action_Delete.

Definition at line 102 of file LoanDelete.php.

References FF_Request::getParam(), and sendNoticeToBorrower().


The documentation for this class was generated from the following file:
Generated on Fri Jun 23 11:38:20 2006 for FastFrame by  doxygen 1.4.4