public function getClassType($con = null) { include_once 'lib/model/om/BaseClassTypePeer.php'; if ($this->aClassType === null && $this->class_type_id !== null) { $this->aClassType = ClassTypePeer::retrieveByPK($this->class_type_id, $con); } return $this->aClassType; }