public function getDomain($realDomain = false)
    {
        if ($realDomain) {
            return $this->getMap($this->getActive(), 'domain') ?: $this->domain;
        }

        return $this->domain;
    }
public function getDomain($realDomain = false)
    {
        if ($realDomain) {
            return $this->getMap($this->getActive(), 'domain') ?: $this->domain;
        }

        return $this->domain;
    }
public function getDomain ( $ realDomain = false ) { if ( $ realDomain ) { return $ this -> getMap ( $ this -> getActive ( ) , 'domain' ) ? : $ this -> domain ; } return $ this -> domain ; }
Get locale domain.

@param bool $realDomain [optional] Get mapped value (if exists)

@return string
Get locale domain .