Add php html dom process class