/** * Validates that attribute name is not database reserved word. */ public function validateIsAttributeNameDatabaseReservedWord() { if (in_array($this->attributeName, DatabaseCompatibilityUtil::getDatabaseReserverWords())) { $this->addError('attributeName', Zurmo::t('DesignerModule', '"{$attributeName}" field name is a database reserved word. Please enter a different one.', array('{$attributeName}' => $this->attributeName))); } }