Overview

Packages

  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Datatype
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
  • 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

  • ArticleForumRightBottom
  • cApiClickableAction
  • cApiClickableQuestionAction
  • cGuiBackendHelpbox
  • cGuiFoldingRow
  • cGuiList
  • cGuiMenu
  • cGuiNavigation
  • cGuiNotification
  • cGuiObjectPager
  • cGuiPage
  • cGuiScrollList
  • cGuiTableForm
  • cGuiTree
  • cPager
  • cTemplate
  • cTree
  • cTreeItem
  • NoteLink
  • NoteList
  • NoteListItem
  • NoteView
  • TODOBackendList
  • TODOLink
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

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
string
$name of form
$action
string
$action of form defaults to 'main.php'
$method
string
$method of form defaults to 'post'
public
# setVar( string $name, mixed $value )

Parameters

$name
string
$name
$value
mixed
$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
string
$caption
$item
array|object|string
$item
$rowname
string
$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
string
$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
string
$header

Todo

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

Parameters

$header
string
$header
public
# setSubmitJS( string $js )

Parameters

$js
string
$js
public
# setActionEvent( unknown_type $id, unknown_type $event )

Parameters

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

Parameters

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

Parameters

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

Parameters

$tableid
string
$tableid
public
# unsetActionButton( unknown_type $id )

Parameters

$id
unknown_type
$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
boolean
$return if true then return markup, else echo immediately

Returns

Ambigous
<string, mixed>
Properties summary
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.3 API documentation generated by ApiGen 2.8.0