* @return $limitInstance The instance to the object ObjectLimits
*/
public final function getLimitInstance () {
/**
* Getter for limitation instance
*
* @return $limitInstance The instance to the object ObjectLimits
*/
public final function getLimitInstance () {
- if ((defined('DEBUG_DATABASE')) || (defined('DEBUG_ALL'))) $this->getDebugInstance()->output(sprintf("[%s:] Limitierungsinstanz <strong>%s</strong> angefordert.<br />\n",
- $this->__toString(),
- $this->limitInstance->__toString()
- ));
return $this->limitInstance;
}
return $this->limitInstance;
}
@@ -78,12+59,6 @@ abstract class BaseDatabaseFrontend extends BaseFrameworkSystem implements Datab
* @return void
*/
public final function limitObject (ObjectLimits $limitInstance) {
* @return void
*/
public final function limitObject (ObjectLimits $limitInstance) {
- // Debug message
- if ((defined('DEBUG_DATABASE')) || (defined('DEBUG_ALL'))) $this->getDebugInstance()->output(sprintf("[%s:] Limitierungsinstanz <strong>%s</strong> soll verwendet werden.<br />\n",
- $this->__toString(),
- $limitInstance->__toString()
- ));
-
// Get limitArray for validation
$array = $limitInstance->getLimitArray();
// Get limitArray for validation
$array = $limitInstance->getLimitArray();
@@ -91,13+66,6 @@ abstract class BaseDatabaseFrontend extends BaseFrameworkSystem implements Datab
if ($array->count() > 0) {
// Okay, there is enougth
$this->limitInstance = $limitInstance;
if ($array->count() > 0) {
// Okay, there is enougth
$this->limitInstance = $limitInstance;
-
- // Debug message
- if ((defined('DEBUG_DATABASE')) || (defined('DEBUG_ALL'))) $this->getDebugInstance()->output(sprintf("[%s:] Limitierungsinstanz <strong>%s</strong> wird verwendet und beinhaltet <strong>%s</strong> Einträge.<br />\n",