public static function Render($template=null, $data=null)
    {
        if ($template && $data) {
            return self::$renderer->render($template, $data);
        } else {
            self::$data = self::getData();
            self::$templates[] = "index";
            self::loadTemplate(self::$templates);
        }
    }
public static function Render($template=null, $data=null)
    {
        if ($template && $data) {
            return self::$renderer->render($template, $data);
        } else {
            self::$data = self::getData();
            self::$templates[] = "index";
            self::loadTemplate(self::$templates);
        }
    }
public static function Render ( $ template = null , $ data = null ) { if ( $ template && $ data ) { return self :: $ renderer -> render ( $ template , $ data ) ; } else { self :: $ data = self :: getData ( ) ; self :: $ templates [ ] = "index" ; self :: loadTemplate ( self :: $ templates ) ; } }
render function hook
render function hook