| Class | Description | 
|---|---|
| FileDb | simulate a database | 
| Name | Type | Description | 
|---|---|---|
| $file | string|DbStructure | |
| $server | dbServer | 
| Name | Type | Description | 
|---|---|---|
| $anotherObject | object | 
Redefinition of: Object::equals()
| Name | Type | Description | 
|---|---|---|
| $key | string|DbQuery | adress to check | 
| Name | Type | Description | 
|---|---|---|
| $filename | string | relative path to output-file | 
| Name | Type | Description | 
|---|---|---|
| $key | array|string|DbQuery | the address of the value(s) to retrieve | 
| $where | array|string | a search string | 
| $orderBy | array | a list of columns to order the resultset by | 
| $offset | int | the number of the first result to be returned | 
| $limit | int | maximum number of results to return | 
| $desc | bool | if true results will be ordered in descending, otherwise in ascending order | 
column1=value1,column2=value2,...,columnN=valueNNote that comparison takes place using the SQL operator 'LIKE', except for columns that are keys (either a primary key or a foreign key), which are compared using the SQL operator '='.
array(array(0=>column1,1=>value1,2=>operator1),...)The "column" name is mandatory and needs to be a string. The "value" is mandatory and needs to be a scalar value. The "operator" is optional and defaults to 'LIKE'. It needs to be a string and can be one of the following:
'=', 'LIKE', '<', '>', '!=', '<=', '>=', '==' (alias of '=')
| Name | Type | Description | 
|---|---|---|
| $table | string | name of table | 
 Array
 (
     [length] => 6
     [primarykey] => foo_id
     [foreignkeys] => Array
         (
             [0] => Array
                 (
                     [column] => bar_id
                     [foreigntable] => bar
                     [foreigncolumn] => bar_id
                 )
         )
     [0] => Array
         (
             [table] => foo
             [name] => foo_id
             [type] => int
             [nullable] =>
             [primarykey] => 1
             [unique] =>
             [index] =>
             [auto] => 1
             [default] =>
             [unsigned] =>
             [zerofill] =>
             [comment] => id
             [length] => 8
             [foreignkey] =>
             [references] =>
             [update] => 1
             [insert] => 1
             [select] => 1
         )
     [...]
     [5] => Array
         (
             [table] => foo
             [name] => bar_id
             [type] => int
             [nullable] =>
             [primarykey] =>
             [unique] =>
             [index] => 1
             [auto] =>
             [default] =>
             [unsigned] =>
             [zerofill] =>
             [comment] => some label
             [length] => 10
             [foreignkey] => 1
             [references] => Array
                 (
                     [0] => bar
                     [1] => bar_id
                 )
             [update] => 1
             [insert] => 1
             [select] => 1
         )
 )| Name | Type | Description | 
|---|---|---|
| $sqlFile | string|array | 
| Name | Type | Description | 
|---|---|---|
| $key | string|DbQuery | |
| $value | mixed | 
| Name | Type | Description | 
|---|---|---|
| $key | string|DbQuery | |
| $value | mixed | 
| Name | Type | Description | 
|---|---|---|
| $table | string | name of a table | 
| Name | Type | Description | 
|---|---|---|
| $table1 | string | name of the table to join another one with | 
| $table2 | string | name of another table to join table1 with (when omitted will remove all previously set joins from table1) | 
| $key1 | string | name of the foreign key in table1 that references table2 (when omitted the API will look up the key in the structure file) | 
| $key2 | string | name of the key in table2 that is referenced from table1 (may be omitted if it is the primary key) | 
| Name | Type | Description | 
|---|---|---|
| $table | string|DbQuery | name of a table | 
| $search | string|array | optional where clause | 
| Name | Type | Description | 
|---|---|---|
| $sqlStmt | string|DbQuery | one SQL statement (or a query object) to execute | 
| $offset | int | the row to start from | 
| $limit | int | the maximum numbers of rows in the resultset | 
| Name | Type | Description | 
|---|---|---|
| $key | string|DbQuery | the address of the row that should be removed | 
| $where | string|array | a search string | 
column1=value1,column2=value2,...,columnN=valueNNote that comparison takes place using the SQL operator 'LIKE', except for columns that are keys (either a primary key or a foreign key), which are compared using the SQL operator '='.
array(array(0=>column1,1=>value1,2=>operator1),...)The "column" name is mandatory and needs to be a string. The "value" is mandatory and needs to be a scalar value. The "operator" is optional and defaults to 'LIKE'. It needs to be a string and can be one of the following:
'=', 'LIKE', '<', '>', '!=', '<=', '>=', '==' (alias of '=')
| Name | Type | Description | 
|---|---|---|
| $table | string | name of a table | 
Redefinition of: Object::toString()
| Name | Type | Description | 
|---|---|---|
| $key | string|DbQuery | |
| $value | mixed | 
Inherited From Object
Documentation generated on Sat, 03 Jan 2009 22:22:19 +0100 by phpDocumentor 1.4.0