public static function getAllVanilla($justText = false) { // Issue query to get all questions with vanilla flag on. $results = QuestionModel::getAllVanilla($justText); if ($justText) { foreach ($results as &$questionData) { $questionData['vanilla'] = null; } } // Parse and return data from query and make array of questions with data. return self::parseRawData($results); }