public function getActiveQuestions()
    {
        $activeQuestions = array();
        foreach ($this as $campaign)
            if ($campaign->hasActiveQuestions())
                foreach ($campaign->getActiveQuestions() as $question)
                    $activeQuestions[] = $question;

        return $activeQuestions;
    }
public function getActiveQuestions()
    {
        $activeQuestions = array();
        foreach ($this as $campaign)
            if ($campaign->hasActiveQuestions())
                foreach ($campaign->getActiveQuestions() as $question)
                    $activeQuestions[] = $question;

        return $activeQuestions;
    }
public function getActiveQuestions ( ) { $ activeQuestions = array ( ) ; foreach ( $ this as $ campaign ) if ( $ campaign -> hasActiveQuestions ( ) ) foreach ( $ campaign -> getActiveQuestions ( ) as $ question ) $ activeQuestions [ ] = $ question ; return $ activeQuestions ; }
Returns an array with the active questions from all campaigns.

@see Campaign::getActiveQuestions()
@return Record[]
Returns an array with the active questions from all campaigns .