Skip to content

Instantly share code, notes, and snippets.

View enov's full-sized avatar

Samuel Demirdjian enov

View GitHub Profile
@enov
enov / Cached.php
Created October 3, 2013 17:35 — forked from kemo/Cached.php
<?php defined('SYSPATH') or die('No direct script access.');
/**
* Extend this class if you want your model cached. Example usage:
*
* 1. Model
* class Model_User extends ORM_Cached {}
*
* 2. Usage
*