private function SaveToJSON($path)
    {
        $this->definitions_path = rtrim($path, "/\\") . "/";
        $this->export_type = Type::JSON;
        
        $this->SendMessage(t("Creating constants.json"));
        $this->SaveConstantsToJson();
        
        $this->SendMessage(t("Creating enumerations.json"));
        $this->SaveEnumerationsToJson();
        
        $this->SendMessage(t("Creating type_definitions.json"));
        $this->SaveTypeDefToJson();
        
        $this->SendMessage(t("Creating variables.json"));
        $this->SaveGlobalVariablesToJson();
        
        $this->SendMessage(t("Creating functions.json"));
        $this->SaveFunctionsToJson();
        
        $this->SendMessage(t("Creating classes.json"));
        $this->SaveClassesToJson();
    }
private function SaveToJSON($path)
    {
        $this->definitions_path = rtrim($path, "/\\") . "/";
        $this->export_type = Type::JSON;
        
        $this->SendMessage(t("Creating constants.json"));
        $this->SaveConstantsToJson();
        
        $this->SendMessage(t("Creating enumerations.json"));
        $this->SaveEnumerationsToJson();
        
        $this->SendMessage(t("Creating type_definitions.json"));
        $this->SaveTypeDefToJson();
        
        $this->SendMessage(t("Creating variables.json"));
        $this->SaveGlobalVariablesToJson();
        
        $this->SendMessage(t("Creating functions.json"));
        $this->SaveFunctionsToJson();
        
        $this->SendMessage(t("Creating classes.json"));
        $this->SaveClassesToJson();
    }
private function SaveToJSON ( $ path ) { $ this -> definitions_path = rtrim ( $ path , "/\\" ) . "/" ; $ this -> export_type = Type :: JSON ; $ this -> SendMessage ( t ( "Creating constants.json" ) ) ; $ this -> SaveConstantsToJson ( ) ; $ this -> SendMessage ( t ( "Creating enumerations.json" ) ) ; $ this -> SaveEnumerationsToJson ( ) ; $ this -> SendMessage ( t ( "Creating type_definitions.json" ) ) ; $ this -> SaveTypeDefToJson ( ) ; $ this -> SendMessage ( t ( "Creating variables.json" ) ) ; $ this -> SaveGlobalVariablesToJson ( ) ; $ this -> SendMessage ( t ( "Creating functions.json" ) ) ; $ this -> SaveFunctionsToJson ( ) ; $ this -> SendMessage ( t ( "Creating classes.json" ) ) ; $ this -> SaveClassesToJson ( ) ; }
Saves all symbols into json files.
@param string $path Directory where files will be stored.
Saves all symbols into json files .