and i saw that by default there a basic frameworks object such as:
ParamObject (to get formular params), DBObject (to use existing databse connects), LayoutObject (to use templates and other html layout functions), ConfigObject (to access config settings), LogObject (to use the framework log system), UserObject (to get the user functions from the current user), GroupObject (to get the group functions).
if know LayoutObject is used for html output(i used it for my hello world module "$Output .= $Self->{LayoutObject}->NavigationBar();"....etc)
but, the thing is, what about others modules?
for example "UserObject"
I guess i can see its subs here (http://dev.otrs.org/) under Kernel::System::User?
and there, there is a method called "GetUserData()"
Code: Select all
my %User = $UserObject->GetUserData(
UserID => 123,
);
or
my %User = $UserObject->GetUserData(
User => 'franz',
Valid => 1, # not required -> 0|1 (default 0)
# returns only data if user is valid
NoOutOfOffice => 1, # not required -> 0|1 (default 0)
# returns data without out of office infos
);
thank you
