public function getName($locale = null)
    {
        if ($locale) $this->setLocale($locale);

        return $this->manager->expectsLongNames() ? $this->getLongName() : $this->getShortName();
    }
public function getName($locale = null)
    {
        if ($locale) $this->setLocale($locale);

        return $this->manager->expectsLongNames() ? $this->getLongName() : $this->getShortName();
    }
public function getName ( $ locale = null ) { if ( $ locale ) $ this -> setLocale ( $ locale ) ; return $ this -> manager -> expectsLongNames ( ) ? $ this -> getLongName ( ) : $ this -> getShortName ( ) ; }
Best effort name

@param string $locale
@return string
Best effort name