havvg/propel-boolean-extra-behavior

The BooleanExtraBehavior adds more readable accessors and mutators for boolean values.


Keywords
propel, Behavior, boolean, php
License
MIT

Documentation

BooleanExtraBehavior

Build Status

See the Propel documentation on how to install a third party behavior

Usage

Just add the following XML tag in your schema.xml file:

<behavior name="boolean_extra" />

The behavior will add additional methods for boolean columns. Those methods are solely for the purpuse of better readibility when writing code.