ajouterApres('bold',array(params)); * $barre->ajouterAvant('bold',array(params)); * * $bold = $barre->get('bold'); * $bold['id'] = 'bold2'; * $barre->ajouterApres('italic',$bold); * @pipeline_appel porte_plume_barre_pre_charger */ $barres = pipeline('porte_plume_barre_pre_charger', $barres); // 3) Chargement /** * Cacher ou afficher certains boutons au besoin * * @example * $barre = &$flux['spip']; * $barre->afficher('bold'); * $barre->cacher('bold'); * * $barre->cacherTout(); * $barre->afficher(array('bold','italic','header1')); * @pipeline_appel porte_plume_barre_charger */ $barres = pipeline('porte_plume_barre_charger', $barres); // 4 On crée les jsons $json = ""; foreach($barres as $set=>$barre) { $json .= $barre->creer_json(); } return $json; } ?>