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

Class: KDatabaseSchemaColumn

Source Location: /libraries/koowa/database/schema/column.php

Class Overview

KObject
   |
   --KDatabaseSchemaColumn

Database Schema Column Class


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods

Class: KObject

KObject::__construct()
Constructor
KObject::get()
Get the object properties
KObject::getHandle()
Get a handle for this object
KObject::getIdentifier()
Gets the service identifier.
KObject::getMethods()
Get a list of all the available methods
KObject::getService()
Get an instance of a class based on a class identifier only creating it if it does not exist yet.
KObject::inherits()
Checks if the object or one of it's mixin's inherits from a class.
KObject::mixin()
Mixin an object
KObject::set()
Set the object properties
KObject::_initialize()
Initializes the options for the object
KObject::__call()
Search the mixin method map and call the method or trigger an error
KObject::__clone()
Preform a deep clone of the object.

Class Details

[line 18]
Database Schema Column Class



Tags:

author:  Johan Janssens <johan@nooku.org>


[ Top ]


Class Variables

$autoinc =  false

[line 74]

Is the column autoincremented



Tags:

access:  public

Type:   bool


[ Top ]

$default =

[line 53]

Column default value



Tags:

access:  public

Type:   string


[ Top ]

$length =

[line 39]

Column length



Tags:

access:  public

Type:   integer


[ Top ]

$name =

[line 25]

Column name



Tags:

access:  public

Type:   string


[ Top ]

$primary =  false

[line 67]

Is the column a primary key



Tags:

access:  public

Type:   bool


[ Top ]

$related = array()

[line 88]

Related index columns



Tags:

access:  public

Type:   bool


[ Top ]

$required =  false

[line 60]

Required column



Tags:

access:  public

Type:   bool


[ Top ]

$scope =

[line 46]

Column scope



Tags:

access:  public

Type:   string


[ Top ]

$type =

[line 32]

Column type



Tags:

access:  public

Type:   string


[ Top ]

$unique =  false

[line 81]

Is the column unqiue



Tags:

access:  public

Type:   bool


[ Top ]

$_filter =

[line 97]

Filter object

Public access is allowed via __get() with $filter.




Tags:

access:  protected

Type:   KFilter


[ Top ]



Class Methods


method __get [line 122]

mixed __get( string $key)

Implements access to $_filter by reference so that it appears to be a public $filter property.



Tags:

return:  The value of the virtual property.
access:  public


Parameters:

string   $key   The virtual property to return, only accepts 'filter'

[ Top ]

method __set [line 108]

void __set( string $key, string $value)

Implements the virtual $filter property.

The value can be a KFilter object, a filter name, an array of filter names or a filter identifier




Tags:

access:  public


Parameters:

string   $key   The virtual property to set, only accepts 'filter'
string   $value   Set the virtual property to this value.

[ Top ]


Documentation generated on Wed, 19 Jun 2013 03:00:59 +0200 by phpDocumentor 1.4.3