controllers/error/common.php
public function getErrorMetadata()
	{
		try
		{
			$metadata = \Sifo\Config::getInstance()->getConfig( 'lang/metadata_' . $this->getParam( 'lang' ) );
		}
		catch ( Exception_Configuration $e )
		{
			$metadata = \Sifo\Config::getInstance()->getConfig( 'lang/metadata_en_US' );
		}

		$error_code = $this->getParam( 'code' );

		return ( isset( $metadata[$error_code] ) ) ? $metadata[$error_code] : false;
	}
public function getErrorMetadata()
	{
		try
		{
			$metadata = \Sifo\Config::getInstance()->getConfig( 'lang/metadata_' . $this->getParam( 'lang' ) );
		}
		catch ( Exception_Configuration $e )
		{
			$metadata = \Sifo\Config::getInstance()->getConfig( 'lang/metadata_en_US' );
		}

		$error_code = $this->getParam( 'code' );

		return ( isset( $metadata[$error_code] ) ) ? $metadata[$error_code] : false;
	}
public function getErrorMetadata ( ) { try { $ metadata = \ Sifo \ Config :: getInstance ( ) -> getConfig ( 'lang/metadata_' . $ this -> getParam ( 'lang' ) ) ; } catch ( Exception_Configuration $ e ) { $ metadata = \ Sifo \ Config :: getInstance ( ) -> getConfig ( 'lang/metadata_en_US' ) ; } $ error_code = $ this -> getParam ( 'code' ) ; return ( isset ( $ metadata [ $ error_code ] ) ) ? $ metadata [ $ error_code ] : false ; }
Assign selected error code metadata to page to allow error translations.

@return array
Assign selected error code metadata to page to allow error translations .