lib/Doctrine/ORM/Query/ResultSetMapping.php
public function setDiscriminatorColumn($alias, $discrColumn)
    {
        $this->discriminatorColumns[$alias] = $discrColumn;
        $this->columnOwnerMap[$discrColumn] = $alias;

        return $this;
    }
public function setDiscriminatorColumn($alias, $discrColumn)
    {
        $this->discriminatorColumns[$alias] = $discrColumn;
        $this->columnOwnerMap[$discrColumn] = $alias;

        return $this;
    }
public function setDiscriminatorColumn ( $ alias , $ discrColumn ) { $ this -> discriminatorColumns [ $ alias ] = $ discrColumn ; $ this -> columnOwnerMap [ $ discrColumn ] = $ alias ; return $ this ; }
Sets a discriminator column for an entity result or joined entity result.
The discriminator column will be used to determine the concrete class name to
instantiate.

@param string $alias       The alias of the entity result or joined entity result the discriminator
column should be used for.
@param string $discrColumn The name of the discriminator column in the SQL result set.

@return ResultSetMapping This ResultSetMapping instance.

@todo Rename: addDiscriminatorColumn
Sets a discriminator column for an entity result or joined entity result . The discriminator column will be used to determine the concrete class name to instantiate .