M
msxkim
How to execute functions in the parent class first and then functions
in the child class? For example, I have a parent class with functions
'ONE' and 'TWO' and child class has a function 'THREE'. How should I
declare classes so that all three functions are executed when child
class is called?
Class Parent
public function ONE
'code
end fuction
public function TWO
'code
end fuction
end class
Class Child
Inherites Parent
public function THREE
'code
end fuction
end class
in the child class? For example, I have a parent class with functions
'ONE' and 'TWO' and child class has a function 'THREE'. How should I
declare classes so that all three functions are executed when child
class is called?
Class Parent
public function ONE
'code
end fuction
public function TWO
'code
end fuction
end class
Class Child
Inherites Parent
public function THREE
'code
end fuction
end class