FreenetIS
 All Classes Namespaces Functions Variables Pages
Public Member Functions | Protected Attributes | List of all members
Phone_invoice_Model Class Reference
Inheritance diagram for Phone_invoice_Model:
ORM

Public Member Functions

 is_payed ()
 Test if users has payd for invoice.
 is_unique ()
 Test if invoice is not in database already.
 get_all_phone_invoices ($limit_from=0, $limit_results=20, $order_by= 'billing_period_from', $order_by_direction= 'desc')
 Return al phone invoicces.

Protected Attributes

 $has_many = array('phone_invoice_users')

Member Function Documentation

Phone_invoice_Model::get_all_phone_invoices (   $limit_from = 0,
  $limit_results = 20,
  $order_by = 'billing_period_from',
  $order_by_direction = 'desc' 
)

Return al phone invoicces.

@param integer $limit_from
@param integer $limit_results
@param string $order_by
@param string $order_by_direction
Returns
Mysql_Result
Phone_invoice_Model::is_payed ( )

Test if users has payd for invoice.

Returns
bool
Phone_invoice_Model::is_unique ( )

Test if invoice is not in database already.

Returns
bool

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