perl module to retrieve sys pref. data

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown perl module to retrieve sys pref. data

by scott-271 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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?

Thanks,
Scott




_______________________________________________
Koha-devel mailing list
Koha-devel@...
http://lists.nongnu.org/mailman/listinfo/koha-devel
_______________________________________________
Koha-devel mailing list
Koha-devel@...
http://lists.koha.org/mailman/listinfo/koha-devel

Re: perl module to retrieve sys pref. data

by MJ Ray-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


_______________________________________________
Koha-devel mailing list
Koha-devel@...
http://lists.nongnu.org/mailman/listinfo/koha-devel
_______________________________________________
Koha-devel mailing list
Koha-devel@...
http://lists.koha.org/mailman/listinfo/koha-devel