Jump to content

drzin

New Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Costa Rica
  • Interests
    Programming Languages, word origins, and how stuff works.

drzin's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. So let me get this straight. The class itself is not an object, simply the spec sheet, setup manual and paradigm used only as a guide from which to correctly build one's own object. No operational object exists until it is assembled at its destination location. Therefore if one doesn't use the get method when calling the value with the 'echo' keyword, he is not utilizing his own personal object. Rather he is calling the paradigm model.
  2. Hey Stefan, Please take another look at Step 14. Having built a constructor in 'class person' in your class_lib.php file, and both a set_name and get_name method, it seems to me totally redundant, even though it will work, to place the set_name or get_name method in your echo call back to the class. Rather than echo "Stefan's full name :" . $stefan->get_name(); The proper syntax would be: echo "Stefan's full name: $stefan->name; Would it not?
×
×
  • Create New...