public function setAllowInput($value) { $this->setReadOnly(!TPropertyValue::ensureBoolean($value)); }