method count documentation in bbn\Appui\Medias
function(array $filter = [])
  {
    if ($user = User::getInstance()) {
      $cf = $this->getClassCfg();
      $ct = $cf['arch']['medias'];
      if (!isset($filter[$ct['private']])) {
        $filter[$ct['private']] = 0;
      }
      elseif ($filter[$ct['private']]) {
        $filter[$ct['id_user']] = $user->getId();
      }
      return $this->db->count($cf['table'], $filter);
    }
    return null;
  }
  BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
  
  
    
    
      
        
        
      
    
    
    
      
      
      
      
      
        
          
          
          
          
          
          
          
          
            
              
                
              
            
            
              
              This website uses cookies to ensure you get the best experience on our website.                
                
              
              
                
                
              
             
           
          
          
          
            
            © 2011-2025 
BBN Solutions