Prado\Data\SqlMap\Configuration\TDiscriminator::initMapping PHP Method

initMapping() public method

Copies the discriminator properties to a new TResultProperty.
public initMapping ( $resultMap )
    public function initMapping($resultMap)
    {
        $this->_mapping = new TResultProperty($resultMap);
        $this->_mapping->setColumn($this->getColumn());
        $this->_mapping->setColumnIndex($this->getColumnIndex());
        $this->_mapping->setType($this->getType());
        $this->_mapping->setTypeHandler($this->getTypeHandler());
        $this->_mapping->setNullValue($this->getNullValue());
    }