Re: [PHP] extending a class using includes not working

2005-05-26 Thread Jochem Maas
Charles Kline wrote: On May 25, 2005, at 7:53 PM, Richard Lynch wrote: On Wed, May 25, 2005 11:30 am, Charles Kline said: i have 2 class files. say for example. class 1 class 2 extends class 1 class 2 uses include_once(firstclass.php) include, require, etal are not functions

Re: [PHP] extending a class using includes not working

2005-05-26 Thread Brent Baisley
Is the include in your class 2 file the very first line, before you start declaring your class 2 classes? The class 1 file has to be loaded before you start extending it, obviously, but just checking. The other problem may be with your paths. Wherever your template file is located is where is

[PHP] extending a class using includes not working

2005-05-25 Thread Charles Kline
hi all. i have 2 class files. say for example. class 1 class 2 extends class 1 class 2 uses include_once(firstclass.php) then i use include_once (secondclass.php) in my template. this does not work. to get it to work, i must put both the files as includes in my template. any ideas why?

Re: [PHP] extending a class using includes not working

2005-05-25 Thread Richard Lynch
On Wed, May 25, 2005 11:30 am, Charles Kline said: i have 2 class files. say for example. class 1 class 2 extends class 1 class 2 uses include_once(firstclass.php) then i use include_once (secondclass.php) in my template. this does not work. to get it to work, i must put both the files

Re: [PHP] extending a class using includes not working

2005-05-25 Thread Charles Kline
On May 25, 2005, at 7:53 PM, Richard Lynch wrote: On Wed, May 25, 2005 11:30 am, Charles Kline said: i have 2 class files. say for example. class 1 class 2 extends class 1 class 2 uses include_once(firstclass.php) then i use include_once (secondclass.php) in my template. this does not