Prado\Data\SqlMap\Configuration\TResultMap::getID PHP Метод

getID() публичный Метод

public getID ( ) : string
Результат string a unique identifier for the .
    public function getID()
    {
        return $this->_ID;
    }

Usage Example

Пример #1
0
 /**
  * @param TResultMap add a new result map to this SQLMap
  * @throws TSqlMapDuplicateException
  */
 public function addResultMap(TResultMap $result)
 {
     $key = $result->getID();
     if ($this->_resultMaps->contains($key) == true) {
         throw new TSqlMapDuplicateException('sqlmap_already_contains_result_map', $key);
     }
     $this->_resultMaps->add($key, $result);
 }