public function getAlias()
    {
        if ($this->hasParent() && !$this->alias) {
            return $this->getParent()->getAlias();
        }

        return $this->alias;
    }
public function getAlias()
    {
        if ($this->hasParent() && !$this->alias) {
            return $this->getParent()->getAlias();
        }

        return $this->alias;
    }
public function getAlias ( ) { if ( $ this -> hasParent ( ) && ! $ this -> alias ) { return $ this -> getParent ( ) -> getAlias ( ) ; } return $ this -> alias ; }
Get alias.

@return string
Get alias .