[Rt-devel] RT Extension settings "storage"
Jesse Vincent
jesse at bestpractical.com
Thu Mar 26 13:39:38 EDT 2009
On Thu 26.Mar'09 at 13:33:02 -0400, Dan Thomson wrote:
> Hey all, I have a quick question for ya:
>
> Do extension/plugin writers have a standard place to put settings or
> configuration options? I'm building a small module and I'd like to
> provide the ability to apply it only to certain queues. At present, I
> have an array in RT_SiteConfig.pm for this configuration option, but
> this is kind of a pain. I'd like to add a tab to the "Preferences"
> section instead, but I'm not sure where to store the results.
>
> Is there a standard way to do this (like creating a new table in the
> DB, for example)?
> Alternatively, is there any specific storage method to avoid?
>
The two typical ways to do this are to use either RT::Attribute or
RT_SiteConfig.
What are you actually trying to build?
-j
> Thanks!
>
> --
> Dan Thomson
> _______________________________________________
> List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://lists.bestpractical.com/pipermail/rt-devel/attachments/20090326/049164ff/attachment.pgp
More information about the Rt-devel
mailing list