public static function render($view, array $data = array())
    {
        if (self::$force || App::state() > 2) {
            \UtilsSandboxLoader('application/View/' . strtr($view, '.', '/') . '.php', self::$shared + $data);

            return $data = null;
        }

        return array_push(self::$views, array(strtr($view, '.', '/'), $data)) - 1;
    }
public static function render($view, array $data = array())
    {
        if (self::$force || App::state() > 2) {
            \UtilsSandboxLoader('application/View/' . strtr($view, '.', '/') . '.php', self::$shared + $data);

            return $data = null;
        }

        return array_push(self::$views, array(strtr($view, '.', '/'), $data)) - 1;
    }
public static function render ( $ view , array $ data = array ( ) ) { if ( self :: $ force || App :: state ( ) > 2 ) { \ UtilsSandboxLoader ( 'application/View/' . strtr ( $ view , '.' , '/' ) . '.php' , self :: $ shared + $ data ) ; return $ data = null ; } return array_push ( self :: $ views , array ( strtr ( $ view , '.' , '/' ) , $ data ) ) - 1 ; }
Register or render a View. If View is registered this method returns the index number from View

@param string $view
@param array $data
@return int|null
Register or render a View . If View is registered this method returns the index number from View