public function getContactType() { if ($this->_contactType === null) { $ContactTypes = new Default_Model_ContactTypes(); $ContactTypes->filter->id->equals($this->getContactTypeID()); if ($ContactTypes->count() > 0) { $this->_contactType = $ContactTypes->items[0]; } } return $this->_contactType; }