On Thu, Mar 15, 2012 at 1:20 PM, Jason Allen <[email protected]> wrote:
> I'm unclear on how to initialize this. What folder should I place this
> in? Does it matter?
Nope.
> I want these functions to be available globally.
> Can I add this via OpenBD admin page? I'm not seeing anywhere there to
> initialize it.
>
One way is in OnApplicationStart() in Application.cfc you just create an
instance of this CFC and put it in the application scope. There's nothing
in the admin or configuration that would relate to this. It's just basic
CFC instantiation stuff:
<cfset Application.photoService =
CreateObject('component','dot.path.to.PhotoService') />
--
Matthew Woodward
[email protected]
http://blog.mattwoodward.com
identi.ca / Twitter: @mpwoodward
Please do not send me proprietary file formats such as Word, PowerPoint,
etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html
--
online documentation: http://openbd.org/manual/
google+ hints/tips: https://plus.google.com/115990347459711259462
http://groups.google.com/group/openbd?hl=en