code/libraries/joomlatools/library/template/locator/identifier.php
public function getLayout($url)
    {
        $engines = $this->getObject('template.engine.factory')->getFileTypes();
        $parts   = explode('.', $url);

        if(in_array(end($parts), $engines))
        {
            $type  =  array_pop($parts);
            $format = array_pop($parts);
        }
        else $format = array_pop($parts);

        return $this->getIdentifier(implode('.', $parts));
    }
public function getLayout($url)
    {
        $engines = $this->getObject('template.engine.factory')->getFileTypes();
        $parts   = explode('.', $url);

        if(in_array(end($parts), $engines))
        {
            $type  =  array_pop($parts);
            $format = array_pop($parts);
        }
        else $format = array_pop($parts);

        return $this->getIdentifier(implode('.', $parts));
    }
public function getLayout ( $ url ) { $ engines = $ this -> getObject ( 'template.engine.factory' ) -> getFileTypes ( ) ; $ parts = explode ( '.' , $ url ) ; if ( in_array ( end ( $ parts ) , $ engines ) ) { $ type = array_pop ( $ parts ) ; $ format = array_pop ( $ parts ) ; } else $ format = array_pop ( $ parts ) ; return $ this -> getIdentifier ( implode ( '.' , $ parts ) ) ; }
Get the layout identifier based on the url

If the identifier has been aliased the alias will be returned.

@param string $url  The template url
@return KObjectIdentifier
Get the layout identifier based on the url