public function setMaximumRows($value) { if (($value = TPropertyValue::ensureInteger($value)) < 0) { $value = 0; } $this->_maximumRows = $value; }