summaryrefslogtreecommitdiff
path: root/adodb-xmlschema03.inc.php
diff options
context:
space:
mode:
authorDamien Regad <dregad@mantisbt.org>2023-05-22 13:39:19 +0200
committerDamien Regad <dregad@mantisbt.org>2023-05-22 14:55:36 +0200
commit80e5548314a4b7fdbc1b770573d111ac3b570002 (patch)
treeaa9ea50bb130c587e4f6bc44b2887df5ace5abb0 /adodb-xmlschema03.inc.php
parentc332300e85919cdec959593a2e5d07e9bd1549e7 (diff)
downloadadodb-80e5548314a4b7fdbc1b770573d111ac3b570002.tar.gz
adodb-80e5548314a4b7fdbc1b770573d111ac3b570002.tar.bz2
adodb-80e5548314a4b7fdbc1b770573d111ac3b570002.zip
PHPDoc
Diffstat (limited to 'adodb-xmlschema03.inc.php')
-rw-r--r--adodb-xmlschema03.inc.php14
1 files changed, 7 insertions, 7 deletions
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