Class FEBBCodeTextAreaWidget

Description

FEBBCodeTextAreaWidget class

Implementation of a FETextArea widget with BBCode drop down list controls to insert BBCode tags into the textarea widget.

This functionality is implemented as a static class.

Located in /widgets/BBCode.inc (line 405)


	
			
Method Summary
FEBBCodeTextAreaWidget FEBBCodeTextAreaWidget (string $FormName, Object $TextAreaElement, Object $FETextArea, [boolean $help = true])
Methods
Constructor FEBBCodeTextAreaWidget (line 417)

The constructor

FEBBCodeTextAreaWidget FEBBCodeTextAreaWidget (string $FormName, Object $TextAreaElement, Object $FETextArea, [boolean $help = true])
  • string $FormName: - name of the Form where the FETextArea lives
  • Object $TextAreaElement: - the FETextArea form element
  • Object $FETextArea: - the FETextArea element form
  • boolean $help: - add BBCode help
BBCodeJavascript (line 719)

Javascript code to allow insertion of text at the

cursor location of a text area. This code is based on the code found on Alex King's web site who stated it originated with phpMyAdmin. This code needs to be added to the head of the document using the PageWidget's add_head_js() method in order for the BBCode selectors to work properly.

void BBCodeJavascript ()

Documentation generated on Fri, 28 Jan 2011 08:52:49 -0500 by phpDocumentor 1.4.3