The behavior element brings features to the model by modifying the models, views and controllers.
They can be added in the <database>
or <table>
element. <database>
behaviors affects all tables.
<behavior name = "/AddValidators|TableStamp|GoatCheese/"] > <parameter name = "/sting/" value="/string|JSON/"] > ... </table>
Only the GoatCheese and TableStamp behavior has parameters.
parameters value
will always take a string but for can contain JSON.
JSON value must be between single quote '
to validate.