diff options
| author | Damien Regad <dregad@mantisbt.org> | 2023-03-13 08:31:07 +0100 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2023-03-17 22:55:29 +0100 |
| commit | ff2cefe7116ca29b0dee003af6fd5a8cb831c036 (patch) | |
| tree | 7783a4449572d389282396d8238b739c3dc5baa3 /adodb-xmlschema.inc.php | |
| parent | 2d1c5bff3075bf9b975dbdf2937e41de75a4dea9 (diff) | |
| download | adodb-ff2cefe7116ca29b0dee003af6fd5a8cb831c036.tar.gz adodb-ff2cefe7116ca29b0dee003af6fd5a8cb831c036.tar.bz2 adodb-ff2cefe7116ca29b0dee003af6fd5a8cb831c036.zip | |
Fix PHP 8.2 dynamic properties deprecation warnings
- ADOConnection: add $_metars, $locale, $metaColumnsSQL, $identitySQL,
$_genSeqSQL, $_dropSeqSQL and $_genIDSQL; add PHPDoc to
$metaDatabasesSQL $metaTablesSQL
- Exceptions: add $msg property
- DB2: reference parent connection object and fix $_queryID case
- Informix: don't cache version info in SetVersion
- odbtp: define $odbc_name, $_canSelectDb, $_lastAffectedRows properties
NOTE: this is somewhat academical as the driver is obsolete
- oci8: define $_refcursor property
- sybase: use existing $hasTransactions property instead of $_hastrans
- text: rename unused ADOConnection::$_evalAll property to $evalAll
- perf: define $settings property
- xml: add properties dbTable::$currentPlatform, dbTable::$data,
dbData::$current_field, adoSchema:$obj
This is adapted from changes proposed in #926
Diffstat (limited to 'adodb-xmlschema.inc.php')
| -rw-r--r-- | adodb-xmlschema.inc.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/adodb-xmlschema.inc.php b/adodb-xmlschema.inc.php index 32b8afa1..ac13d34e 100644 --- a/adodb-xmlschema.inc.php +++ b/adodb-xmlschema.inc.php @@ -236,6 +236,15 @@ class dbTable extends dbObject { var $drop_field = array(); /** + * @var array Platform-specific options + * @access private + */ + var $currentPlatform = true; + + /** @var dbData Stores information about table data. */ + var $data; + + /** * Iniitializes a new table object. * * @param string $prefix DB Object prefix @@ -773,6 +782,9 @@ class dbData extends dbObject { var $row; + /** @var string Field name */ + var $current_field; + /** * Initializes the new dbIndex object. * @@ -1282,6 +1294,9 @@ class adoSchema { */ var $continueOnError; + /** @var dbTable A table object. */ + var $obj; + /** * Creates an adoSchema object * |
