Esempio n. 1
0
 public function getTypes()
 {
     $mResult = false;
     if ($this->oConnection->Execute($this->oCommandCreator->getTypes())) {
         $oRow = null;
         $mResult = array();
         while (false !== ($oRow = $this->oConnection->GetNextRecord())) {
             $mResult[] = $oRow->entity_type;
         }
     }
     $this->throwDbExceptionIfExist();
     return $mResult;
 }