2017 © Pedro Peláez
 

propel-behavior propel-to-string-behavior

Propel ORM 2 ToString Behaviour

image

weconstudio-it/propel-to-string-behavior

Propel ORM 2 ToString Behaviour

  • Wednesday, October 14, 2015
  • by acabutto
  • Repository
  • 3 Watchers
  • 0 Stars
  • 50 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 2 % Grown

The README.md

ToStringBehavior for Propel2

This Behavior lets you define the default toString() method for tables., (*1)

Installation

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

{
    "require": {
        "weconstudio-it/weconstudio-it/propel-to-string-behavior": "~1.0@dev"
    }
}

Usage



<table name="default_order_2"> <column name="id" required="true" primaryKey="true" autoIncrement="true" type="INTEGER" /> <column name="title" type="VARCHAR" /> <behavior name="default-order"> <parameter name="column1" value="title"/> <parameter name="column2" value="id desc"/> </behavior> </table>

License

See the LICENSE file., (*3)

The Versions

14/10 2015

dev-master

9999999-dev

Propel ORM 2 ToString Behaviour

  Sources   Download

GPLv2

The Requires

 

behavior propel to string