/** * Load all file objects associated with this changeset. */ function load_files() { if (count($this->files) < 1) { $this->files = SourceFile::load_by_changeset($this->id); } return $this->files; }