Prado\Data\SqlMap\DataMapper\TSqlMapTypeHandler::getType PHP 메소드

getType() 공개 메소드

public getType ( )
    public function getType()
    {
        if ($this->_type === null) {
            return get_class($this);
        } else {
            return $this->_type;
        }
    }

Usage Example

 /**
  * @param TSqlMapTypeHandler registers a new type handler
  */
 public function registerTypeHandler(TSqlMapTypeHandler $handler)
 {
     $this->_typeHandlers[$handler->getType()] = $handler;
 }