public function getClassLevel($con = null) { include_once 'lib/model/om/BaseClassLevelPeer.php'; if ($this->aClassLevel === null && $this->class_level_id !== null) { $this->aClassLevel = ClassLevelPeer::retrieveByPK($this->class_level_id, $con); } return $this->aClassLevel; }
public function getClassLevelRelatedByLastClass($con = null) { include_once 'lib/model/om/BaseClassLevelPeer.php'; if ($this->aClassLevelRelatedByLastClass === null && $this->last_class !== null) { $this->aClassLevelRelatedByLastClass = ClassLevelPeer::retrieveByPK($this->last_class, $con); } return $this->aClassLevelRelatedByLastClass; }