PHP5 Compaitability

Making the Class data member definition PHP5 compatible access modifier rather than deprecated var.