public function addUsernameConstraint(Gpf_Db_Table_AuthUsers $usersTable) { $usersTable->addConstraint(new Gpf_DbEngine_Row_RegExpConstraint(Gpf_Db_Table_AuthUsers::USERNAME, Gpf_Settings::get(UsernameConstraint_Config::CUSTOM_USERNAME_FORMAT), Gpf_Settings::get(UsernameConstraint_Config::CUSTOM_ERROR_MESSAGE))); }