Author Topic: [SOLVED] New to OOP  (Read 929 times)

0 Members and 1 Guest are viewing this topic.

Offline DarkWater

  • Freak!
  • Posts: 6,158
  • Gender: Male
    • View Profile
Re: [SOLVED] New to OOP
« Reply #15 on: October 04, 2008, 06:57:37 AM »
__construct doesn't work. on the other hand __constructor works great

__construct is called automatically when a class is created, trust me.
Info:Apache 2.2.4 | PHP 6.0.0-dev, PHP 5.2.4 | Ubuntu 8.04 | Age: 16 | Coding PHP and CSS+(X)HTML: 5-6 years | Feel free to PM me if you need help!
Αν χρειάζεσαι ένας μεταφραστής, μπορέις να μου μιλάς.  Μιλώ καλά.
Quote from: Crayon Violent
If you ask for a banana, would you expect someone to hand you an orange? Or a fork?  No you wouldn't, because you asked for a banana, and you expect them to understand that a banana is not an orange or a fork.  It's the same principle.