Class: Doctrine_Schema_Column

Source Location: /Doctrine/Schema/Column.php

Class Doctrine_Schema_Column

Class Overview

Implements interfaces:

  • IteratorAggregate (internal interface)

class Doctrine_Schema_Column

Holds information on a database table field

Located in /Doctrine/Schema/Column.php [line 40]

Doctrine_Object
   |
   --Doctrine_Access
      |
      --Doctrine_Schema_Object
         |
         --Doctrine_Schema_Column
Author(s): Information Tags:
Version:  $Revision: 1080 $
Link:  www.phpdoctrine.com
Since:  1.0
License:  LGPL

Properties

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Property Summary
array   $definition   column definitions

[ Top ]
Method Summary
void   defaultValue()  
void   getName()  
void   getType()  
void   isNotNull()  
void   isPrimaryKey()  
void   isUnique()  

[ Top ]
Properties
array   $definition = array('name' => '',
'type' => '',
'length' => null,
'unique' => false,
'primary' => false,
'notnull' => false,
'default' => false,
'autoinc' => false
)
[line 46]

column definitions

API Tags:
Access:  protected


Redefinition of:
Doctrine_Schema_Object::$definition

[ Top ]
Methods
defaultValue  [line 72]

  void defaultValue( )


API Tags:
Access:  public


[ Top ]
getName  [line 56]

  void getName( )


API Tags:
Access:  public


[ Top ]
getType  [line 60]

  void getType( )


API Tags:
Access:  public


[ Top ]
isNotNull  [line 76]

  void isNotNull( )


API Tags:
Access:  public


[ Top ]
isPrimaryKey  [line 68]

  void isPrimaryKey( )


API Tags:
Access:  public


[ Top ]
isUnique  [line 64]

  void isUnique( )


API Tags:
Access:  public


[ Top ]