classes/ezcomsubscription.php
static function countWithSubscriberID( $subscriberID, $languageID =false , $enabled = false )
    {
        $cond = array();
        $cond['subscriber_id'] = $subscriberID;
        if ( $enabled !== false )
        {
            $cond['enabled'] = $enabled;
        }
        if ( $languageID !== false )
        {
            $cond['language_id'] = $languageID;
        }
        $count = eZPersistentObject::count( self::definition(), $cond );
        return $count;
    }
static function countWithSubscriberID( $subscriberID, $languageID =false , $enabled = false )
    {
        $cond = array();
        $cond['subscriber_id'] = $subscriberID;
        if ( $enabled !== false )
        {
            $cond['enabled'] = $enabled;
        }
        if ( $languageID !== false )
        {
            $cond['language_id'] = $languageID;
        }
        $count = eZPersistentObject::count( self::definition(), $cond );
        return $count;
    }
static function countWithSubscriberID ( $ subscriberID , $ languageID = false , $ enabled = false ) { $ cond = array ( ) ; $ cond [ 'subscriber_id' ] = $ subscriberID ; if ( $ enabled !== false ) { $ cond [ 'enabled' ] = $ enabled ; } if ( $ languageID !== false ) { $ cond [ 'language_id' ] = $ languageID ; } $ count = eZPersistentObject :: count ( self :: definition ( ) , $ cond ) ; return $ count ; }
get the count of subscription in a subscriber ID
@param $subscriberID
@param $status
@return unknown_type
get the count of subscription in a subscriber ID