Question: I need help with this php project. this is the php template file
I need help with this php project.

this is the php template file
addHeadElement("");$page->finalizeTopSection(); //Some libraries require things to be added before the closing body tag.//Pretty much the same thing as addHeadElement//Use addBottomElement() for that. See the method in the Template class. $page->finalizeBottomSection(); print $page->getTopSection();print "
Some page-specific HTML goes here
";print $page->getBottomSection(); 1. Create an object-oriented class in PHP that will represent a User. You should use User.php as the filename and the class within it should be called User. Note the uppercase U. The User class should have the following private properties: . . username password emailAddress isLoggedIn . . The User class should have the following public methods (you may rename authenticate to login, if you would like): authenticate($username $password) logout() getEmailAddress() getLoginStatus() The getEmailAddress() method should return the current value of the class property emailAddress and getLoginStatus() should return the current value of the class property isLoggedIn. At this time, the authenticate() and logout() methods do not need to contain any code. 2. Create a separate file to test the User class. That file should simply instantiate the User class and print the value returned from getLoginStatus()
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
