public function includeBaseClientScripts()
    {
        if (defined('OPENBIZ_JSLIB_BASE') && OPENBIZ_JSLIB_BASE == 'JQUERY') {
            Openbizx::$app->getClientProxy()->appendScripts("jquery", "jquery.js");
            Openbizx::$app->getClientProxy()->appendScripts("jquery_class", "jquery.class.js");
            Openbizx::$app->getClientProxy()->appendScripts("jquery_dollarj", "<script>try{var \$j=\$;}catch(e){}</script>", false);
            Openbizx::$app->getClientProxy()->appendStyles("default", "openbiz.css");
            if (DeviceUtil::$PHONE_TOUCH) {
                Openbizx::$app->getClientProxy()->appendScripts("openbiz", "openbiz.mobile.js");
                Openbizx::$app->getClientProxy()->appendScripts("jquery_mobile", "jqm/jquery.mobile-1.0.js");
                $style = "<link rel=\"stylesheet\" href=\"" . Openbizx::$app->getJsUrl() . "/jqm/jquery.mobile-1.0.css\" type=\"text/css\">";
                Openbizx::$app->getClientProxy()->appendStyles("jquery_mobile_css", $style, false);
            } else {
                Openbizx::$app->getClientProxy()->appendScripts("openbiz", "openbiz.js");
                Openbizx::$app->getClientProxy()->appendScripts("jquery_ui", "jquery-ui-1.8.16.custom.min.js");
                $style = "<link rel=\"stylesheet\" href=\"" . Openbizx::$app->getJsUrl() . "/jquery-ui/ui-lightness/jquery-ui-1.8.16.custom.css\" type=\"text/css\">";
                $style .= "<link rel=\"stylesheet\" href=\"" . Openbizx::$app->getJsUrl() . "/jquery-ui/ui-openbiz/jquery.css\" type=\"text/css\">";
                Openbizx::$app->getClientProxy()->appendStyles("jquery_ui_css", $style, false);
            }
            return;
        }
        // prototype is still the default js lib
        Openbizx::$app->getClientProxy()->appendScripts("prototype", "prototype.js");
        Openbizx::$app->getClientProxy()->appendScripts("scriptaculous", "scriptaculous.js");
        Openbizx::$app->getClientProxy()->appendScripts("effects", "effects.js");
        Openbizx::$app->getClientProxy()->appendScripts("controls", "controls.js");
        Openbizx::$app->getClientProxy()->appendScripts("cookies", "cookies.js");
        Openbizx::$app->getClientProxy()->appendScripts("openbiz", "openbiz.js");
        Openbizx::$app->getClientProxy()->appendStyles("default", "openbiz.css");
        // window lib
        Openbizx::$app->getClientProxy()->includePropWindowScripts();
        // validator lib
        //Openbizx::$app->getClientProxy()->includeValidatorScripts();
    }
public function includeBaseClientScripts()
    {
        if (defined('OPENBIZ_JSLIB_BASE') && OPENBIZ_JSLIB_BASE == 'JQUERY') {
            Openbizx::$app->getClientProxy()->appendScripts("jquery", "jquery.js");
            Openbizx::$app->getClientProxy()->appendScripts("jquery_class", "jquery.class.js");
            Openbizx::$app->getClientProxy()->appendScripts("jquery_dollarj", "<script>try{var \$j=\$;}catch(e){}</script>", false);
            Openbizx::$app->getClientProxy()->appendStyles("default", "openbiz.css");
            if (DeviceUtil::$PHONE_TOUCH) {
                Openbizx::$app->getClientProxy()->appendScripts("openbiz", "openbiz.mobile.js");
                Openbizx::$app->getClientProxy()->appendScripts("jquery_mobile", "jqm/jquery.mobile-1.0.js");
                $style = "<link rel=\"stylesheet\" href=\"" . Openbizx::$app->getJsUrl() . "/jqm/jquery.mobile-1.0.css\" type=\"text/css\">";
                Openbizx::$app->getClientProxy()->appendStyles("jquery_mobile_css", $style, false);
            } else {
                Openbizx::$app->getClientProxy()->appendScripts("openbiz", "openbiz.js");
                Openbizx::$app->getClientProxy()->appendScripts("jquery_ui", "jquery-ui-1.8.16.custom.min.js");
                $style = "<link rel=\"stylesheet\" href=\"" . Openbizx::$app->getJsUrl() . "/jquery-ui/ui-lightness/jquery-ui-1.8.16.custom.css\" type=\"text/css\">";
                $style .= "<link rel=\"stylesheet\" href=\"" . Openbizx::$app->getJsUrl() . "/jquery-ui/ui-openbiz/jquery.css\" type=\"text/css\">";
                Openbizx::$app->getClientProxy()->appendStyles("jquery_ui_css", $style, false);
            }
            return;
        }
        // prototype is still the default js lib
        Openbizx::$app->getClientProxy()->appendScripts("prototype", "prototype.js");
        Openbizx::$app->getClientProxy()->appendScripts("scriptaculous", "scriptaculous.js");
        Openbizx::$app->getClientProxy()->appendScripts("effects", "effects.js");
        Openbizx::$app->getClientProxy()->appendScripts("controls", "controls.js");
        Openbizx::$app->getClientProxy()->appendScripts("cookies", "cookies.js");
        Openbizx::$app->getClientProxy()->appendScripts("openbiz", "openbiz.js");
        Openbizx::$app->getClientProxy()->appendStyles("default", "openbiz.css");
        // window lib
        Openbizx::$app->getClientProxy()->includePropWindowScripts();
        // validator lib
        //Openbizx::$app->getClientProxy()->includeValidatorScripts();
    }
