Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentRssCreator
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob

Classes

  • cHTML
  • cHTMLAlignmentTable
  • cHTMLArticle
  • cHTMLAside
  • cHTMLAudio
  • cHTMLButton
  • cHTMLCanvas
  • cHTMLCheckbox
  • cHTMLContentElement
  • cHTMLDiv
  • cHTMLFieldset
  • cHTMLFooter
  • cHTMLForm
  • cHTMLFormElement
  • cHTMLHeader
  • cHTMLHgroup
  • cHTMLHiddenField
  • cHTMLIFrame
  • cHTMLImage
  • cHTMLLabel
  • cHTMLLegend
  • cHTMLLink
  • cHTMLList
  • cHTMLListItem
  • cHTMLNav
  • cHTMLOptgroup
  • cHTMLOptionElement
  • cHTMLParagraph
  • cHTMLPasswordbox
  • cHTMLRadiobutton
  • cHTMLScript
  • cHTMLSection
  • cHTMLSelectElement
  • cHTMLSpan
  • cHTMLTable
  • cHTMLTableBody
  • cHTMLTableData
  • cHTMLTableHead
  • cHTMLTableHeader
  • cHTMLTableRow
  • cHTMLTextarea
  • cHTMLTextbox
  • cHTMLTime
  • cHTMLUpload
  • cHTMLVideo
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class cHTMLTextarea

cHTMLTextarea class represents a textarea.

cHTML
Extended by cHTMLFormElement
Extended by cHTMLTextarea
Package: Core\GUI\HTML
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Simon Sprankel
Located at classes/html/class.html.textarea.php
Methods summary
public
# __construct( string $name, string $initvalue = '', integer $width = '', integer $height = '', string $id = '', string $disabled = false, string $tabindex = NULL, string $accesskey = '', string $class = '' )

Constructor to create an instance of this class.

Constructor to create an instance of this class.

Creates an HTML text area.

If no additional parameters are specified, the default width is 60 chars, and the height is 5 chars.

Parameters

$name
string
$name Name of the element
$initvalue
string
$initvalue [optional] Initial value of the textarea
$width
integer
$width [optional] width of the textarea
$height
integer
$height [optional] height of the textarea
$id
string
$id [optional] ID of the element
$disabled
string
$disabled [optional] Item disabled flag (non-empty to set disabled)
$tabindex
string
$tabindex [optional] Tab index for form elements
$accesskey
string
$accesskey [optional] Key to access the field
$class
string
$class [optional] the class of this element

Overrides

cHTMLFormElement::__construct()
public cHTMLTextarea
# setWidth( integer $width )

Sets the width of the text box.

Sets the width of the text box.

Parameters

$width
integer
$width width of the text box

Returns

cHTMLTextarea
$this for chaining
public cHTMLTextarea
# setHeight( integer $height )

Sets the maximum input length of the text box.

Sets the maximum input length of the text box.

Parameters

$height
integer
$maxlen maximum input length

Returns

cHTMLTextarea
$this for chaining
public cHTMLTextarea
# setValue( string $value )

Sets the initial value of the text box.

Sets the initial value of the text box.

Parameters

$value
string
$value Initial value

Returns

cHTMLTextarea
$this for chaining
public string
# toHtml( )

Renders the textarea

Renders the textarea

Returns

string
Rendered HTML

Overrides

cHTML::toHtml()
Methods inherited from cHTMLFormElement
setAccessKey(), setDisabled(), setTabindex()
Methods inherited from cHTML
__toString(), _appendContent(), _getAttrString(), _parseAttributes(), _setContent(), addRequiredScript(), advanceID(), appendStyleDefinition(), appendStyleDefinitions(), attachEventDefinition(), display(), fillCloseSkeleton(), fillSkeleton(), getAttribute(), getAttributes(), getID(), removeAttribute(), render(), setAlt(), setAttribute(), setAttributes(), setClass(), setEvent(), setGenerateXHTML(), setID(), setStyle(), setTag(), unsetEvent(), updateAttribute(), updateAttributes()
Properties summary
protected mixed $_value
#
Properties inherited from cHTML
$_attributes, $_content, $_contentlessTag, $_eventDefinitions, $_generateXHTML, $_idCounter, $_requiredScripts, $_skeletonClose, $_skeletonOpen, $_skeletonSingle, $_styleDefinitions, $_styleDefs, $_tag
CMS CONTENIDO 4.9.11 API documentation generated by ApiGen 2.8.0