CorePlugins
[ class tree: CorePlugins ] [ index: CorePlugins ] [ all elements ]

Class: Table

Source Location: /coreplugins/tables/common/Tables.php

Class Overview

CwSerializable
   |
   --Table

A table


Variables

Methods


Inherited Variables

Inherited Methods

Class: CwSerializable

CwSerializable::__construct()
Constructor
CwSerializable::copyAllVars()
Copy all properties from one object to another (overwriting previous ones)
CwSerializable::getValue()
Returns structure's property value if property exists
CwSerializable::guessClassName()
Tries to guess the class to use from the property being unserialised.
CwSerializable::unserialize()
Unserializes from a stdClass structure
CwSerializable::unserializeArray()
Returns an array of typed values
CwSerializable::unserializeObject()
Returns an unserialized object from a stdClass structure
CwSerializable::unserializeObjectMap()
Returns an array of unserialized objects from a stdClass structure
CwSerializable::unserializeStringArray()
Returns an array of typed values from a string
CwSerializable::unserializeValue()
Returns a typed value from a structure property

Class Details

[line 96]
A table



[ Top ]


Class Variables

$columnIds = array()

[line 126]



Tags:

var:  array of Ids
access:  public

Type:   array


[ Top ]

$columnTitles = array()

[line 131]



Tags:

var:  array of titles
access:  public

Type:   array


[ Top ]

$noRowId =

[line 136]



Tags:

access:  public

Type:   boolean


[ Top ]

$numRows =  0

[line 111]



Tags:

access:  public

Type:   int


[ Top ]

$offset =  0

[line 121]



Tags:

access:  public

Type:   int


[ Top ]

$rows = array()

[line 141]



Tags:

var:  array of TableRow
access:  public

Type:   array


[ Top ]

$tableId =

[line 101]



Tags:

access:  public

Type:   string


[ Top ]

$tableTitle =

[line 106]



Tags:

access:  public

Type:   string


[ Top ]

$totalRows =  0

[line 116]



Tags:

access:  public

Type:   int


[ Top ]



Class Methods


method getIds [line 178]

array getIds( )

Returns an array of all row identifiers. Or an empty array of the table has no row identifiers.



Tags:

access:  public


[ Top ]

method unserialize [line 146]

void unserialize( mixed $struct)



Tags:

access:  public
see:  CwSerializable::unserialize()


Overrides CwSerializable::unserialize() (Unserializes from a stdClass structure)

[ Top ]


Documentation generated on Mon, 13 Feb 2006 11:44:17 +0100 by phpDocumentor 1.3.0RC3