ADORecordSet_ado Class Reference

Inheritance diagram for ADORecordSet_ado:

Inheritance graph
[legend]
Collaboration diagram for ADORecordSet_ado:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ADORecordSet_ado ($id, $mode=false)
FetchField ($fieldOffset=-1)
 Fields ($colname)
 _initrs ()
 _seek ($row)
 MetaType ($t, $len=-1, $fieldobj=false)
 _fetch ()
 NextRecordSet ()
 _close ()
 ADORecordSet_ado ($id, $mode=false)
FetchField ($fieldOffset=-1)
 Fields ($colname)
 _initrs ()
 _seek ($row)
 MetaType ($t, $len=-1, $fieldobj=false)
 _fetch ()
 NextRecordSet ()
 _close ()

Public Attributes

 $bind = false
 datetime in Unix format rs created -- for cached recordsets
 $databaseType = "ado"
 $dataProvider = "ado"
 $_tarr = false
 $_flds
 $canSeek = true
 in other words, we use a text area for editing.
 $hideErrors = true


Detailed Description

Definition at line 318 of file adodb-ado.inc.php.


Member Function Documentation

ADORecordSet_ado.ADORecordSet_ado ( id,
mode = false 
)

Definition at line 328 of file adodb-ado.inc.php.

References $ADODB_FETCH_MODE, and ADORecordSet.ADORecordSet().

Referenced by ADORecordSet_ado_access.ADORecordSet_ado_access(), and ADORecordSet_ado_mssql.ADORecordSet_ado_mssql().

Here is the call graph for this function:

& ADORecordSet_ado.FetchField ( fieldoffset = -1  ) 

Get the ADOFieldObject of a specific column.

Parameters:
fieldoffset is the column position to access(0-based).
Returns:
the ADOFieldObject for that column, or false.

Reimplemented from ADORecordSet.

Definition at line 340 of file adodb-ado.inc.php.

References $rs, $t, and MetaType().

Referenced by Fields().

Here is the call graph for this function:

ADORecordSet_ado.Fields ( colname  ) 

Get the value of a field in the current row by column name. Will not work if ADODB_FETCH_MODE is set to ADODB_FETCH_NUM.

Parameters:
colname is the field to access
Returns:
the value of $colname column

Reimplemented from ADORecordSet.

Definition at line 357 of file adodb-ado.inc.php.

References FetchField().

Here is the call graph for this function:

ADORecordSet_ado._initrs (  ) 

Definition at line 372 of file adodb-ado.inc.php.

References $rs.

ADORecordSet_ado._seek ( row  ) 

Definition at line 383 of file adodb-ado.inc.php.

References $row, and $rs.

ADORecordSet_ado.MetaType ( t,
len = -1,
fieldobj = false 
)

Get the metatype of the column. This is used for formatting. This is because many databases use different names for the same type, so we transform the original type to our standardised version which uses 1 character codes:

Parameters:
t is the type passed in. Normally is ADOFieldObject->type.
len is the maximum length of that field. This is because we treat character fields bigger than a certain size as a 'B' (blob).
fieldobj is the field object returned by the database driver. Can hold additional info (eg. primary_key for mysql).
Returns:
the general type of the data: C for character < 250 chars X for teXt (>= 250 chars) B for Binary N for numeric or floating point D for date T for timestamp L for logical/Boolean I for integer R for autoincrement counter/integer

Reimplemented from ADORecordSet.

Definition at line 476 of file adodb-ado.inc.php.

References $t.

Referenced by FetchField().

ADORecordSet_ado._fetch (  ) 

Definition at line 528 of file adodb-ado.inc.php.

References $flds, $rs, $t, $val, adodb_date(), ADORecordSet.GetRowAssoc(), and ADOConnection.outp().

Here is the call graph for this function:

ADORecordSet_ado.NextRecordSet (  ) 

Reimplemented from ADORecordSet.

Definition at line 607 of file adodb-ado.inc.php.

References $rs, and ADORecordSet.Init().

Here is the call graph for this function:

ADORecordSet_ado._close (  ) 

Reimplemented from ADORecordSet.

Definition at line 626 of file adodb-ado.inc.php.

