Object | --Persistent | --Component | --CustomConnection | --IBDatabase
Located in File: /interbase.inc.php
Use IBDatabase to specify the connection information so IBDataset components can connect to the database.
![]() | DatabaseName | Specifies the name of the database to associate with this database component. |
![]() | Debug | Sets the debug information provided by the component. |
![]() | Dialect | Specifies the dialect to be used when connecting to the server |
![]() | Dictionary | Specifies the tablename on this database that holds dictionary information |
![]() | Host | This properties specifies where to find the server to connect to. |
![]() | UserName | The username you want to use to connect to the database server. |
![]() | UserPassword | The password for the username you want to use to connect to the database server. |
![]() | Connected | Determines whether a connection has been established to the remote source of data. [Publishes CustomConnection::Connected] |
![]() | DictionaryProperties | Array containing all the information in array format about the dictionary |
Defined in class CustomConnection |
||
![]() | Clients | Returns the clients of this database |
![]() | Connected | Determines whether a connection has been established to the remote source of data. |
![]() | DataSets | Provides an indexed array of all active datasets for a database component. |
Defined in class Component |
||
![]() | Name | Specifies the name for the component. The name is used as an identifier and should be unique. |
![]() | Tag | A versatile property of every Component that can be used in any way you want |
![]() | ComponentCount | Indicates the number of components owned by the component. |
![]() | Components | Lists all the components owned by this component. |
![]() | ControlState | A flag to know the state of the control, csLoading, csDesigning |
![]() | DataFieldValue | This property returns the value of the datafield if any. |
![]() | NamePath | Specifies the path to uniquely identify a component, qualified by the owner when required. |
![]() | Owner | Indicates the component that is responsible for streaming and freeing this component. |
Defined in class Persistent |
||
![]() | NamePath | Used to serialize/unserialize. It returns the full path to identify this component. |
![]() | Owner | Owner of the component. |
property Charset (line 178)
property DatabaseName (line 116)
Use DatabaseName to specify the name of the database to use with a database component.
Note: Setting DatabaseName when the Connected property is true requires you to close and reopen the database.
property Debug (line 90)
Use this property, when set to true, to get more information about the connection process to address any issue you get.
property Dialect (line 172)
Reserved for future use.
property Dictionary (line 103)
A dictionary is a set of information about each field of each table, which data-aware components use to show information about the table in a human-readable format, for example, the title for each field, the width for a column, etc
property Host (line 126)
Use this property to set the host that runs the server you want to connect to.
property UserName (line 137)
Set this property with the name of the user you want to use to connect to the database server.
property UserPassword (line 148)
Set this property with the password for the user you want to use to connect to the database server.
property Connected (line 77)
property DictionaryProperties (line 410)
Use this property to provide information about the dictionary but using a PHP array instead a database table.
property Clients
property Connected
property DataSets
property Name
property Tag
property ComponentCount
property Components
property ControlState
property DataFieldValue
property NamePath
property Owner
property NamePath
| __construct | [Overrides CustomConnection::__construct()] |
| createDictionaryTable | Creates the dictionary table on the database |
| databases | Return all the databases using the connection information |
| execute | Executes a query |
| executelimit | Executes a limited query on the database |
| extractIndexes | Return indexes for a table |
| prepareSP | Prepares a stored procedure for execution |
| tables | Return tables on this database |
Defined in class CustomConnection |
||
![]() | BeginTrans | Begins a new transaction against the database server. |
![]() | Close | Closes the connection. |
![]() | DoConnect | Provides the interface for a method that opens a connection. |
![]() | DoDisconnect | Provides the interface for a method that terminates the connection. |
![]() | loaded | Initializes the component after the form file has been read into memory. |
![]() | Open | Opens the connection. |
Defined in class Component |
||
![]() | dumpChildrenJavascript | Dumps the javascript code for all the children |
![]() | dumpFormItems | Dumps code just after the form tag, useful to dump hidden fields for state retrieving for non visible components |
![]() | dumpHeaderCode | Dumps header code required |
![]() | dumpJavascript | Dumps the javascript code needed by this component |
![]() | hasValidDataField | Returns true if a valid data field is attached to the component |
![]() | init | Initializes a component |
![]() | loaded | Initializes the component after the form file has been read into memory. |
![]() | loadedChildren | Calls childrens loaded |
![]() | preinit | Method called before init() |
![]() | serializeChildren | Serializes all children |
![]() | unserializeChildren | Unserializes all children by calling unserialize for all the components |
Defined in class Persistent |
||
![]() | serialize | Stores this object into the session. |
![]() | unserialize | This method uses PHP reflection to iterate through published properties (the ones starting with get) and retrieve the properties stored by a previous serialize() call. |
Defined in class Object |
||
![]() | __construct | Constructs an object and initializes its data before the object is first used. |
![]() | className | Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). |
![]() | classParent | Returns the type of the immediate ancestor of a class. |
Constructor __construct (line 214)
Overrides : CustomConnection::__construct() parent method not documented
Method completeTrans (line 68)
Method createDictionaryTable (line 424)
Use this method to create the dictionary table on the database you are connection. This method issues the create table command and creates the table with the right structure. You have to connect to the database before use this method and Dictionary property must be set to the tablename.
Method databases (line 455)
This method returns an array with all the databases stored on the server. Not working yet.
Method doConnect (line 280)
Method doDisconnect (line 296)
Method execute (line 230)
Use this method to execute an SQL sentence on the database server
Method executelimit (line 253)
Use this method to execute an SQL sentence on the database server using LIMIT clause.
Method extractIndexes (line 358)
This method extract the indexes from the table and returns an array with that information.
Method prepareSP (line 194)
Not finished
Method tables (line 468)
This method returns an array containing all the table names stored in the database.
![]() | OnAfterConnect | Occurs after a connection is established. [Publishes CustomConnection::OnAfterConnect] |
![]() | OnAfterDisconnect | Occurs after the connection closes. [Publishes CustomConnection::OnAfterDisconnect] |
![]() | OnBeforeConnect | Occurs immediately before establishing a connection. [Publishes CustomConnection::OnBeforeConnect] |
![]() | OnBeforeDisconnect | Occurs immediately before the connection closes. [Publishes CustomConnection::OnBeforeDisconnect] |
Defined in class CustomConnection |
||
![]() | OnCustomConnect | |
![]() | OnAfterConnect | Occurs after a connection is established. |
![]() | OnAfterDisconnect | Occurs after the connection closes. |
![]() | OnBeforeConnect | Occurs immediately before establishing a connection. |
![]() | OnBeforeDisconnect | Occurs immediately before the connection closes. |
![]() | OnLogin | Occurs when an application connects to a database. |
property OnAfterConnect (line 151)
property OnAfterDisconnect (line 157)
property OnBeforeConnect (line 154)
property OnBeforeDisconnect (line 160)
property OnAfterConnect
property OnAfterDisconnect
property OnBeforeConnect
property OnBeforeDisconnect
property OnLogin