ManuB

Members
  • Content count

    3
  • Joined

  • Last visited

Everything posted by ManuB

  1. PHPDoc Tags

    Hi, It would be interesting that the code will be documented with PHPDoc tags for generated API documentation. Best regards, ManuB
  2. Hi ! Is there a way to have php api doc for Gantt FusionChart ? or a sample to use FusionChart Gantt Method like addGanttCategory(), addGanttProcess(),... Thanks for your helps,* Regards... ManuB
  3. Gantt FusionChart API PHP Doc

    Hi, I'm surprised, when i see FusionCharts_Gen.php file in FusionChartFree Gannt methode are there but no documention to use them. ###################### GANTT CHART (start) ###################################### # ----------- Public Functions ----------------------------------------------- # Function addCategory adding Category and vLine element function addGanttCategorySet($catParam=""){ $this->GT_categories_Counter++; $this->GT_categories[$this->GT_categories_Counter]= array(); $strParam=""; # cheking catParam not blank if($catParam!=""){ $strParam = $this->ConvertParamToXMLAttribute($catParam); } $this->GT_categoriesParam[$this->GT_categories_Counter]=$strParam; } # Function addGanttCategory adding Category function addGanttCategory($label="",$catParam=""){ $strCatXML=""; $strParam=""; # cheking catParam not blank if($catParam!=""){ $strParam = $this->ConvertParamToXMLAttribute($catParam); } # adding label and parameter set to category $strCatXML =""; # storing into GT_categories array $this->GT_categories[$this->GT_categories_Counter][$this->GT_subcategories_Counter]=$strCatXML; # Increase Counter $this->GT_subcategories_Counter++; } # Setting Process Parameter into categoriesParam variables function setGanttProcessesParams($strParam){ $this->GT_processes_Param .= $this->ConvertParamToXMLAttribute($strParam); } # Function addGanttProcess adding Process function addGanttProcess($label="",$catParam=""){ $strCatXML=""; $strParam=""; # cheking catParam not blank if($catParam!=""){ $strParam = $this->ConvertParamToXMLAttribute($catParam); } # adding label and parameter set to category $strCatXML =""; # storing into categoryNames array $this->GT_processes[$this->GT_processes_Counter]=$strCatXML; # Increase Counter $this->GT_processes_Counter++; } # Setting Tasks Parameter into TaskParam variables function setGanttTasksParams($strParam){ $this->GT_Tasks_Param .= $this->ConvertParamToXMLAttribute($strParam); } # Function addGanttTasks adding Tasks function addGanttTask($label="",$catParam=""){ $strCatXML=""; $strParam=""; # cheking catParam not blank if($catParam!=""){ $strParam = $this->ConvertParamToXMLAttribute($catParam); } # adding label and parameter set to category $strCatXML =""; # storing into GT_Tasks array $this->GT_Tasks[$this->GT_Tasks_Counter]=$strCatXML; # Increase Counter $this->GT_Tasks_Counter++; } Maybe this methodes are only there for an internal usage. It would be great that we are able to use them directly. Best Regards.