public function includeBaseClientScripts ( ) { if ( defined ( 'OPENBIZ_JSLIB_BASE' ) && OPENBIZ_JSLIB_BASE == 'JQUERY' ) { Openbizx :: $ app -> getClientProxy ( ) -> appendScripts ( "jquery" , "jquery.js" ) ; Openbizx :: $ app -> getClientProxy ( ) -> appendScripts ( "jquery_class" , "jquery.class.js" ) ; Openbizx :: $ app -> getClientProxy ( ) -> appendScripts ( "jquery_dollarj" , "<script>try{var \$j=\$;}catch(e){}</script>" , false ) ; Openbizx :: $ app -> getClientProxy ( ) -> appendStyles ( "default" , "openbiz.css" ) ; if ( DeviceUtil :: $ PHONE_TOUCH ) { Openbizx :: $ app -> getClientProxy ( ) -> appendScripts ( "openbiz" , "openbiz.mobile.js" ) ; Openbizx :: $ app -> getClientProxy ( ) -> appendScripts ( "jquery_mobile" , "jqm/jquery.mobile-1.0.js" ) ; $ style = "<link rel=\"stylesheet\" href=\"" . Openbizx :: $ app -> getJsUrl ( ) . "/jqm/jquery.mobile-1.0.css\" type=\"text/css\">" ; Openbizx :: $ app -> getClientProxy ( ) -> appendStyles ( "jquery_mobile_css" , $ style , false ) ; } else { Openbizx :: $ app -> getClientProxy ( ) -> appendScripts ( "openbiz" , "openbiz.js" ) ; Openbizx :: $ app -> getClientProxy ( ) -> appendScripts ( "jquery_ui" , "jquery-ui-1.8.16.custom.min.js" ) ; $ style = "<link rel=\"stylesheet\" href=\"" . Openbizx :: $ app -> getJsUrl ( ) . "/jquery-ui/ui-lightness/jquery-ui-1.8.16.custom.css\" type=\"text/css\">" ; $ style .= "<link rel=\"stylesheet\" href=\"" . Openbizx :: $ app -> getJsUrl ( ) . "/jquery-ui/ui-openbiz/jquery.css\" type=\"text/css\">" ; Openbizx :: $ app -> getClientProxy ( ) -> appendStyles ( "jquery_ui_css" , $ style , false ) ; } return ; } // prototype is still the default js lib Openbizx :: $ app -> getClientProxy ( ) -> appendScripts ( "prototype" , "prototype.js" ) ; Openbizx :: $ app -> getClientProxy ( ) -> appendScripts ( "scriptaculous" , "scriptaculous.js" ) ; Openbizx :: $ app -> getClientProxy ( ) -> appendScripts ( "effects" , "effects.js" ) ; Openbizx :: $ app -> getClientProxy ( ) -> appendScripts ( "controls" , "controls.js" ) ; Openbizx :: $ app -> getClientProxy ( ) -> appendScripts ( "cookies" , "cookies.js" ) ; Openbizx :: $ app -> getClientProxy ( ) -> appendScripts ( "openbiz" , "openbiz.js" ) ; Openbizx :: $ app -> getClientProxy ( ) -> appendStyles ( "default" , "openbiz.css" ) ; // window lib Openbizx :: $ app -> getClientProxy ( ) -> includePropWindowScripts ( ) ; // validator lib //Openbizx::$app->getClientProxy()->includeValidatorScripts(); }
Include base client library scripts

@return void
Include base client library scripts