Getting more data from inside a template

Bradley Baetz bbaetz at gmail.com
Thu Nov 12 06:29:31 UTC 2009


On Tue, Oct 20, 2009 at 3:24 AM, Gervase Markham <gerv at mozilla.org> wrote:
> Hi guys,
>
> In a template, can I "break out" and start instantiating Bugzilla::Foo
> objects, or am I limited to what the controlling .cgi chooses to pass me? (I
> know EVAL_PERL isn't set in Bugzilla, so that route won't work.)

Not directly, but the Bugzilla object is available

> (I want to call Bugzilla::Status->get_all to get information on status
> transitions that config.cgi isn't giving me.)

Is that exposed in Bugzilla.pm? If so then Bugzilla.foo() will work.

Bradley

PS I just got a bunch of messages from late october that I hadn't seen
before - was something mailman-related stuck?



More information about the developers mailing list