Class: Doctrine_DataDict_Informix

Source Location: /Doctrine/DataDict/Informix.php

Class Doctrine_DataDict_Informix

Class Overview

Located in /Doctrine/DataDict/Informix.php [line 32]

Doctrine_Connection_Module
   |
   --Doctrine_DataDict
      |
      --Doctrine_DataDict_Informix
Author(s): Information Tags:
Version:  $Revision: 1273 $
Link:  www.phpdoctrine.com
Since:  1.0
License:  LGPL

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Doctrine_Connection_Module

Doctrine_Connection_Module::$conn
Doctrine_Connection_Module::$moduleName

Inherited From Doctrine_DataDict

Doctrine_DataDict::compareDefinition()
Obtain an array of changes that may need to applied
Doctrine_DataDict::parseBoolean()
parseBoolean parses a literal boolean value and returns proper sql equivalent

Inherited From Doctrine_Connection_Module

Doctrine_Connection_Module::__construct()
Doctrine_Connection_Module::getConnection()
getConnection returns the connection object this module uses
Doctrine_Connection_Module::getModuleName()
getModuleName returns the name of this module

[ Top ]
Method Summary
string   getNativeDeclaration()   Obtain DBMS specific SQL code portion needed to declare an text type field to be used in statements like CREATE TABLE.

[ Top ]
Properties
Methods
getNativeDeclaration  [line 57]

  string getNativeDeclaration( array $field  )

Obtain DBMS specific SQL code portion needed to declare an text type field to be used in statements like CREATE TABLE.

Parameters:
array   $field: 

associative array with the name of the properties of the field being declared as array indexes. Currently, the types of supported field properties are as follows:

length Integer value that determines the maximum length of the text field. If this argument is missing the field should be declared to have the longest length allowed by the DBMS.

default Text value to be used as default for this field.

notnull Boolean flag that indicates whether this field is constrained to not be set to null.


API Tags:
Return:  DBMS specific SQL code portion that should be used to declare the specified field.
Access:  public


[ Top ]