public function languageName()
    {
        /** @var eZContentLanguage $language */
        $language = eZContentLanguage::fetchByLocale( $this->attribute( 'locale' ) );

        if ( $language instanceof eZContentLanguage )
            return array( 'locale' => $language->attribute( 'locale' ), 'name' => $language->attribute( 'name' ) );

        return false;
    }
public function languageName()
    {
        /** @var eZContentLanguage $language */
        $language = eZContentLanguage::fetchByLocale( $this->attribute( 'locale' ) );

        if ( $language instanceof eZContentLanguage )
            return array( 'locale' => $language->attribute( 'locale' ), 'name' => $language->attribute( 'name' ) );

        return false;
    }
public function languageName ( ) { /** @var eZContentLanguage $language */ $ language = eZContentLanguage :: fetchByLocale ( $ this -> attribute ( 'locale' ) ) ; if ( $ language instanceof eZContentLanguage ) return array ( 'locale' => $ language -> attribute ( 'locale' ) , 'name' => $ language -> attribute ( 'name' ) ) ; return false ; }
Returns array with language name and locale for this instance

@return array
Returns array with language name and locale for this instance