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

Class: CustomIBTable

Source Location: /interbase.inc.php

Class Overview

Object
   |
   --Persistent
      |
      --Component
         |
         --DataSet
            |
            --IBDataSet
               |
               --CustomIBTable

CustomIBTable class


Class Details

[line 588]
CustomIBTable class

A class to encapsulate a database table




[ Top ]

Properties

Events

    [none]

JS Events

    [none]

Methods

Constants

    [none]

Child classes:

IBTable
IBTable class
CustomIBQuery
CustomIBTable class

Inherited Properties

Class: IBDataSet

IBDataSet::Database
IBDataSet::EOF
IBDataSet::FieldCount
IBDataSet::Fields
IBDataSet::RecordCount

Class: DataSet

DataSet::Active
Specifies if the dataset is active or not
DataSet::BOF
If true, the pointer is at the beginning of the buffer
DataSet::CanModify
Specifies if the dataset can be modified or not
DataSet::DataSetField
DataSet::EOF
If true, the pointer is at the last record of the buffer
DataSet::FieldCount
Specifies how many fields has the dataset
DataSet::Fields
This property returns an array with the field names and values
DataSet::Filter
Specifies the filter to apply to this dataset
DataSet::LimitCount
Defines how many records will be shown
DataSet::LimitStart
Defines the starting record to filter the dataset with
DataSet::MasterFields
Specifies the associations with fields on this dataset and fields on the dataset attached to the MasterSource property
DataSet::MasterSource
Specifies the dataset is going to act as master for this datasource
DataSet::Modified
Specifies if the dataset has been modified or not
DataSet::RecKey
Specifies the record key for thid dataset
DataSet::RecNo
Specifies the current record number
DataSet::RecordCount
Specifies how many records holds this dataset
DataSet::State
Specifies the state of the dataset, i.e. dsNone, dsEdit, etc

Class: Component

Component::ComponentCount
Indicates how many components this component is owner
Component::Components
Component list containing all the components owned by this component
Component::ControlState
A flag to know the state of the control, csLoading, csDesigning
Component::DataFieldValue
This function returns the value of the datafield, if any
Component::Name
Name for the component, to be used as an identifier, should be unique
Component::NamePath
The path to uniquely identify a component, qualified by the owner when required
Component::Owner
The owner of this component, usually the page component, but the owner of pages is the application object
Component::Tag
A versatily property of every Component that can be used in any way you want

Class: Persistent

Persistent::NamePath
Used to serialize/unserialize
Persistent::Owner
Owner of the component, in Persistent always return null

Inherited Events

Class: DataSet

DataSet::OnAfterCancel
Fired after changes are cancelled
DataSet::OnAfterClose
Fired after the dataset is closed
DataSet::OnAfterDelete
Fired after a record is deleted
DataSet::OnAfterEdit
Fired after the dataset enters in edito mode
DataSet::OnAfterInsert
Fired after a record is inserted
DataSet::OnAfterOpen
Fired after the dataset is open
DataSet::OnAfterPost
Fired after a record is posted
DataSet::OnBeforeCancel
Fired before changes are cancelled
DataSet::OnBeforeClose
Fired before the dataset is closed
DataSet::OnBeforeDelete
Fired before a record is deleted
DataSet::OnBeforeEdit
Fired before the dataset enters in edit mode
DataSet::OnBeforeInsert
Fired before a record is inserted
DataSet::OnBeforeOpen
Fired before the dataset is open
DataSet::OnBeforePost
Fired before a record is posted
DataSet::OnCalcFields
DataSet::OnDeleteError
DataSet::OnFilterRecord
DataSet::OnNewRecord
DataSet::OnPostError

Inherited JS Events

Inherited Methods

Class: IBDataSet

IBDataSet::CheckDatabase
IBDataSet::InternalFirst
IBDataSet::InternalOpen
IBDataSet::loaded
IBDataSet::MoveBy
IBDataSet::__get
Overriden to allow get field values as properties
IBDataSet::__set
Overriden to allow get field values as properties

Class: DataSet

