예제 #1
0
 public function stateAction()
 {
     $date = new Zend_Date('2010-03-15 00:00:00');
     $date1 = new Zend_Date();
     require_once APPLICATION_PATH . '/models/Billing.php';
     require_once ROOT_PATH . '/util/Period.php';
     $period = new Period($date, $date1);
     $userID = $this->_getParam('userID');
     $accountNo = $this->_getParam('userNo');
     $bill = new Billing();
     $rows = $bill->getStatement($userID, $accountNo, $period);
     $this->view->rows = $rows;
     $this->render('billing');
 }