[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Koha-devel] perl module to retrieve sys pref. data

From: MJ Ray
Subject: Re: [Koha-devel] perl module to retrieve sys pref. data
Date: Wed, 7 Oct 2009 10:01:57 +0100 (BST)

scott asked:
> Is there a .pm with a function/sub that allows me to get/send a query on
> the sys. pref table and have it return data?

C4::Context->preference does a very simple query.  For more complex
ones, you can call it on C4::Context->dbh but it may be better to
add a function to C4::Context.  Whether this is a good idea
depends on the motivation...

Hope that helps,
MJ Ray (slef)  LMS developer and webmaster at     | software
www.software.coop http://mjr.towers.org.uk        |  .... co
IMO only: see http://mjr.towers.org.uk/email.html |  .... op

reply via email to

[Prev in Thread] Current Thread [Next in Thread]