View Single Post
Old 06-08-2008, 08:12 AM   #5 (permalink)
delayedinsanity
is cute and cuddly
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
delayedinsanity is on a distinguished road
Default

It has to be inside the __construct(); -- Classes are wrappers for a collection of properties and methods, all code constructs that are part of them have to be part of one of those methods (the functions) however, and not out and about on their own.
-m
delayedinsanity is offline  
Reply With Quote
The Following User Says Thank You to delayedinsanity For This Useful Post:
pipesportugal (06-08-2008)