2017 © Pedro Peláez
 

fuel-package fuel-packages-myorm

image

mp-php/fuel-packages-myorm

  • Saturday, May 4, 2013
  • by mamor
  • Repository
  • 2 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

# MyOrm package auto save IP address when insert and update.

Install

Setup to fuel/packages/myorm

  • Use composer https://packagist.org/packages/mp-php/fuel-packages-myorm
  • git submodule add
  • Download zip

Edit app/config/config.php

'packages'  => array(
    'orm',
    'myorm',
),

Edit $_observers

protected static $_observers = array(
    'MyOrm\Observer_CreatedIp'=>array('events'=>array('before_insert')),
    'MyOrm\Observer_UpdatedIp'=>array('events'=>array('before_save')),
);

The Versions

04/05 2013

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

by Mamoru Otsuka