clearFusionCMS 3.0.0
  • Package
  • Class
  • Tree
  • Deprecated

Packages

  • clearFusionCMS
    • module
      • cloudflare
      • comments
      • content
      • forms
      • members
      • search
  • fusionLib
  • None

Classes

  • _flFormGroup
  • _flUtf8Base
  • flAcMgr
  • flApiDbInstaller
  • flApiKeyMgr
  • flApiServer
  • flApiService
  • flApp
  • flAuthTOTP
  • flBufferCode
  • flBufferCss
  • flBufferJs
  • flCache
  • flCacheAPC
  • flCacheDb
  • flCacheDbInstaller
  • flCacheDummy
  • flCacheFile
  • flCacheFunction
  • flCacheMemcache
  • flCacheMemcached
  • flCacheOutput
  • flCacheRedis
  • flCacheSqlite
  • flConfig
  • flConfigDb
  • flConfigDbInstaller
  • flConfigFile
  • flConfigIni
  • flController
  • flControllerAction
  • flDate
  • flDateTzMenu
  • flDb
  • flDbInstaller
  • flDbInstallerInterface
  • flDbMySQL
  • flDbMySQLi
  • flDbMySQLiResult
  • flDbMySQLResult
  • flDbNestedSet
  • flDbResult
  • flDbSQLite
  • flDbSQLite3
  • flDbSQLite3Result
  • flDbSQLiteResult
  • flEmail
  • flEvent
  • flEventDbInstaller
  • flEventManager
  • flExceptionErrorController
  • flExceptionReporter
  • flForm
  • flFormBuilder
  • flFormDecorator
  • flFormDecoratorDl
  • flFormDecoratorDtDd
  • flFormDecoratorFieldset
  • flFormDecoratorForm
  • flFormDecoratorLi
  • flFormDecoratorList
  • flFormDecoratorUl
  • flFormElement
  • flFormElementButton
  • flFormElementCheckbox
  • flFormElementChecklist
  • flFormElementEmail
  • flFormElementFile
  • flFormElementHidden
  • flFormElementImage
  • flFormElementInteger
  • flFormElementNumber
  • flFormElementPane
  • flFormElementPassword
  • flFormElementRadio
  • flFormElementRecaptcha
  • flFormElementSearch
  • flFormElementSelect
  • flFormElementSubmit
  • flFormElementText
  • flFormElementTextArea
  • flFormElementTextSuggest
  • flFormElementUri
  • flFormElementWYSIWYG
  • flFormValidator
  • flFormValidatorAttribMax
  • flFormValidatorAttribMin
  • flFormValidatorCustomJS
  • flFormValidatorEmail
  • flFormValidatorEquals
  • flFormValidatorInteger
  • flFormValidatorMax
  • flFormValidatorMaxChecklist
  • flFormValidatorMaxLength
  • flFormValidatorMin
  • flFormValidatorMinChecklist
  • flFormValidatorMinLength
  • flFormValidatorMultiEmail
  • flFormValidatorNotEquals
  • flFormValidatorNumber
  • flFormValidatorRegex
  • flFormValidatorRequired
  • flFormValidatorSameAs
  • flFormValidatorUri
  • flFtpClient
  • flGravatar
  • flHttpClient
  • flHttpClientCookie
  • flImage
  • flImageFilter
  • flImageFilterBrightness
  • flImageFilterColorize
  • flImageFilterContrast
  • flImageFilterEdgeDetect
  • flImageFilterEmboss
  • flImageFilterGaussianBlur
  • flImageFilterGrayscale
  • flImageFilterMeanRemoval
  • flImageFilterNegative
  • flImageFilterPixelate
  • flImageFilterSelectiveBlur
  • flImageFilterSepia
  • flImageFilterSepia2
  • flImageFilterSmooth
  • flIntegrity
  • flKeygen
  • flLog
  • flLogHandlerChrome
  • flLogHandlerLoggly
  • flLogHandlerPapertrail
  • flLogHandlerSlack
  • flMimeTypes
  • flModuleDbInstaller
  • flModuleMgr
  • flRegistry
  • flRequest
  • flRequestDbInstaller
  • flRequestThrottle
  • flResponse
  • flRouter
  • flRouterRoute
  • flRssChannel
  • flRssClient
  • flRssItem
  • flSearch
  • flSearchIndexer
  • flSearchManager
  • flSearchResults
  • flSearchTags
  • flSession
  • flSessionData
  • flSessionDb
  • flSessionDbInstaller
  • flSessionFile
  • flSessionMemcache
  • flSessionMemcached
  • flSessionRedis
  • flTemplateDbInstaller
  • flTemplateEngine
  • flTemplateManager
  • flTextHTML
  • flTextSplitWords
  • flTextStemmer
  • flTextStemmerEn
  • flTextStrip
  • flTimer
  • flUri
  • flUser
  • flUserAdapter
  • flUserAdapterRemote
  • flUserDbInstaller
  • flUserMgr
  • flUserPwdGen
  • flUserServerApiV1
  • flUtf8
  • flUuid
  • flVariables
  • flVariablesDbInstaller
  • flWidgetBreadcrumb
  • flWidgetFloatingActionMenu
  • flWidgetPagination
  • flWidgetTable
  • flWidgetTabs
  • flWidgetToolbar
  • flWidgetTreeChildNode
  • flWidgetTreeLinkNode
  • flWidgetTreeNode
  • flWidgetTreeView
  • fusionLib

