PHP Class Note and Codes