/**
  *
  * get count of subscription for this virtual list
  * @param integer $status e.g. CjwNewsletterSubscription::STATUS_APPROVED
  * @return number
  * @see CjwNewsletterList::getSubscriptionObjectCount()
  */
 function getSubscriptionObjectCount($status)
 {
     $virtualListObject = $this;
     $subscriptionObjectListCount = CjwNewsletterSubscriptionVirtual::fetchSubscriptionListByListIdCount($virtualListObject, $status);
     return $subscriptionObjectListCount;
 }
 /**
  * if subscriptionId = 0 the subscription is came from virtual list
  * @return object CjwNewsletterSubscription or CjwNewsletterSubscriptionVirtual
  */
 function getNewsletterSubscriptionObject()
 {
     if ($this->attribute('is_subscription_virtual')) {
         $subscriptionObject = CjwNewsletterSubscriptionVirtual::createByUserIdAndEditionSendId($this->attribute('newsletter_user_id'), $this->attribute('edition_send_id'));
     } else {
         $subscriptionObject = CjwNewsletterSubscription::fetch($this->attribute('subscription_id'));
     }
     return $subscriptionObject;
 }