This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Answer extends ModelPDO { | |
public static function getAllByQuestion($question) { | |
return self::getAllBy('question_id', $question->id); | |
} | |
public function __construct($data = false) { |