public function questions($reload = false) { if ($reload or !$this->questions_cache) { $id = mysql_real_escape_string($this->id); $this->questions_cache = SurveyQuestion::find_all("surveys.id = '{$id}'", "survey_questions.position ASC"); } return $this->questions_cache; }