extension/ezjscore/classes/ezjscserverfunctionsjs.php
protected static function getDesignFile( $file )
    {
        static $bases = null;
        static $wwwDir = null;
        if ( $bases === null )
            $bases = eZTemplateDesignResource::allDesignBases();
        if ( $wwwDir === null )
            $wwwDir = eZSys::wwwDir() . '/';

        $triedFiles = array();
        $match = eZTemplateDesignResource::fileMatch( $bases, '', $file, $triedFiles );
        if ( $match === false )
        {
            eZDebug::writeWarning( "Could not find: $file", __METHOD__ );
            return false;
        }
        return $wwwDir . htmlspecialchars( $match['path'] );
    }
protected static function getDesignFile( $file )
    {
        static $bases = null;
        static $wwwDir = null;
        if ( $bases === null )
            $bases = eZTemplateDesignResource::allDesignBases();
        if ( $wwwDir === null )
            $wwwDir = eZSys::wwwDir() . '/';

        $triedFiles = array();
        $match = eZTemplateDesignResource::fileMatch( $bases, '', $file, $triedFiles );
        if ( $match === false )
        {
            eZDebug::writeWarning( "Could not find: $file", __METHOD__ );
            return false;
        }
        return $wwwDir . htmlspecialchars( $match['path'] );
    }
protected static function getDesignFile ( $ file ) { static $ bases = null ; static $ wwwDir = null ; if ( $ bases === null ) $ bases = eZTemplateDesignResource :: allDesignBases ( ) ; if ( $ wwwDir === null ) $ wwwDir = eZSys :: wwwDir ( ) . '/' ; $ triedFiles = array ( ) ; $ match = eZTemplateDesignResource :: fileMatch ( $ bases , '' , $ file , $ triedFiles ) ; if ( $ match === false ) { eZDebug :: writeWarning ( "Could not find: $file" , __METHOD__ ) ; return false ; } return $ wwwDir . htmlspecialchars ( $ match [ 'path' ] ) ; }
Internal function to get current index dir

@return string
Internal function to get current index dir