public static function totalThreads()
    {
        $threads = Podium::getInstance()->podiumCache->get('forum.threadscount');
        if ($threads === false) {
            $threads = Thread::find()->count();
            Podium::getInstance()->podiumCache->set('forum.threadscount', $threads);
        }
        return $threads;
    }
public static function totalThreads()
    {
        $threads = Podium::getInstance()->podiumCache->get('forum.threadscount');
        if ($threads === false) {
            $threads = Thread::find()->count();
            Podium::getInstance()->podiumCache->set('forum.threadscount', $threads);
        }
        return $threads;
    }
public static function totalThreads ( ) { $ threads = Podium :: getInstance ( ) -> podiumCache -> get ( 'forum.threadscount' ) ; if ( $ threads === false ) { $ threads = Thread :: find ( ) -> count ( ) ; Podium :: getInstance ( ) -> podiumCache -> set ( 'forum.threadscount' , $ threads ) ; } return $ threads ; }
Counts number of created threads.
@return int
Counts number of created threads .