- dblayeroo: Add a export configuration feature to return an array with all the defined parameters
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3556 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -1183,6 +1183,22 @@ class dblayeroo
|
|||||||
}
|
}
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
||||||
|
/** Dump the configuration of the table in an array
|
||||||
|
*/
|
||||||
|
public function exportConf ()
|
||||||
|
/* {{{ */
|
||||||
|
{
|
||||||
|
return array ("table" => $this->table,
|
||||||
|
"tableprefix" => $this->tableprefix,
|
||||||
|
"fields" => $this->fields,
|
||||||
|
"primary" => $this->primary,
|
||||||
|
"unique" => $this->unique,
|
||||||
|
"foreign" => $this->foreign,
|
||||||
|
"titles" => $this->titles,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
/* }}} */
|
||||||
|
|
||||||
/////////////////////////////////////
|
/////////////////////////////////////
|
||||||
/// MANAGE THE REQUEST BY OOP ///
|
/// MANAGE THE REQUEST BY OOP ///
|
||||||
/////////////////////////////////////
|
/////////////////////////////////////
|
||||||
@@ -1359,9 +1375,11 @@ class dblayeroo
|
|||||||
* @deprecated 0.36
|
* @deprecated 0.36
|
||||||
*/
|
*/
|
||||||
public function displayColumn ($columnNames = array ())
|
public function displayColumn ($columnNames = array ())
|
||||||
|
/* {{{ */
|
||||||
{
|
{
|
||||||
return $this->displayAdd ($columnNames);
|
return $this->displayAdd ($columnNames);
|
||||||
}
|
}
|
||||||
|
/* }}} */
|
||||||
|
|
||||||
/** Set the columns to display for the next SELECT request.
|
/** Set the columns to display for the next SELECT request.
|
||||||
* The columns are ordered by the first added to the last added
|
* The columns are ordered by the first added to the last added
|
||||||
|
|||||||
Reference in New Issue
Block a user