Class: Doctrine_Column

Source Location: /Doctrine/Column.php

Class Doctrine_Column

Class Overview

Implements interfaces:

  • IteratorAggregate (internal interface)
  • Countable (internal interface)

Doctrine_Column This class represents a database column

Located in /Doctrine/Column.php [line 33]

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

Properties

Methods

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

Inherited From Doctrine_Object

Doctrine_Object::$_null

Inherited From Doctrine_Access

Doctrine_Access::offsetExists()
Doctrine_Access::offsetGet()
offsetGet an alias of get()
Doctrine_Access::offsetSet()
sets $offset to $value
Doctrine_Access::offsetUnset()
unset a given offset
Doctrine_Access::setArray()
setArray
Doctrine_Access::__get()
__get -- an alias of get()
Doctrine_Access::__isset()
__isset()
Doctrine_Access::__set()
__set an alias of set()
Doctrine_Access::__unset()
__unset()

Inherited From Doctrine_Object

Doctrine_Object::getNullObject()
getNullObject returns the null object associated with this object
Doctrine_Object::initNullObject()
initNullObject initializes the null object

[ Top ]
Property Summary
array   $_definition  

[ Top ]
Method Summary
Doctrine_Column   __construct()  
boolean   contains()   contains
integer   count()   count
mixed   enumIndex()   enumIndex
mixed   enumValue()   enumValue
mixed   get()   get
array   getDefinition()  
array   getEnumValues()  
ArrayIterator   getIterator()   getIterator
mixed   set()   set

[ Top ]
Properties
array   $_definition = array(
'type' => null,
'length' => 0,
)
[line 38]
API Tags:
Access:  protected


[ Top ]
Methods
Constructor __construct  [line 45]

  Doctrine_Column __construct( [ $definition = array()]  )

Parameters:
array   $definition: 

API Tags:
Access:  public


[ Top ]
contains  [line 61]

  boolean contains( $name  )

contains

Parameters:
   $name: 

API Tags:
Access:  public


[ Top ]
count  [line 134]

  integer count( )

count


API Tags:
Access:  public


Implementation of:
Countable::count

[ Top ]
enumIndex  [line 123]

  mixed enumIndex( string $field, mixed $value  )

enumIndex

Parameters:
string   $field: 
mixed   $value: 

API Tags:
Access:  public


[ Top ]
enumValue  [line 108]

  mixed enumValue( integer $index, string $field  )

enumValue

Parameters:
string   $field: 
integer   $index: 

API Tags:
Access:  public


[ Top ]
get  [line 71]

  mixed get( string $name  )

get

Parameters:
string   $name: 

API Tags:
Access:  public


[ Top ]
getDefinition  [line 52]

  array getDefinition( )


API Tags:
Access:  public


[ Top ]
getEnumValues  [line 93]

  array getEnumValues( string $field  )

Parameters:
string   $field: 

API Tags:
Access:  public


[ Top ]
getIterator  [line 143]

  ArrayIterator getIterator( )

getIterator


API Tags:
Access:  public


Implementation of:
IteratorAggregate::getIterator

[ Top ]
set  [line 85]

  mixed set( string $name, $value  )

set

Parameters:
string   $name: 
   $value: 

API Tags:
Access:  public


[ Top ]