public function countNews() {
        $news = 0;
        foreach ($this->getDefinitionsBlockGrid() as $grid) {
            $news += $grid->countNews();
        }
        return $news;
    }
public function countNews() {
        $news = 0;
        foreach ($this->getDefinitionsBlockGrid() as $grid) {
            $news += $grid->countNews();
        }
        return $news;
    }
public function countNews ( ) { $ news = 0 ; foreach ( $ this -> getDefinitionsBlockGrid ( ) as $ grid ) { $ news += $ grid -> countNews ( ) ; } return $ news ; }
Cuenta cuantos widgets hay nuevos
@return int
Cuenta cuantos widgets hay nuevos