Advanced PHP. Home work. OOP