コード例 #1
0
ファイル: ContactBase.php プロジェクト: IASA-GR/appdb-core
 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;
 }