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.
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.