Jump to content

SteveWasiura

Member
  • Posts

    6
  • Joined

  • Last visited

SteveWasiura's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. i think pkbarbiedoll has been scared away. overwhemled.
  2. SteveWasiura

    css and php help

    search all your files for this <li class="menulinks_right"><a href="../downloads/"><span>Download</span></a></li> once you find which files it is in, go into that file and remove that portion of the code
  3. that is exactly what I was thinking too. my question: why do you use $name="height" $t->universalSetter(($name = "height"), "tall"); instead of just using $t->universalSetter(("height", "tall");
  4. I thought I had too much to drink last night, because at first glance I could not understand your posting. But I let it sink in, and now I think I've got it. You have to be able to describe something, so that you can classify it. I think a classification is basically a set of statements that describe something, i.e. a human would be described by it's properties, etc. So when we create something that will become an object in our code, we have a bunch of statements that describe it's properties, and we also have a bunch of methods that do things with the object, i.e. set a value of the object (i.e. it's name, size), get values, etc. So by putting all this together (encapsulating) into a series of statements (variables and functions), we have created a classification that describes the object that will be created when using this bundule of code. So I guess that is why it is refered to as a class, short for classification. it is a group of statements that describe an object.
  5. I found this in the php manual comments section. http://www.php.net/manual/en/language.oop5.basic.php#86235 use classes to "organize and deal with like-minded data". Here's what I mean by "organizing like-minded data". First, start with unorganized data. <?php $customer_name; $item_name; $item_price; $customer_address; $item_qty; $item_total; ?> Now to organize the data into PHP classes: <?php class Customer { $name; // same as $customer_name $address; // same as $customer_address } class Item { $name; // same as $item_name $price; // same as $item_price $qty; // same as $item_qty $total; // same as $item_total } ?> So yes, I think maybe the reason it is named Class, is because it organizes things, like classification does.
  6. I've read a bunch of stuff on wikipedia but I can't understand why they are called Classes. Where did Classes come from or originate, what was the creators intention by calling it a class? I can understand "prototype", it's like the first attempt at building something. But I don't udnerstand why it's refered to as a "Class". Is it called a class because it's a collection of things related to one concept, like students in a class about math? Or is it a classification of something that attempts to find it's place in a mess of many "things"?
×
×
  • Create New...