public function MoveDownInParent()
{
if (!$this->objParentControl) {
throw new QCallerException('QControl has no parent control to move within');
}
$objNewChildControlArray = array();
$blnFound = false;
foreach ($this->objParentControl->objChildControlArray as $strControlId => $objControl) {
if ($this->strControlId != $strControlId) {
$objNewChildControlArray[$strControlId] = $objControl;
}
if ($blnFound) {
$objNewChildControlArray[$this->strControlId] = $this;
$blnFound = false;
} else {
if ($this->strControlId == $strControlId) {
$blnFound = true;
}
}
}
$this->objParentControl->objChildControlArray = $objNewChildControlArray;
}