> Not really. There's a notion of a "pseudo constructor"
which is any code
> within the CFC which is outwith any <cffunction>
block. THat's called when
> the CFC is instantiated. It's not possible to
parameterise this though. A
> de facto standard has been adopted by many people in
that a CFC will ahev
> an init() method, which anyone suing the CFC *should*
call when invoking
> the CFC, but there's nothing enforcing this.
>
> Can U Please elaborate tis Please?
I... don't know... what else to say. That's it.
I'm not a search engine you know ;-)
However: Google is.
Or, hey, there's the documentation:
http://livedocs.adobe.com/coldfusion/8/buildingComponents_01.html
Read that lot, have a look around at what other people are
saying about
init() methods in CFCs and pseudo-constructors, and come back
here if
you've got some specific questions.
I'm glad to help, but I'm reluctant to spoon-feed, if you
know what I mean.
--
Adam