Kernel::Output::HTML::LayoutITSMConfigItem - all ConfigItem-related HTML functions
All ITSM Configuration Management-related HTML functions
ITSMConfigItemOutputStringCreate()
returns a output string
my $String = $LayoutObject->ITSMConfigItemOutputStringCreate(
Value => 11, # (optional)
Item => $ItemRef,
Print => 1, # (optional, default 0)
);
ITSMConfigItemFormDataGet()
returns the values from the html form as hash reference
my $FormDataRef = $LayoutObject->ITSMConfigItemFormDataGet(
Key => 'Item::1::Node::3',
Item => $ItemRef,
ConfigItemID => 123,
);
ITSMConfigItemInputCreate()
returns a input field html string
my $String = $LayoutObject->ITSMConfigItemInputCreate(
Key => 'Item::1::Node::3',
Value => 11, # (optional)
Item => $ItemRef,
);
ITSMConfigItemSearchFormDataGet()
returns the values from the search html form
my $ArrayRef = $LayoutObject->ITSMConfigItemSearchFormDataGet(
Key => 'Item::1::Node::3',
Item => $ItemRef,
);
ITSMConfigItemSearchInputCreate()
returns a search input field html string
my $String = $LayoutObject->ITSMConfigItemSearchInputCreate(
Key => 'Item::1::Node::3',
Item => $ItemRef,
);
_ITSMLoadLayoutBackend()
load a input type backend module
$BackendObject = $LayoutObject->_ITSMLoadLayoutBackend(
Type => 'GeneralCatalog',
);
ITSMConfigItemListShow()
Returns a list of configuration items as sortable list with pagination.
This function is similar to Kernel::Output::HTML::LayoutTicket::TicketListShow()
in Kernel/Output/HTML/LayoutTicket.pm
.
my $Output = $LayoutObject->ITSMConfigItemListShow(
ConfigItemIDs => $ConfigItemIDsRef, # total list of config item ids, that can be listed
Total => scalar @{ $ConfigItemIDsRef }, # total number of list items, config items in this case
View => $Self->{View}, # optional, the default value is 'Small'
Filter => 'All',
Filters => \%NavBarFilter,
FilterLink => $LinkFilter,
TitleName => 'Overview: Config Item: Computer',
TitleValue => $Self->{Filter},
Env => $Self,
LinkPage => $LinkPage,
LinkSort => $LinkSort,
Frontend => 'Agent', # optional (Agent|Customer), default: Agent, indicates from which frontend this function was called
);
This software is part of the OTRS project (https://otrs.org/).
This software comes with ABSOLUTELY NO WARRANTY. For details, see the enclosed file COPYING for license information (GPL). If you did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.