コード例 #1
0
 /**
  * Get the rent payment record from a tenant for a specified period
  * @param int $tenant_id The ID used to identify the tenant
  * @param string $start The start period of rent payment
  * @param string $end The end period of rent payment
  * @reutn array An array of renr objects
  */
 public function getPaymentRecord($tenant_id, $start, $end)
 {
     $rentObj = new Rent();
     return $rentObj->getPaymentsFromTenant($this->id, $start, $end);
 }