2017 © Pedro Peláez
 

propel-behavior propel-enable-disable-behavior

Enable / Disabe rows for Propel2

image

berduj/propel-enable-disable-behavior

Enable / Disabe rows for Propel2

  • Friday, June 3, 2016
  • by berduj
  • Repository
  • 1 Watchers
  • 0 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 33 % Grown

The README.md

PropelEnableDisableBehavior for [Propel2] (https://github.com/propelorm/Propel2)

The Behavior adds "enabled" column in table, and adds methods to enable/disable each rows., (*1)

Installation

Add the package to your composer.json:, (*2)

{
    "require": {
        "berduj/PropelEnableDisableBehavior"
    }
}

Usage



Added methods :, (*3)

Object methods:, (*4)

$object->enable();
$object->disable();

Query methods:, (*5)

ObjectQuery::create()->findEnabled();
ObjectQuery::create()->findDisabled();

License

See the LICENSE file., (*6)

The Versions

03/06 2016

dev-master

9999999-dev

Enable / Disabe rows for Propel2

  Sources   Download

MIT

The Requires

 

behavior disable propel enable

03/03 2016

1.0.0

1.0.0.0

Enable / Disabe rows for Propel2

  Sources   Download

MIT

The Requires

 

behavior disable propel enable