public function FieldHolder($attributes = array ()) {
		Requirements::javascript(BOOTSTRAP_FORMS_DIR."/javascript/tinymce/jscripts/tiny_mce/jquery.tinymce.js");
    	Requirements::javascript(BOOTSTRAP_FORMS_DIR."/javascript/tinymce/jscripts/tiny_mce/tiny_mce.js");		
    	if(!$this->getAttribute('data-buttons')) {
    		$this->setButtons(self::$default_buttons);
    	}
    	if(!$this->getAttribute('data-blockformats')) {
    		$this->setBlockFormats(self::$default_blockformats);
    	}

		$this->addExtraClass('wysiwyg');
		return parent::FieldHolder($attributes);
	}
public function FieldHolder($attributes = array ()) {
		Requirements::javascript(BOOTSTRAP_FORMS_DIR."/javascript/tinymce/jscripts/tiny_mce/jquery.tinymce.js");
    	Requirements::javascript(BOOTSTRAP_FORMS_DIR."/javascript/tinymce/jscripts/tiny_mce/tiny_mce.js");		
    	if(!$this->getAttribute('data-buttons')) {
    		$this->setButtons(self::$default_buttons);
    	}
    	if(!$this->getAttribute('data-blockformats')) {
    		$this->setBlockFormats(self::$default_blockformats);
    	}

		$this->addExtraClass('wysiwyg');
		return parent::FieldHolder($attributes);
	}
public function FieldHolder ( $ attributes = array ( ) ) { Requirements :: javascript ( BOOTSTRAP_FORMS_DIR . "/javascript/tinymce/jscripts/tiny_mce/jquery.tinymce.js" ) ; Requirements :: javascript ( BOOTSTRAP_FORMS_DIR . "/javascript/tinymce/jscripts/tiny_mce/tiny_mce.js" ) ; if ( ! $ this -> getAttribute ( 'data-buttons' ) ) { $ this -> setButtons ( self :: $ default_buttons ) ; } if ( ! $ this -> getAttribute ( 'data-blockformats' ) ) { $ this -> setBlockFormats ( self :: $ default_blockformats ) ; } $ this -> addExtraClass ( 'wysiwyg' ) ; return parent :: FieldHolder ( $ attributes ) ; }
Builds the form field, includes JavaScript, and sets defaults

@param array $attributes The attributes to include on the form field
@return SimpleHtmlEditorField
Builds the form field includes JavaScript and sets defaults