So I was working on something OOP :-). And I am trying to use Hal Hellms BaseComponent.cfc that all CFCs that don't extend anything should extend. For the purpose of this post I reduced it to two methods:
The way I was using it is I included it into ColdFusion component.cfc that all CFCs extend by default:
So I also make test CFC and a cfm page:
When I run cfm file and expend the dump output I see following:
As you can see the objectid() method is missing.
Now I remove the include from component.cfc and make my test component extend BaseComponent
Run cfm again and get following:
Now objectid() method is seen in the dump.