diff options
| author | Damien Regad <dregad@mantisbt.org> | 2021-11-07 15:24:05 +0100 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2021-11-07 15:24:05 +0100 |
| commit | bfcafbb385881cfa0301d51e1542f2252d1b4134 (patch) | |
| tree | c5fd36ffaa2d66d6706fe697ac82382a2f3ec9c2 /drivers/adodb-postgres7.inc.php | |
| parent | 38bd9a8f16cb5ec13d180a20f279f71d28622bbb (diff) | |
| download | adodb-bfcafbb385881cfa0301d51e1542f2252d1b4134.tar.gz adodb-bfcafbb385881cfa0301d51e1542f2252d1b4134.tar.bz2 adodb-bfcafbb385881cfa0301d51e1542f2252d1b4134.zip | |
Uniformize metaForeignKeys() function signature
- public visibility
- camelCase
- change $owner default from false to ''
- add $associative param where missing
- PHPDoc updates
Diffstat (limited to 'drivers/adodb-postgres7.inc.php')
| -rw-r--r-- | drivers/adodb-postgres7.inc.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/adodb-postgres7.inc.php b/drivers/adodb-postgres7.inc.php index e408f208..b4730a9d 100644 --- a/drivers/adodb-postgres7.inc.php +++ b/drivers/adodb-postgres7.inc.php @@ -154,10 +154,7 @@ class ADODB_postgres7 extends ADODB_postgres64 { } } - /** - * @returns array where keys are tables, and values are foreign keys - */ - function MetaForeignKeys($table, $owner=false, $upper=false) + public function metaForeignKeys($table, $owner = '', $upper = false, $associative = false) { # Regex isolates the 2 terms between parenthesis using subexpressions $regex = '^.*\((.*)\).*\((.*)\).*$'; |
