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
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
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?
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
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
5 matches
Mail list logo