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
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

Classes

  • cGuiBackendHelpbox
  • cGuiFileOverview
  • cGuiFoldingRow
  • cGuiList
  • cGuiMenu
  • cGuiNavigation
  • cGuiNotification
  • cGuiObjectPager
  • cGuiPage
  • cGuiScrollList
  • cGuiSourceEditor
  • cGuiTableForm
  • cGuiTree
  • cPager
  • cTemplate
  • cTree
  • cTreeItem
  • NoteLink
  • NoteList
  • NoteListItem
  • NoteView
  • TODOBackendList
  • TODOLink
  • Overview
  • Package
  • Class
  • Todo
  • Download

Class cGuiTableForm

Table form GUI class.

Package: Core\GUI
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Mischa Holz
Located at classes/gui/class.tableform.php
Methods summary
public
# __construct( string $name, string $action = 'main.php', string $method = 'post' )

Creates a new cGuiTableForm with given name, action & method of form.

Creates a new cGuiTableForm with given name, action & method of form.

Parameters

$name
of form
$action
of form defaults to 'main.php'
$method
of form defaults to 'post'
public
# setVar( string $name, mixed $value )

Parameters

$name
$value
public
# add( string $caption, array|object|string $item, string $rowname = "" )

Adds a new caption, item and row name.

Adds a new caption, item and row name.

Parameters

$caption
$item
$rowname
public
# addCancel( string $link )

Sets an URL as HREF of a cancel icon.

Sets an URL as HREF of a cancel icon.

Parameters

$link
public
# addHeader( string $header )

Sets the header. The header is set not added!

Sets the header. The header is set not added!

Parameters

$header

Todo

rename addHeader() to setHeader()
public
# addSubHeader( string $header )

Parameters

$header
public
# setSubmitJS( string $js )

Parameters

$js
public
# setAcceptCharset( string $charset )

Sets the accept-charset attribute of form tag

Sets the accept-charset attribute of form tag

Parameters

$charset
public
# setActionEvent( unknown_type $id, unknown_type $event )

Parameters

$id
$event
public
# setActionButton( unknown_type $id, unknown_type $image, unknown_type $description = "", unknown_type $accesskey = false, unknown_type $action = false )

Parameters

$id
$image
$description
$accesskey
$action
public
# setConfirm( unknown_type $id, unknown_type $title, unknown_type $description )

Parameters

$id
$title
$description
public
# setTableID( string $tableid )

Parameters

$tableid
public
# unsetActionButton( unknown_type $id )

Parameters

$id
public Ambigous
# render( boolean $return = true )

Renders this cGuiTableForm and either returs ist markup or echoes it immediately.

Renders this cGuiTableForm and either returs ist markup or echoes it immediately.

Parameters

$return
if true then return markup, else echo immediately

Returns

Ambigous
<string, mixed>
Properties summary
private string $_acceptCharset

accept charset of form tag

accept charset of form tag

# ''
public array $items
# array()
public array $captions
# array()
public integer $id
# 0
public array $rownames
# array()
public array $itemType
# array()
public string $formname
#
public string $formmethod
#
public string $formaction
#
public array $formvars
# array()
public string $tableid
# ""
public string $header
#
public string $cancelLink
#
public string $submitjs
#
public array $custom
# array()
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen