Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Re: [ktt] How to access the object data in a ver 2.0 plugin?

Quote Reply
Re: [ktt] How to access the object data in a ver 2.0 plugin? In reply to
Hi,

In 2.0.1, plugin hooks now get $self as the first parameter. This contains:

$self->{in} # a GT::CGI object
$self->{cgi} # a hash of current form input
$self->{sql} # a GT::SQL object connected to the database
$self->{glb_cfg} # a hash of global config options
$self->{cfg} # current table options (like view permissions, etc)
$self->{user} # a hash of currently logged in user.

Let me know if you have any questions!

Cheers,

Alex
--
Gossamer Threads Inc.
Subject Author Views Date
Thread How to access the object data in a ver 2.0 plugin? ktt 2164 Oct 20, 2001, 1:04 PM
Post Re: [ktt] How to access the object data in a ver 2.0 plugin?
doublemint 2062 Oct 24, 2001, 3:55 PM
Post Re: [ktt] How to access the object data in a ver 2.0 plugin?
Alex 2027 Oct 30, 2001, 5:34 PM