Orlando,
Displayer also inherits the constructor from Employee, so you must
define function Displayer() to prevent the notices.
I don't think you want to extend from Employee with Displayer - it
should accept an Employee object, and display the information, perhaps.
Regards,
Greg
Orlando Pozo
hie..
it's simply u did not declare ur class variable...
class ctest
{
var $owner;
function ctest($owner)
{
$this-owner = $owner;
}
function foo()
{
echo test!br;
}
}
hope it works :)
regards,
James
Andrew Kirilenko wrote:
Hello!
I have following
Hi u007!
On Sun, 15 Jul 2001, u007 wrote:
hie..
it's simply u did not declare ur class variable...
well, actually you don't have to declare them, you can add members as you go
(as opposed to C++ for example)
class ctest
{
var $owner;
function ctest($owner)
{
oh,
i didn't realise how php is as flexible as vb :)
yeah.. ops, missed out the owner-test1 does not exist :)
thanx for tips :)
[EMAIL PROTECTED] wrote:
Hi u007!
On Sun, 15 Jul 2001, u007 wrote:
hie..
it's simply u did not declare ur class variable...
well, actually you don't have
4 matches
Mail list logo