Comments: on this page. Click to read or post your own.

Class TextareaField

Description

Multi-line text area.

Located in /sapphire/forms/TextareaField.php (line 7)

Object
   |
   --ViewableData
      |
      --RequestHandlingData
         |
         --FormField
            |
            --TextareaField
Direct descendents
Class Description
HtmlEditorField A WYSIWYG editor field, powered by tinymce.
Variable Summary
mixed $cols
mixed $disabled
mixed $readonly
mixed $rows
Method Summary
TextareaField __construct ($name $name, [$title $title = null], [$rows $rows = 5], [$cols $cols = 20], [$value $value = ""], [$form $form = null])
void Field ()
void Type ()
Variables
Methods
Constructor __construct (line 19)

Create a new multi-line text area field.

TextareaField __construct ($name $name, [$title $title = null], [$rows $rows = 5], [$cols $cols = 20], [$value $value = ""], [$form $form = null])
  • $name $name: Field name
  • $title $title: Field title
  • $rows $rows: The number of rows
  • $cols $cols: The number of columns
  • $value $value: The current value
  • $form $form: The parent form. Auto-set when the field is placed in a form.

Redefinition of:
FormField::__construct()
Create a new field.

Redefined in descendants as:
Field (line 28)

Returns a <textarea> tag - used in templates.

void Field ()

Redefinition of:
FormField::Field()
Returns the form field - used by templates.

Redefined in descendants as:
performDisabledTransformation (line 66)

Performs a disabled transformation on this field. You shouldn't be able to copy from this field, and it should not send any data when you submit the form it's attached to.

The element shouldn't be both disabled and readonly at the same time.

void performDisabledTransformation ()

Redefinition of:
FormField::performDisabledTransformation()
Return a disabled version of this field
performReadonlyTransformation (line 54)

Performs a readonly transformation on this field. You should still be able to copy from this field, and it should still send when you submit the form it's attached to.

The element shouldn't be both disabled and readonly at the same time.

void performReadonlyTransformation ()

Redefinition of:
FormField::performReadonlyTransformation()
Returns a readonly version of this field

Redefined in descendants as:
Type (line 72)
void Type ()

Redefinition of:
FormField::Type()
Returns the field type - used by templates.

Inherited Methods

Inherited From FormField

FormField::__construct()
FormField::addExtraClass()
FormField::attrName()
FormField::attrTitle()
FormField::attrValue()
FormField::createTag()
FormField::dataValue()
FormField::debug()
FormField::describe()
FormField::extraClass()
FormField::Field()
FormField::FieldHolder()
FormField::forTemplate()
FormField::getForm()
FormField::getTabIndex()
FormField::getTabIndexHTML()
FormField::hasClass()
FormField::hasData()
FormField::id()
FormField::isComposite()
FormField::isDisabled()
FormField::isReadonly()
FormField::jsValidation()
FormField::LeftTitle()
FormField::Link()
FormField::Message()
FormField::MessageType()
FormField::Name()
FormField::name_to_label()
FormField::performDisabledTransformation()
FormField::performReadonlyTransformation()
FormField::removeExtraClass()
FormField::Required()
FormField::RightTitle()
FormField::rootFieldSet()
FormField::saveInto()
FormField::setContainerFieldSet()
FormField::setDisabled()
FormField::setError()
FormField::setForm()
FormField::setLeftTitle()
FormField::setName()
FormField::setReadonly()
FormField::setRightTitle()
FormField::setTabIndex()
FormField::setTitle()
FormField::setValue()
FormField::SmallFieldHolder()
FormField::Title()
FormField::transform()
FormField::Type()
FormField::validate()
FormField::Value()

Inherited From RequestHandlingData

RequestHandlingData::checkAccessAction()
RequestHandlingData::getRequest()
RequestHandlingData::handleRequest()
RequestHandlingData::httpError()

Inherited From ViewableData

ViewableData::ATT_val()
ViewableData::BaseHref()
ViewableData::buildCastingHelperCache()
ViewableData::cachedCall()
ViewableData::castingHelper()
ViewableData::castingHelperPair()
ViewableData::castingObjectCreator()
ViewableData::castingObjectCreatorPair()
ViewableData::CSSClasses()
ViewableData::CurrentMember()
ViewableData::CurrentPage()
ViewableData::customise()
ViewableData::Debug()
ViewableData::defineMethods()
ViewableData::escapeTypeForField()
ViewableData::Even()
ViewableData::EvenOdd()
ViewableData::First()
ViewableData::FirstLast()
ViewableData::getField()
ViewableData::getIterator()
ViewableData::getXMLValues()
ViewableData::hasField()
ViewableData::HasPerm()
ViewableData::hasValue()
ViewableData::i18nLocale()
ViewableData::IsAjax()
ViewableData::iteratorProperties()
ViewableData::JS_val()
ViewableData::Last()
ViewableData::Me()
ViewableData::Middle()
ViewableData::MiddleString()
ViewableData::obj()
ViewableData::Odd()
ViewableData::Pos()
ViewableData::RAW_val()
ViewableData::renderWith()
ViewableData::SecurityID()
ViewableData::setCustomisedObj()
ViewableData::setField()
ViewableData::SQL_val()
ViewableData::ThemeDir()
ViewableData::Top()
ViewableData::TotalItems()
ViewableData::val()
ViewableData::XML_val()
ViewableData::__get()
ViewableData::__isset()
ViewableData::__set()

Inherited From Object

Object::__construct()
Object::addMethodsFrom()
Object::addStaticVars()
Object::addWrapperMethod()
Object::add_extension()
Object::allMethodNames()
Object::buildMethodList()
Object::cacheToFile()
Object::cacheToFileWithArgs()
Object::create()
Object::createMethod()
Object::defineMethods()
Object::exists()
Object::extend()
Object::extInstance()
Object::getCustomClass()
Object::hasExtension()
Object::hasMethod()
Object::invokeWithExtensions()
Object::is_a()
Object::loadCache()
Object::parentClass()
Object::sanitiseCachename()
Object::saveCache()
Object::set_stat()
Object::set_uninherited()
Object::stat()
Object::strong_create()
Object::uninherited()
Object::useCustomClass()
Object::__call()
Object::__toString()
blog comments powered by Disqus

Documentation generated on Sun, 19 Oct 2008 06:47:00 +1300 by phpDocumentor 1.3.2