function subscriptionCount()
 {
     $count = eZSubscription::count($this->attribute('id'));
     return $count;
 }
$condArray = array();
if ( !in_array( -1, $statusFilter ) )
{
    $condArray['status'] = array( $statusFilter );
}
//if ( !in_array( -1, $vipFilter ) )
//{
//    $condArray['vip'] = array( $vipFilter );
//}
*/
$condArray = array();
if (!in_array(-1, $statusFilterArray)) {
    $condArray['status'] = array($statusFilterArray);
}
$subscriberList = eZSubscription::fetchListBySubscriptionListID($subscriptionList->attribute('id'), $condArray, $offset, $limit);
//$viewParameters['statusFilter'] = $userParameters['statusFilter'];
$tpl = eZNewsletterTemplateWrapper::templateInit();
$tpl->setVariable('view_parameters', $viewParameters);
$tpl->setVariable('statusFilter', $statusFilterArray);
$tpl->setVariable('limit', $limit);
$tpl->setVariable('subscriptionList', $subscriptionList);
$tpl->setVariable('subscriberList', $subscriberList);
//$tpl->setVariable( 'vip_map', eZSubscription::vipNameMap() );
$tpl->setVariable('status_map', eZSubscription::statusNameMap());
$tpl->setVariable('loginSteps_map', eZSubscriptionList::loginStepsNameMap());
$tpl->setVariable('subscriptionCount', eZSubscription::count($subscriptionList->attribute('id'), eZSubscription::VersionStatusPublished, $condArray));
$Result = array();
$Result['newsletter_menu'] = 'design:parts/content/robinson_menu.tpl';
$Result['left_menu'] = 'design:parts/content/eznewsletter_menu.tpl';
$Result['content'] = $tpl->fetch("design:eznewsletter/subscription_list.tpl");
$Result['path'] = array(array('url' => false, 'text' => ezpI18n::tr('eznewsletter/subscription_list', 'Subscription list')));