= Alternative Coding Standards Behavior = The `alternative_coding_standards` behavior changes the coding standards of the model classes generated by Propel to match your own coding style. == Basic Usage == In the `schema.xml`, use the `` tag to add the `alternative_coding_standards` behavior to a table: {{{ #!xml
}}} Rebuild your model, and you're ready to go. The code of the model classes now uses an alternative set of coding standards: {{{ #!php title !== $v) { $this->title = $v; $this->modifiedColumns[] = BookPeer::TITLE; } return $this; } // instead of /** * Set the value of [title] column. * * @param string $v new value * @return Table4 The current object (for fluent API support) */ public function setTitle($v) { if ($v !== null) { $v = (string) $v; } if ($this->title !== $v) { $this->title = $v; $this->modifiedColumns[] = BookPeer::TITLE; } return $this; } // setTitle() }}} The behavior replaces tabulations by whitespace (2 spaces by default), places opening brackets on newlines, removes closing brackets comments, and can even strip every comments in the generated classes if you wish. == Parameters == Each of the new coding style rules has corresponding parameter in the behavior description. Here is the default configuration: {{{ #!xml
}}} You can change these settings to better match your own coding styles.