getToPay() 공개 메소드

Get to pay
public getToPay ( ) : float
리턴 float
 public function getToPay()
 {
     $this->__load();
     return parent::getToPay();
 }
예제 #2
0
 /**
  * Get json representation of subscription
  *
  * @param Newscoop\Entity\Subscription $subscription
  * @return array
  */
 public function SubscriptionJson(\Newscoop\Subscription\Subscription $subscription)
 {
     return array('id' => $subscription->getId(), 'publication' => array('id' => $subscription->getPublicationId(), 'name' => $subscription->getPublicationName()), 'link' => array('rel' => 'edit', 'href' => $this->view->url(array('module' => 'admin', 'controller' => 'subscription', 'action' => 'edit', 'subscription' => $subscription->getId(), 'user' => $subscription->getUser()->getId()), 'default')), 'toPay' => $subscription->getToPay(), 'type' => $subscription->getType(), 'active' => $subscription->isActive());
 }