kernel/classes/eznamepatternresolver.php
private function translatePattern()
    {
        $tokenArray = $this->extractTokens( $this->namePattern );
        $objectName = $this->namePattern;

        foreach( $tokenArray as $token )
        {
            $string = $this->resolveToken( $token );
            $objectName = str_replace( $token, $string, $objectName );
        }

        return $objectName;
    }
private function translatePattern()
    {
        $tokenArray = $this->extractTokens( $this->namePattern );
        $objectName = $this->namePattern;

        foreach( $tokenArray as $token )
        {
            $string = $this->resolveToken( $token );
            $objectName = str_replace( $token, $string, $objectName );
        }

        return $objectName;
    }
private function translatePattern ( ) { $ tokenArray = $ this -> extractTokens ( $ this -> namePattern ) ; $ objectName = $ this -> namePattern ; foreach ( $ tokenArray as $ token ) { $ string = $ this -> resolveToken ( $ token ) ; $ objectName = str_replace ( $ token , $ string , $ objectName ) ; } return $ objectName ; }
Replaces tokens in the name pattern with their resolved values.

@return string
Replaces tokens in the name pattern with their resolved values .