ADORecordSet_ado.ADORecordSet_ado ( id,
mode = false 
)

Definition at line 361 of file adodb-ado5.inc.php.

References $ADODB_FETCH_MODE, and ADORecordSet.ADORecordSet().

Here is the call graph for this function:

& ADORecordSet_ado.FetchField ( fieldoffset = -1  ) 

Get the ADOFieldObject of a specific column.

Parameters:
fieldoffset is the column position to access(0-based).
Returns:
the ADOFieldObject for that column, or false.

Reimplemented from ADORecordSet.

Definition at line 373 of file adodb-ado5.inc.php.

References $rs, $t, and MetaType().

Here is the call graph for this function:

ADORecordSet_ado.Fields ( colname  ) 

Get the value of a field in the current row by column name. Will not work if ADODB_FETCH_MODE is set to ADODB_FETCH_NUM.

Parameters:
colname is the field to access
Returns:
the value of $colname column

Reimplemented from ADORecordSet.

Definition at line 391 of file adodb-ado5.inc.php.

References FetchField().

Here is the call graph for this function:

ADORecordSet_ado._initrs (  ) 

Definition at line 406 of file adodb-ado5.inc.php.

References $rs.

ADORecordSet_ado._seek ( row  ) 

Definition at line 417 of file adodb-ado5.inc.php.

References $row, and $rs.

ADORecordSet_ado.MetaType ( t,
len = -1,
fieldobj = false 
)

Get the metatype of the column. This is used for formatting. This is because many databases use different names for the same type, so we transform the original type to our standardised version which uses 1 character codes:

Parameters:
t is the type passed in. Normally is ADOFieldObject->type.
len is the maximum length of that field. This is because we treat character fields bigger than a certain size as a 'B' (blob).
fieldobj is the field object returned by the database driver. Can hold additional info (eg. primary_key for mysql).
Returns:
the general type of the data: C for character < 250 chars X for teXt (>= 250 chars) B for Binary N for numeric or floating point D for date T for timestamp L for logical/Boolean I for integer R for autoincrement counter/integer

Reimplemented from ADORecordSet.

Definition at line 510 of file adodb-ado5.inc.php.

References $t.

ADORecordSet_ado._fetch (  ) 

Definition at line 562 of file adodb-ado5.inc.php.

References $flds, $rs, $t, $val, adodb_date(), ADORecordSet.GetRowAssoc(), and ADOConnection.outp().

Here is the call graph for this function:

ADORecordSet_ado.NextRecordSet (  ) 

Reimplemented from ADORecordSet.

Definition at line 641 of file adodb-ado5.inc.php.

References $rs, and ADORecordSet.Init().

Here is the call graph for this function:

ADORecordSet_ado._close (  ) 

Reimplemented from ADORecordSet.

Definition at line 660 of file adodb-ado5.inc.php.


Member Data Documentation

ADORecordSet_ado.$bind = false

datetime in Unix format rs created -- for cached recordsets

Reimplemented from ADORecordSet.

Definition at line 320 of file adodb-ado.inc.php.

ADORecordSet_ado.$databaseType = "ado"

Reimplemented in ADORecordSet_ado_access, and ADORecordSet_ado_mssql.

Definition at line 321 of file adodb-ado.inc.php.

ADORecordSet_ado.$dataProvider = "ado"

Reimplemented from ADORecordSet.

Definition at line 322 of file adodb-ado.inc.php.

ADORecordSet_ado.$_tarr = false

Definition at line 323 of file adodb-ado.inc.php.

ADORecordSet_ado.$_flds

Definition at line 324 of file adodb-ado.inc.php.

ADORecordSet_ado.$canSeek = true

in other words, we use a text area for editing.

any varchar/char field this size or greater is treated as a blob

Reimplemented from ADORecordSet.

Definition at line 325 of file adodb-ado.inc.php.

ADORecordSet_ado.$hideErrors = true

Definition at line 326 of file adodb-ado.inc.php.


The documentation for this class was generated from the following files:
This documentation is part of typo3-unleashed.net.
It's an automatically created code documentation of the TYPO3 Content Management System.
Created with doxygen