otrs -> rel-6_0 API documentation

NAME

Kernel::System::CommunicationChannel::Phone - phone communication channel class

DESCRIPTION

This is a class for phone communication channel.

PUBLIC INTERFACE

new()

Don't use the constructor directly, use the ObjectManager instead:

my $ChannelObject = $Kernel::OM->Get('Kernel::System::CommunicationChannel::Phone');

ArticleDataTables()

Returns list of communication channel article tables for backend data storage.

my @ArticleDataTables = $ChannelObject->ArticleDataTables();

@ArticleTables = (
    'article_data_mime',
    'article_data_mime_plain',
    'article_data_mime_attachment',
);

ArticleDataArticleIDField()

Returns the name of the field used to link the channel article tables for backend data storage to the main article table.

my $ArticleIDField = $ChannelObject->ArticleDataArticleIDField();
$ArticleIDField = 'article_id';

ArticleBackend()

Returns communication channel article backend object.

my $ArticleBackend = $ChannelObject->ArticleBackend();

This method will always return a valid object, so that you can chain-call on the return value like:

$ChannelObject->ArticleBackend()->ArticleGet(...);

PackageNameGet()

Returns name of the package that provides communication channel.

my $PackageName = $ChannelObject->PackageNameGet();
$PackageName = 'Framework';

TERMS AND CONDITIONS

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.