sql 
[ doc home ] [ class tree: sql ] [ index: sql ] [ all elements ]

Class: IsterSqlColumn

Source Location: /IsterSqlColumn.php

Class Overview

IsterObject
   |
   --IsterAttributeSet
      |
      --IsterNamedAttributeSet
         |
         --IsterSqlColumn

This class represents a single field of a database table row.


Author(s): Ingo Schramm   

Copyright: Copyright (c) 2005 Ister.ORG Ingo Schramm

Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: IsterNamedAttributeSet

IsterNamedAttributeSet::IsterNamedAttributeSet()
Constructor
IsterNamedAttributeSet::getName()
Get the name of the attribute set.

Class: IsterAttributeSet

IsterAttributeSet::IsterAttributeSet()
Constructor
IsterAttributeSet::addAttribute()
depricated
IsterAttributeSet::addAttributeReference()
depricated
IsterAttributeSet::addAttributesArray()
depricated
IsterAttributeSet::delete()
Delete all attributes.
IsterAttributeSet::deleteAttribute()
Delete an aAttribute.
IsterAttributeSet::getAttribute()
Get the value of an attribute.
IsterAttributeSet::getAttributeNames()
Return an array containing the names of all attributes.
IsterAttributeSet::getAttributeReference()
Get the reference value of an attribute.
IsterAttributeSet::getAttributesArray()
Get all attributes.
IsterAttributeSet::hasAttribute()
Check whether an attribute has been set.
IsterAttributeSet::setAttribute()
Set a new attribute or overwrite an already existing attribute.
IsterAttributeSet::setAttributeReference()
Set an attribute and store only a reference of the attribute.
IsterAttributeSet::setAttributesArray()
Set an array of key value pairs, each pair an attribute.

Class: IsterObject

IsterObject::IsterObject()
Constructor
IsterObject::abstractMethodError()
Report attempt to call an abstract method.
IsterObject::addLogger()
Add an IsterLogger to process log messages.
IsterObject::deleteLogger()
Delete an already registered IsterLogger.
IsterObject::getLoggerNames()
Fetch the names of all currently registered IsterLoggers.
IsterObject::getMem()
Return maximum amount of memory an application has allocated at this point.
IsterObject::log()
Trigger a log message.
IsterObject::passPHPmessage()
Catch PHP E_WARNING and E_NOTICE messages.
IsterObject::serialize()
Serialize the object.
IsterObject::setLogLocal()
Set logging local for the current object.
IsterObject::setupLogger()
Setup a logger.
IsterObject::triggerError()
Alias for log();
IsterObject::unserialize()
Unserialize the object.
IsterObject::__sleep()
Executed prior to serialize().
IsterObject::__wakeup()
Executed prior to unserialize().

Class Details

This class represents a single field of a database table row.

copyright:  Copyright (c) 2005 Ister.ORG Ingo Schramm
author:  Ingo Schramm


[ Top ]


Class Methods


constructor IsterSqlColumn

IsterSqlColumn IsterSqlColumn( mixed $name)

Constructor

[ Top ]

method getMaxlen

integer getMaxlen( )

Dependant on the driver this method returns the maximum length of the field of a given result set or the printed length of the current field.

[ Top ]

method getPrintLen

integer getPrintLen( )

[ Top ]

method getTable

string getTable( )

This attribute may not be available for all drivers.

[ Top ]

method getType

string getType( )

[ Top ]

method getValue

mixed getValue( )

[ Top ]

method isLo

boolean isLo( )

[ Top ]

method setIsLo

boolean setIsLo( boolean $islo)

Parameters:

boolean   $islo  

[ Top ]

method setMaxlen

boolean setMaxlen( integer $maxlen)

Parameters:

integer   $maxlen  

[ Top ]

method setTable

boolean setTable( string $table)

Parameters:

string   $table  

[ Top ]

method setType

boolean setType( string $type)

Parameters:

string   $type  

[ Top ]

method setValue

boolean setValue( mixed $value)

Parameters:

mixed   $value  

[ Top ]


Documentation generated on Tue, 20 Dec 2005 11:21:09 +0100 by phpDocumentor 1.3.0RC4