Class: IcmsFormSourceEditor

Source Location: /class/icmsform/elements/icmsformsourceeditor.php

Class IcmsFormSourceEditor

Class Overview

Form control creating a textbox for an object derived from IcmsPersistableObject

Located in /class/icmsform/elements/icmsformsourceeditor.php [line 15]

XoopsFormElement
   |
   --XoopsFormTextArea
      |
      --IcmsFormSourceEditor
Author(s): Information Tags:
Version:  $Id: icmsformsourceeditorelement.php 01 2009-06-09 11:34:22Z mekdrop $
Copyright:  The ImpressCMS Project http://www.impresscms.org/
Since:  1.2
License:  GNU General Public License (GPL)

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From XoopsFormElement

XoopsFormElement::$customValidationCode

Inherited From XoopsFormTextArea

XoopsFormTextArea::XoopsFormTextArea()
Constuctor
XoopsFormTextArea::getCols()
Get number of columns
XoopsFormTextArea::getRows()
get number of rows
XoopsFormTextArea::getValue()
Get initial content
XoopsFormTextArea::render()
prepare HTML for output
XoopsFormTextArea::setValue()
Set initial content

Inherited From XoopsFormElement

XoopsFormElement::XoopsFormElement()
constructor
XoopsFormElement::getAccessKey()
get the "accesskey" attribute for the element
XoopsFormElement::getAccessString()
If the accesskey is found in the specified string, underlines it
XoopsFormElement::getCaption()
get the caption for the element
XoopsFormElement::getClass()
get the "class" attribute for the element
XoopsFormElement::getDescription()
get the element's description
XoopsFormElement::getExtra()
Get the extra attributes for the element
XoopsFormElement::getName()
get the "name" attribute for the element
XoopsFormElement::isContainer()
Is this element a container of other elements?
XoopsFormElement::isHidden()
Find out if an element is "hidden".
XoopsFormElement::isRequired()
Find out if an element is required.
XoopsFormElement::render()
Generates output for the element.
XoopsFormElement::renderValidationJS()
Render custom javascript validation code
XoopsFormElement::setAccessKey()
set the "accesskey" attribute for the element
XoopsFormElement::setCaption()
set the caption for the element
XoopsFormElement::setClass()
set the "class" attribute for the element
XoopsFormElement::setDescription()
set the element's description
XoopsFormElement::setExtra()
Add extra attributes to the element.
XoopsFormElement::setHidden()
flag the element as "hidden"
XoopsFormElement::setName()
set the "name" attribute for the element

[ Top ]
Method Summary
IcmsFormSourceEditor   __construct()   Constructor
string   render()   Renders the editor

[ Top ]
Methods
Constructor __construct  [line 27]

  IcmsFormSourceEditor __construct( $form_caption, string $key, $value, [ $width = '100%'], [ $height = '400px'], [ $editor_name = null], [ $language = 'php'], object $object  )

Constructor

Parameters:
object   $object:  reference to targetobject (@link IcmsPersistableObject)
string   $key:  the form name
   $form_caption: 
   $value: 
   $width: 
   $height: 
   $editor_name: 
   $language: 


[ Top ]
render  [line 49]

  string render( )

Renders the editor


API Tags:
Return:  the constructed html string for the editor


Redefinition of:
XoopsFormTextArea::render()
prepare HTML for output

[ Top ]

Documentation generated on Sat, 12 Dec 2009 21:20:50 -0600 by phpDocumentor 1.4.1