dblayeroo : after cleaning all the child objects, remove the instances
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3638 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -1315,6 +1315,14 @@ class dblayeroo
|
|||||||
/* {{{ */
|
/* {{{ */
|
||||||
{
|
{
|
||||||
$this->debugLog ("Entering clearRequest ()");
|
$this->debugLog ("Entering clearRequest ()");
|
||||||
|
if ($this->joinObject !== null)
|
||||||
|
{
|
||||||
|
foreach ($this->joinObject as $obj)
|
||||||
|
{
|
||||||
|
$obj->clearRequest ();
|
||||||
|
}
|
||||||
|
$this->joinObject = null;
|
||||||
|
}
|
||||||
$this->command = "";
|
$this->command = "";
|
||||||
$this->distinct = "";
|
$this->distinct = "";
|
||||||
$this->displayColumn = null;
|
$this->displayColumn = null;
|
||||||
@@ -1327,13 +1335,6 @@ class dblayeroo
|
|||||||
$this->setValues = array ();
|
$this->setValues = array ();
|
||||||
$this->setType = array ();
|
$this->setType = array ();
|
||||||
$this->setForeignObj = array ();
|
$this->setForeignObj = array ();
|
||||||
if ($this->joinObject !== null)
|
|
||||||
{
|
|
||||||
foreach ($this->joinObject as $obj)
|
|
||||||
{
|
|
||||||
$obj->clearRequest ();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
||||||
@@ -2382,6 +2383,7 @@ class dblayeroo
|
|||||||
$objTmp = clone $this;
|
$objTmp = clone $this;
|
||||||
$objTmp->debugDepth++;
|
$objTmp->debugDepth++;
|
||||||
$objTmp->clearRequest ();
|
$objTmp->clearRequest ();
|
||||||
|
echo "OBJTMP";var_dump ($objTmp);
|
||||||
$objTmp->Select ();
|
$objTmp->Select ();
|
||||||
$objTmp->displayAdd ($this->primary);
|
$objTmp->displayAdd ($this->primary);
|
||||||
$objTmp->displayAdd ($columns);
|
$objTmp->displayAdd ($columns);
|
||||||
|
|||||||
Reference in New Issue
Block a user