Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Transactional Model
  • I recently posted about my Database Transaction class. I wanted that functionality available in my ActiveRecord based models. Thanks to the "hooks" in the ActiveRecord package (before_save, after_save, etc), this class was very easy to create. Just add this class in your classes/model directory and extend it in any model that you would like transactional functionality.
    class Model_User extends Model_Transactional {}
    
    

    The source can be found at https://github.com/five07/Fuel-Addons. Michael

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!