Search found 2 matches
- Sat Sep 25, 2004 10:50 pm
- Forum: PHP - Code
- Topic: Calling class methods in constructor
- Replies: 3
- Views: 300
- Sat Sep 25, 2004 10:40 pm
- Forum: PHP - Code
- Topic: Calling class methods in constructor
- Replies: 3
- Views: 300
Calling class methods in constructor
I'm wondering if it's alrite to call methods from a class within the constructor. So i have a class with various functions, but i want to use some of the functions in the constructor to help get the data formatted and all. Is this ok?