DatabaseIterator
[ class tree: DatabaseIterator ] [ index: DatabaseIterator ] [ all elements ]

Class: ColumnIterator

Source Location: /database_iterator.class.php

Class Overview


Class ColumnIterator


Author(s):

Version:

  • 0.1

Variables

Methods



Class Details

[line 880]
Class ColumnIterator

This class hold information of table columns




Tags:

version:  0.1
see:  TableIterator


[ Top ]


Class Variables

$auto_increment =  null

[line 890]



Tags:

access:  public

Type:   string


[ Top ]

$max_length =  null

[line 889]



Tags:

access:  public

Type:   string


[ Top ]

$name =  null

[line 886]



Tags:

access:  public

Type:   string


[ Top ]

$not_null =  null

[line 888]



Tags:

access:  public

Type:   string


[ Top ]

$primary_key =  false

[line 891]



Tags:

access:  public

Type:   string


[ Top ]

$type =  null

[line 887]



Tags:

access:  public

Type:   string


[ Top ]



Class Methods


constructor __construct [line 906]

ColumnIterator __construct( TableIterator $table)

Constructor



Tags:

see:  ColumnIterator::setTable()
access:  public


Parameters:

TableIterator   $table  

[ Top ]

method isPK [line 952]

boolean isPK( )

isPK

Check if this column is a primary key




Tags:

return:  True if it's a primary key
access:  public


[ Top ]

method load [line 917]

void load( array|object $properties)

load

Load an array or an object properties




Parameters:

array|object    $properties  

[ Top ]

method setTable [line 941]

void setTable( TableIterator $table)

setTable

Set $table, instance of TableIterator class




Tags:

access:  public


Parameters:

TableIterator   $table  

[ Top ]

method __get [line 965]

mixed __get( string $name)

__get

Magic method




Tags:

return:  Value of property, otherwise null
link:  http://es2.php.net/manual/en/language.oop5.overloading.php#language.oop5.overloading.members
access:  public


Parameters:

string   $name   Name of property

[ Top ]


Documentation generated on Mon, 25 May 2009 19:28:28 +0200 by phpDocumentor 1.4.2