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 141]



Tags:

var:  array of Ids
access:  public

Type:   array


[ Top ]

$columnTitles = array()

[line 146]



Tags:

var:  array of titles
access:  public

Type:   array


[ Top ]

$noRowId =

[line 151]



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 ]

$page =  0

[line 126]



Tags:

access:  public

Type:   int


[ Top ]

$rows = array()

[line 156]



Tags:

var:  array of TableRow
access:  public

Type:   array


[ Top ]

$rowsPage =  0

[line 136]



Tags:

access:  public

Type:   int


[ Top ]

$tableId =

[line 101]



Tags:

access:  public

Type:   string


[ Top ]

$tableTitle =

[line 106]



Tags:

access:  public

Type:   string


[ Top ]

$totalPages =  0

[line 131]



Tags:

access:  public

Type:   int


[ Top ]

$totalRows =  0

[line 116]



Tags:

access:  public

Type:   int


[ Top ]



Class Methods


method getIds [line 202]

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 161]

void unserialize( mixed $struct)



Tags:

access:  public
see:  CwSerializable::unserialize()


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

[ Top ]


Documentation generated on Fri, 21 Sep 2007 13:31:10 +0200 by phpDocumentor 1.3.0RC3