iTx Technologies offre gratuitement
cet espace pour SugarCRM !

title

Body

[fermer]

/include/ -> SugarTinyMCE.php (sommaire)

(aucune description)

Taille du fichier: 155 lignes (6 kb)
Inclus ou requis: 7 fois
Réferencé: 0 fois
Inclus ou requis: 0 fichiers

Définit la class 1 class

SugarTinyMCE:: (4 methods):
  SugarTinyMCE()
  getInstance()
  getConfig()
  cleanEncodedMCEHtml()


Classe: SugarTinyMCE  - X-Ref

PHP wrapper class for Javascript driven TinyMCE WYSIWYG HTML editor

SugarTinyMCE()   X-Ref
Sole constructor


getInstance($targets = "")   X-Ref
Returns the Javascript necessary to initialize a TinyMCE instance for a given <textarea> or <div>

param: string target Comma delimited list of DOM ID's, <textarea id='someTarget'>
return: string

getConfig()   X-Ref
Aucune description

cleanEncodedMCEHtml($html)   X-Ref
This function takes in html code that has been produced (and somewhat mauled) by TinyMCE
and returns a cleaned copy of it.

param: $html
return: $html with all the tinyMCE specific html removed



Generé en: Thu Mar 4 09:44:50 2010 | Cross-referenced par PHPXref 0.7