Prado\Data\SqlMap\Configuration\TResultMap::getID PHP Method

getID() public method

public getID ( ) : string
return 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);
 }