protected function getAliasAndSuffix($alias = null)
    {
        $suffix = count($this->getParameters());
        $alias = $this->getFirstAlias($alias);

        return array($alias, $suffix);
    }
protected function getAliasAndSuffix($alias = null)
    {
        $suffix = count($this->getParameters());
        $alias = $this->getFirstAlias($alias);

        return array($alias, $suffix);
    }
protected function getAliasAndSuffix ( $ alias = null ) { $ suffix = count ( $ this -> getParameters ( ) ) ; $ alias = $ this -> getFirstAlias ( $ alias ) ; return array ( $ alias , $ suffix ) ; }
Compute suffix and alias used by query part.

@param string $alias

@return array
Compute suffix and alias used by query part .