Overview

Namespaces

  • Kotchasan
    • Cache
    • Database
    • Http
    • Log
    • Orm
  • None
  • PDF
  • PHP
  • Psr
    • Cache
    • Http
      • Message
    • Log

Classes

  • Accordion
  • ArrayTool
  • CKEditor
  • Collection
  • Config
  • Controller
  • Country
  • Csv
  • Curl
  • Currency
  • Database
  • DataTable
  • Date
  • DOMNode
  • DOMParser
  • Email
  • File
  • Files
  • Form
  • Grid
  • Html
  • Htmldoc
  • HtmlTable
  • Image
  • InputItem
  • Inputs
  • KBase
  • Language
  • ListItem
  • Login
  • Menu
  • Mime
  • Model
  • Number
  • Object
  • Password
  • Pdf
  • Province
  • Router
  • Singleton
  • Tab
  • TableRow
  • Template
  • Text
  • Validator
  • View
  • Overview
  • Namespace
  • Class
  • Tree

Class HtmlTable

HTML table.

Namespace: Kotchasan
Author: Goragod Wiriya admin@goragod.com
Since: 1.0
Located at Kotchasan/HtmlTable.php
Methods summary
public
# __construct( array $properties = array() )

class constructure.

class constructure.

Parameters

$properties
public
# addCaption( string $text )

กำหนด caption ของตาราง.

กำหนด caption ของตาราง.

Parameters

$text
public
# addFooter( Kotchasan\TableRow $row )

แทรกแถวของ tfoot.

แทรกแถวของ tfoot.

Parameters

$row
public
# addHeader( array $headers )

แทรกแถวของ thead.

แทรกแถวของ thead.

Parameters

$headers
public
# addRow( array $rows, array $attributes = array() )

แทรกแถวของ tbody.

แทรกแถวของ tbody.

Parameters

$rows
$attributes
public static static
# create( array $properties = array() )

สร้างตาราง.

สร้างตาราง.

Parameters

$properties

Returns

static
public string
# render( )

แสดงผลตาราง.

แสดงผลตาราง.

Returns

string
kotchasan API documentation generated by ApiGen