Interfaces

  • flFormElementWYSIWYGCodeInterface
  • flFormElementWYSIWYGInterface
  • flFormElementWYSIWYGTransformInterface
  • flLogHandler
  • flModuleInstallInterface

Exceptions

  • flAcException
  • flAppException
  • flCacheException
  • flConfigException
  • flDateException
  • flDbException
  • flEventException
  • flException
  • flExceptionBadRequest
  • flExceptionForbidden
  • flExceptionLoadClass
  • flExceptionNotFound
  • flExceptionPHP
  • flFormException
  • flHttpClientException
  • flImageException
  • flRegistryException
  • flRequestThrottleException
  • flRouterException
  • flSessionException
  • flTemplateEngineException
  • flUserException
  • flVariablesException
  • flWidgetException

Functions

  • __
  • __noop
  • _flErrorHandler
  • _n
  • _n_noop

Class flWidgetTable

flWidgetTable Class

Class to simplify generation of tables from data.

Package: fusionLib
Copyright: Copyright (c) 2012 - 2013 fusionLib. All rights reserved.
Located at system/libs/Widget/flWidgetTable.php

Methods summary

public flWidgetTable
# setClass( string $css )

Set the CSS class to use.

Set the CSS class to use.

Parameters

$css
The CSS class, default is 'tablewidget'.

Returns

flWidgetTable
This object.
public flWidgetTable
# setHeadings( mixed $headings )

Set the headings for the columns.

Set the headings for the columns.

Parameters

$headings
Individual parameters holding the names of each heading or an array of headings.

Returns

flWidgetTable
This object.
public flWidgetTable
# setColData( mixed $dataName )

Set the headings for the columns.

Set the headings for the columns.

Parameters

$dataName
Individual parameters holding the names of each data item or an array of data item names.

Returns

flWidgetTable
This object.
public flWidgetTable
# skipEncode( mixed $skip )

Set the columns to skip encoding of HTML elements on.

Set the columns to skip encoding of HTML elements on.

Parameters

$skip

Individual parameters holding the names of the data columns to not encode html entities in or an array of the column names. If true then all columns are skipped.

Returns

flWidgetTable
This object.
public flWidgetTable
# setCaption( string $caption )

The optional caption for the table.

The optional caption for the table.

Parameters

$caption
The caption.

Returns

flWidgetTable
This object.
public flWidgetTable
# setEmpty( string $empty )

Set the contents to use for empty cells.

Set the contents to use for empty cells.

Parameters

$empty
The contents for empty cells or null to throw an exception for missing row data.

Returns

flWidgetTable
This object.
public flWidgetTable
# addRow( array $data, string $css = null )

Add a row of data to the table. The current settings for the table are used to extract the row data.

Add a row of data to the table. The current settings for the table are used to extract the row data.

Parameters

$data
Array of data for the row.
$css
Optional CSS class to apply to the row.

Returns

flWidgetTable
This object.

Throws

flWidgetException
public string
# render( )

Render the table.

Render the table.

Returns

string
The string holding the HTML representation of the table data.

Throws

flWidgetException

Properties summary

protected string $css

The CSS class to apply to the table.

The CSS class to apply to the table.

# 'tablewidget'
protected array $headings

The table headings.

The table headings.

# null
protected array $dataNames

The column data names.

The column data names.

# null
protected array $skip

Array of column names to skip encoding on.

Array of column names to skip encoding on.

# array()
protected string $caption

The optional table caption.

The optional table caption.

# null
protected array $rows

Storage for row data as it's generated.

Storage for row data as it's generated.

# array()
protected string $empty

The content for empty cells.

The content for empty cells.

# ' '
clearFusionCMS 3.0.0 API documentation generated by ApiGen