Ejemplo n.º 1
0
 static function rulesCount($user = false)
 {
     if ($user === false) {
         $user = eZUser::currentUser();
     }
     $userID = $user->attribute('contentobject_id');
     return eZSubtreeNotificationRule::fetchListCount($userID);
 }