function bug() { dbobj::dbobj("bugs", "bID"); // SQL table `bugs', PK `bID' // this just calls the super-class's constructor // this tells the dbobj sutff to use the the // `bugs' table, with a primary key of `bID'. }
function user() { dbobj::dbobj("users", "uID"); }
function rights() { dbobj::dbobj("user_rights", "userID"); }
function bug() { dbobj::dbobj("bugs", "bID"); }
function project() { dbobj::dbobj("projects", "pID"); }
function register() { dbobj::dbobj("users", "uID"); }
function bug_comment() { dbobj::dbobj("bug_comments", "cID"); // SQL table `bug_comments', PK `cID' }