SimpleData It's a standard Table. A simple table with some information about data contained It's used to swap data with databases by DataBase classes
the row must be an array indexed whit same header. For example
Table name: test
TbHeader: name surname phone email TbRow 0 Nik Mallet 090909 nik@nik.ir TbRow 1 Bob Bruk 0877689 bon@bob.com TbRow ... TbRow n Tim Ork 078 778 tim@tim.xx
Header info must be specified only one time and every row must be a Sylar_SimpleTableRow with an array
Located in /sylar/classes/common/data/SimpleTable.php (line 57)
Sylar_DataContainer | --Sylar_SimpleTable
Constructor it sets the main params of object. comprise ID and Title
Append row in table Row must be a Sylar_SimpleTableRow object, this method append it in the last position of table.
Fill table data fill data in the object starting from array $arrayData it empty and reset the object data.
Get Header Return an object that contain information about header of table
Get row from table Return the Object row containet at row $rowID. Return false on error
Numer of table rows Return the number of rows contained in the table. Return false on error.
Table has row? It controls if table has row, return true if rows is > 0 false otherwise
Set the header of table Set the information about table header into Table object.
Usually the columnCode correspond to the column name in DB
Set controls on every Row if set true the object controls the row befor insert else it try to insert directly.
Inherited From Sylar_DataContainer
Sylar_DataContainer::__construct()
Sylar_DataContainer::__destruct()
Documentation generated on Thu, 24 Apr 2008 16:14:21 +0200 by phpDocumentor 1.3.0RC3