Welcome Guest, Not a member yet? Register   Sign In
Where to put plain object classes?
#1

In your opinion, what's the correct place to put a plain object class file? The class I need is something similar to

PHP Code:
class PlainObject {

    private 
$id;

    public function 
getID() {
        return 
$this->id;
    }



and I want to use this class wherever I need it (a controller or a model or a helper or a library, etc). Any suggestion?
Reply


Messages In This Thread
Where to put plain object classes? - by geekita - 12-02-2014, 05:51 AM
RE: Where to put plain object classes? - by Jamie - 01-06-2015, 05:18 AM
RE: Where to put plain object classes? - by Jamie - 01-06-2015, 03:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB