Location: PHPKode > projects > Simple PHP Framework > includes/class.objects.php
<?PHP
    // Stick your DBOjbect subclasses in here (to help keep things tidy).

    class User extends DBObject
    {
        public function __construct($id = null)
        {
            parent::__construct('users', array('nid', 'username', 'password', 'level'), $id);
        }
    }
Return current item: Simple PHP Framework