diff options
| author | Damien Regad <dregad@mantisbt.org> | 2023-05-22 13:39:19 +0200 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2023-05-22 14:55:36 +0200 |
| commit | 80e5548314a4b7fdbc1b770573d111ac3b570002 (patch) | |
| tree | aa9ea50bb130c587e4f6bc44b2887df5ace5abb0 | |
| parent | c332300e85919cdec959593a2e5d07e9bd1549e7 (diff) | |
| download | adodb-80e5548314a4b7fdbc1b770573d111ac3b570002.tar.gz adodb-80e5548314a4b7fdbc1b770573d111ac3b570002.tar.bz2 adodb-80e5548314a4b7fdbc1b770573d111ac3b570002.zip | |
PHPDoc
| -rw-r--r-- | adodb-perf.inc.php | 6 | ||||
| -rw-r--r-- | adodb-xmlschema.inc.php | 4 | ||||
| -rw-r--r-- | adodb-xmlschema03.inc.php | 14 |
3 files changed, 12 insertions, 12 deletions
diff --git a/adodb-perf.inc.php b/adodb-perf.inc.php index b8804dff..91610536 100644 --- a/adodb-perf.inc.php +++ b/adodb-perf.inc.php @@ -1017,7 +1017,7 @@ Committed_AS: 348732 kB * <code>ADODB_OPT_LOW</code> for CPU-less optimization * Default is LOW <code>ADODB_OPT_LOW</code> * @author Markus Staab - * @return Returns <code>true</code> on success and <code>false</code> on error + * @return bool true on success, false on error */ function OptimizeTables() { @@ -1048,7 +1048,7 @@ Committed_AS: 348732 kB * <code>ADODB_OPT_LOW</code> for CPU-less optimization * Default is LOW <code>ADODB_OPT_LOW</code> * @author Markus Staab - * @return Returns <code>true</code> on success and <code>false</code> on error + * @return bool true on success, false on error */ function OptimizeTable( $table, $mode = ADODB_OPT_LOW) { @@ -1062,7 +1062,7 @@ Committed_AS: 348732 kB * optimize each using <code>optmizeTable()</code> * * @author Markus Staab - * @return Returns <code>true</code> on success and <code>false</code> on error + * @return bool true on success, false on error */ function optimizeDatabase() { diff --git a/adodb-xmlschema.inc.php b/adodb-xmlschema.inc.php index ac13d34e..662e2aae 100644 --- a/adodb-xmlschema.inc.php +++ b/adodb-xmlschema.inc.php @@ -412,7 +412,7 @@ class dbTable extends dbObject { * @param string $type ADODB datadict field type. * @param string $size Field size * @param array $opts Field options array - * @return array Field specifier array + * @return void */ function addField( $name, $type, $size = NULL, $opts = NULL ) { $field_id = $this->FieldID( $name ); @@ -446,7 +446,7 @@ class dbTable extends dbObject { * @param string $field Field name * @param string $opt ADOdb field option * @param mixed $value Field option value - * @return array Field specifier array + * @return void */ function addFieldOpt( $field, $opt, $value = NULL ) { if( !isset( $value ) ) { diff --git a/adodb-xmlschema03.inc.php b/adodb-xmlschema03.inc.php index 83a0a788..42ca4a09 100644 --- a/adodb-xmlschema03.inc.php +++ b/adodb-xmlschema03.inc.php @@ -450,7 +450,7 @@ class dbTable extends dbObject { * @param string $type ADODB datadict field type. * @param string $size Field size * @param array $opts Field options array - * @return array Field specifier array + * @return void */ function addField( $name, $type, $size = NULL, $opts = NULL ) { $field_id = $this->fieldID( $name ); @@ -486,7 +486,7 @@ class dbTable extends dbObject { * @param string $field Field name * @param string $opt ADOdb field option * @param mixed $value Field option value - * @return array Field specifier array + * @return void */ function addFieldOpt( $field, $opt, $value = NULL ) { if( $this->currentPlatform ) { @@ -766,7 +766,7 @@ class dbIndex extends dbObject { * Adds a field to the index * * @param string $name Field name - * @return string Field list + * @return string[] Field list */ function addField( $name ) { $this->columns[$this->fieldID( $name )] = $name; @@ -779,7 +779,7 @@ class dbIndex extends dbObject { * Adds options to the index * * @param string $opt Comma-separated list of index options. - * @return string Option list + * @return string[] Option list */ function addIndexOpt( $opt ) { $this->opts[] = $opt; @@ -929,10 +929,10 @@ class dbData extends dbObject { } /** - * Adds options to the index + * Adds data. * - * @param string $opt Comma-separated list of index options. - * @return string Option list + * @param string $cdata Data to add + * @return void */ function addData( $cdata ) { // check we're in a valid field |
