function addContent(
        $ongletName="default", $content="",
        $isSelected=false, $type="default", $optionsParType=""
    ) {
        $this->ongletsArray[$ongletName]=$content;
        $this->typeOngletsArray[$ongletName]=$type;
        $this->optionsOngletParType[$ongletName]=$optionsParType;
        
        $this->listeOngletJSNameArray[]=$this->convertIntituleOnglet($ongletName).
        (count($this->ongletsArray)-1).$this->idOngletBuilder;
        if ($isSelected && count($this->ongletsArray)>0) {
            $this->numOngletSelected=count($this->ongletsArray)-1;
        }
    }
function addContent(
        $ongletName="default", $content="",
        $isSelected=false, $type="default", $optionsParType=""
    ) {
        $this->ongletsArray[$ongletName]=$content;
        $this->typeOngletsArray[$ongletName]=$type;
        $this->optionsOngletParType[$ongletName]=$optionsParType;
        
        $this->listeOngletJSNameArray[]=$this->convertIntituleOnglet($ongletName).
        (count($this->ongletsArray)-1).$this->idOngletBuilder;
        if ($isSelected && count($this->ongletsArray)>0) {
            $this->numOngletSelected=count($this->ongletsArray)-1;
        }
    }
function addContent ( $ ongletName = "default" , $ content = "" , $ isSelected = false , $ type = "default" , $ optionsParType = "" ) { $ this -> ongletsArray [ $ ongletName ] = $ content ; $ this -> typeOngletsArray [ $ ongletName ] = $ type ; $ this -> optionsOngletParType [ $ ongletName ] = $ optionsParType ; $ this -> listeOngletJSNameArray [ ] = $ this -> convertIntituleOnglet ( $ ongletName ) . ( count ( $ this -> ongletsArray ) - 1 ) . $ this -> idOngletBuilder ; if ( $ isSelected && count ( $ this -> ongletsArray ) > 0 ) { $ this -> numOngletSelected = count ( $ this -> ongletsArray ) - 1 ; } }
Ajoute du contenu

@param string $ongletName     Nom de l'onglet
@param string $content        Contenu
@param bool   $isSelected     L'onglet est-il sélectionné ?
@param string $type           Type
@param string $optionsParType ?

@return void
Ajoute du contenu