## Class TMysqlColumnMetaData

Description

Column meta data for Mysql database.

- since: 3.1
- version: $Id: TMysqlColumnMetaData.php 1545 2006-12-03 22:26:04Z wei $
- author: Wei Zhuo <weizho[at]gmail[dot]com>

Located in /Data/ActiveRecord/Vendor/TMysqlColumnMetaData.php (line 21)

    TComponent
       |
       --TMysqlColumnMetaData

Method Summary
TMysqlColumnMetaData __construct (string $name, string $type, string $notNull, boolean $autoIncrement, string $default, string $primary)
void getDefaultValue ()
boolean getIsPrimaryKey ()
string getName ()
void getNotNull ()
null getSequenceName ()
void getType ()
boolean hasDefault ()
boolean hasSequence ()
Methods
Constructor __construct (line 41)

Initialize column meta data.

- access: public

TMysqlColumnMetaData __construct (string $name, string $type, string $notNull, boolean $autoIncrement, string $default, string $primary)

- string $name: column name.
- string $type: column data type.
- string $notNull: column data length.
- boolean $autoIncrement: column can not be null.
- string $default: serial name.
- string $primary: default value.

getDefaultValue (line 102)

- access: public

void getDefaultValue ()
getIsPrimaryKey (line 78)

- return: true if the column is a primary key, or part of a composite primary key.
- access: public

boolean getIsPrimaryKey ()
getName (line 54)

- return: quoted column name.
- access: public

string getName ()
getNotNull (line 89)

- access: public

void getNotNull ()
getSequenceName (line 70)

- return: no sequence name.
- access: public

null getSequenceName ()
getType (line 83)

- access: public

void getType ()
hasDefault (line 97)

- return: true if column has default value, false otherwise.
- access: public

boolean hasDefault ()
hasSequence (line 62)

- return: true if column is a sequence, false otherwise.
- access: public

boolean hasSequence ()

#### Inherited Methods

Inherited From TComponent

> TComponent::addParsedObject()
> TComponent::attachEventHandler()
> TComponent::canGetProperty()
> TComponent::canSetProperty()
> TComponent::createdOnTemplate()
> TComponent::detachEventHandler()
> TComponent::evaluateExpression()
> TComponent::evaluateStatements()
> TComponent::getEventHandlers()
> TComponent::getSubProperty()
> TComponent::hasEvent()
> TComponent::hasEventHandler()
> TComponent::hasProperty()
> TComponent::raiseEvent()
> TComponent::setSubProperty()
> TComponent::__get()
> TComponent::__set()

Documentation generated on Sun, 14 Jan 2007 21:43:33 -0500 by phpDocumentor 1.3.0RC4