src/AutoMeta/AutoMeta.php
protected function parseTitle($title, $suffix, $has_suffix)
    {
        if (!$has_suffix):
            return $title;
        elseif(!empty($suffix)):
            return $title . $this->getTitleSeperator() . $suffix;
        else:
            return $this->config->get('defaults.title') ? $title . $this->getTitleSeperator() . $this->config->get('defaults.title', null) : $title;
        endif;
    }
protected function parseTitle($title, $suffix, $has_suffix)
    {
        if (!$has_suffix):
            return $title;
        elseif(!empty($suffix)):
            return $title . $this->getTitleSeperator() . $suffix;
        else:
            return $this->config->get('defaults.title') ? $title . $this->getTitleSeperator() . $this->config->get('defaults.title', null) : $title;
        endif;
    }
protected function parseTitle ( $ title , $ suffix , $ has_suffix ) { if ( ! $ has_suffix ) : return $ title ; elseif ( ! empty ( $ suffix ) ) : return $ title . $ this -> getTitleSeperator ( ) . $ suffix ; else : return $ this -> config -> get ( 'defaults.title' ) ? $ title . $ this -> getTitleSeperator ( ) . $ this -> config -> get ( 'defaults.title' , null ) : $ title ; endif ; }
Get parsed title.

@param string $title
@param string @suffix

@return string
Get parsed title .