Rit::Base::User
Inherits from Para::Frame::User
This class doesn't inherit from Rit::Base::Resoure. But see Rit::Base::User::Meta.
Resources, when initiated, will be placed in the right class based on
the class_handled_by_perl_module
property. Since a resource can
have multiple classes, the class in itself can not inherit from
Rit::Base::Resource. The resource will be placed in a metaclass
that inherits from this class and from Rit::Base::Resource.
The Rit::Base::User::Meta is used during startup. It is listed in
%Rit::Base::LOOKUP_CLASS_FOR
to make it be reblessd in the right
metaclass based on the nodes other possible classes. See
Rit::Base::Resource/get.
For subclassing, create both the subclass (Rit::Guides::User) and
also a sub metaclass that inherits from it and from
Rit::Base::Resource (Rit::Guides::User::Meta). Set
Para::Frame/user_class to the meta class but point to the subclass
in Ritbase with the property class_handled_by_perl_module
for the
resource representing the user class.
This will call back to Rit::Base::Resource/get.
This is first run *before* constants initialized.
$node->level
Returns: The level
Called by Rit::Base::Resource/get that gets called by Para::Frame::User/identify_user.
Supported args are:
arclim
For the current request
For the current request