GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Jifty::Object(3) User Contributed Perl Documentation Jifty::Object(3)

Jifty::Object - Base class for most of Jifty's objects

"Jifty::Object" is the superclass of most of Jifty's objects. It is used to provide convenient accessors to important global objects like the database handle or the logger object, while still allowing individual classes to overload these methods.

We ought to be able to mix-in "Jifty::Object" with any other class; thus, we will not define "new" or "_init" in "Jifty::Object". We do assume, however, that $self is a blessed hash reference.

Gets/sets a user for the current user for this object. You often do not need to call this explicitly; Jifty will inspect your caller's "current_user", and so on up the call stack.

Takes the ARGS paramhash passed to _init. Find the current user. First, try to see if it's explicit. After that, check the caller's current_user. After that, look at Jifty->web->current_user

Fills in current_user with that value

Returns a Log::Log4perl logger object; the category of the logger is the same as the class of $self.
2013-01-29 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.