DataSet::__construct
DataSet::Append
Appends a record to the dataset
DataSet::BeginInsertAppend
Begins an insert/append operation
DataSet::Cancel
Cancel changes performed on the current record
DataSet::CheckActive
Checks if the dataset is active, if not, raises an exception
DataSet::CheckBrowseMode
Checks if the dataset is in browse mode or not
DataSet::CheckCanModify
Checks if the dataset can be modified, if not, raises an exception
DataSet::CheckOperation
Checks if an specific operation can be made, if not, calls $ErrorEvent
DataSet::CheckParentState
Sets the parent dataset in edit state
DataSet::ClearBuffers
Clear buffers associated with the dataset
DataSet::Close
Closes the dataset
DataSet::CloseCursor
Close the cursor for this dataset
DataSet::ControlsDisabled
Returns if attached controls are disabled
DataSet::DataEvent
Used to notify attached datasets about an specific event
DataSet::Delete
Deletes a record on the dataset, depending on the values set in the buffer
DataSet::DisableControls
Disables controls attached to the datasource
DataSet::DoInternalOpen
Performs an internal open of the dataset
DataSet::Edit
Sets the dataset in edit mode, modifications will go to a buffer waiting for post()/cancel()
DataSet::EnableControls
Enable controls attached to the datasource
DataSet::EndInsertAppend
Finishes an insert/append operation
DataSet::First
Moves the internal pointer of the dataset to the first record
DataSet::InitRecord
To initialize the current record
DataSet::Insert
Inserts a record on the dataset
DataSet::InternalAddRecord
DataSet::InternalCancel
To be overriden to perform a cancel() operation
DataSet::InternalClose
Override this method to perform the closing of the dataset
DataSet::InternalDelete
To be overriden to perform a delete() operation
DataSet::InternalEdit
To be overriden to perform a edit() operation
DataSet::InternalFirst
To be overriden to perform a first() operation
DataSet::InternalHandleException
Override this method to handle exceptions
DataSet::InternalInitFieldDefs
Override this method to init field definitions
DataSet::InternalInitRecord
DataSet::InternalInsert
To be overriden to perform a insert() operation
DataSet::InternalLast
To be overriden to perform a last() operation
DataSet::InternalOpen
Override this method to perform the opening of the dataset
DataSet::InternalPost
To be overriden to perform a post() operation
DataSet::InternalRefresh
To be overriden to perform a refresh() operation
DataSet::IsCursorOpen
Override this method to return if the cursor is open or not
DataSet::Last
Moves the internal pointer to the last record on the dataset
DataSet::loaded
DataSet::MoveBy
Move the internal pointer by an specific distance
DataSet::Next
Moves the internal pointer to the next record
DataSet::Open
Open the dataset
DataSet::OpenCursor
Opens the cursor for the dataset
DataSet::OpenCursorComplete
Opens the cursor for this dataset
DataSet::Post
Updates or Inserts a record, depending on the current state of the dataset
DataSet::Prior
Moves the pointer one record before
DataSet::Refresh
Refresh the dataset by opening and closing
DataSet::serialize
DataSet::unserialize
DataSet::UpdateRecord
Updates the current record

Class: Component

Component::__construct
Constructor
Component::ajaxCall
Returns the js event attribute to call the server using ajax
Component::callEvent
Calls a server event
Component::dumpChildrenHeaderCode
Dump the header code for all the children
Component::dumpChildrenJavascript
Dump the javascript code for all the children
Component::dumpHeaderCode
To dump header code required
Component::dumpHiddenKeyFields
This function dumps out the key fields for the current row, useful to
Component::dumpJavascript
To dump the javascript code needed by this component
Component::fixupProperty
This method returns the right object (or the input string if object not found) for an object name Should be used on the loaded method for object properties to find the right reference
Component::generateAjaxEvent
Returns the js event attribute to call the server using Ajax we use xajax to handle all the ajax stuff.
Component::hasValidDataField
This function returns true if the datafield is valid
Component::init
To initialize a component, the right place to process events
Component::insertComponent
Insert a component into the components collection
Component::loaded
A virtual method to get notified when the object has been fully loaded from a stream
Component::loadedChildren
Calls childrens loaded recursively
Component::loadResource
Load this component from a string
Component::preinit
To initialize a component, called before init()
Component::readAccessibility
Overwrite this method to provide accessibility info for the RPC engine
Component::readFromResource
Read a component from a resource file
Component::removeComponent
Remove a component from the components collection
Component::serializeChildren
Serialize all children
Component::unserializeChildren
Unserialize all children
Component::updateDataField
Checks if there is any datafield attached to the component

Class: Persistent

Persistent::assign
Assing the source properties to this object
Persistent::assignError
Raises an assignation error
Persistent::assignTo
Assign this object to another object
Persistent::serialize
Stores this object into the session, it uses PHP reflection system to get published properties, the ones that will be stored.
Persistent::unserialize
Read this object properties from the session, only published properties will be recovered, components need an owner to be unserialized.

Class: Object

Object::__construct
Constructor
Object::className
Returns the name of the object class
Object::classNameIs
Check if the object is from a specific class
Object::classParent
Returns the parent class of the object
Object::inheritsFrom
Check if the object inherits from a specific class
Object::methodExists
Check if a method exists
Object::readProperty
Reads a property from the streams
Object::__get
To virtualize properties
Object::__set
To virtualize properties

Properties


property AssociativeFieldValues : array [line 773]

Return an array containg the row values

[ Top ]

property KeyFields : array [line 790]

Return an array with Key fields for the table

[ Top ]

property Order : string [line 852]

Specifies the order (ascending/descending) to order the dataset

[ Top ]

property OrderField : string [line 841]

Specifies the field by which the dataset will be ordered

[ Top ]

property TableName [line 593]

[ Top ]


Events



Javascript Events



Methods


void buildQuery [line 709]

void buildQuery( )



Overridden in child classes as:

CustomIBQuery::buildQuery()
IBStoredProc::buildQuery()

[ Top ]

void dumpHiddenKeyFields [line 815]

void dumpHiddenKeyFields( $basename, [ $values = array()])



Overrides Component::dumpHiddenKeyFields (This function dumps out the key fields for the current row, useful to)

Parameters:

   $basename  
   $values  

[ Top ]

void InternalDelete [line 597]

void InternalDelete( )



Overrides DataSet::InternalDelete (To be overriden to perform a delete() operation)

[ Top ]

void InternalPost [line 632]

void InternalPost( )



Overrides DataSet::InternalPost (To be overriden to perform a post() operation)

[ Top ]

mixed readFieldProperties [line 623]

mixed readFieldProperties( string $fieldname)

Get field properties



Parameters:

string   $fieldname  

[ Top ]



Documentation generated on Tue, 27 Mar 2007 13:35:13 +0200 by phpDocumentor 1.3.1