3
$Id: asteriskVoicemail.inc 4559 2012-08-18 15:55:43Z gruberroland $
3
$Id: asteriskVoicemail.inc 4893 2013-05-05 13:50:19Z gruberroland $
5
5
This code is part of LDAP Account Manager (http://www.sourceforge.net/projects/lam)
6
6
Copyright (C) 2010 Pavel Pozdnyak
7
2010 - 2012 Roland Gruber
7
2010 - 2013 Roland Gruber
9
9
This program is free software; you can redistribute it and/or modify
10
10
it under the terms of the GNU General Public License as published by
386
386
function get_pdfEntries() {
387
387
$return = array();
388
$AstVoicemailMailbox = '';
389
if (isset($this->attributes['AstVoicemailMailbox'][0])) $AstVoicemailMailbox = $this->attributes['AstVoicemailMailbox'][0];
390
$return[get_class($this) . '_AstVoicemailMailbox'] = array('<block><key>' . _('Mailbox') . '</key><value>' . $AstVoicemailMailbox . '</value></block>');
393
if (isset($this->attributes['AstContext'][0])) $AstContext = $this->attributes['AstContext'][0];
394
$return[get_class($this) . '_AstContext'] = array('<block><key>' . _('Account context') . '</key><value>' . $AstContext . '</value></block>');
396
$AstVoicemailFullname = '';
397
if (isset($this->attributes['AstVoicemailFullname'][0])) $AstVoicemailFullname = $this->attributes['AstVoicemailFullname'][0];
398
$return[get_class($this) . '_AstVoicemailFullname'] = array('<block><key>' . _('Full name') . '</key><value>' . $AstVoicemailFullname . '</value></block>');
400
$AstVoicemailContext = '';
401
if (isset($this->attributes['AstVoicemailContext'][0])) $AstVoicemailContext = $this->attributes['AstVoicemailContext'][0];
402
$return[get_class($this) . '_AstVoicemailContext'] = array('<block><key>' . _('Voicemail context') . '</key><value>' . $AstVoicemailContext . '</value></block>');
404
$AstVoicemailPager = '';
405
if (isset($this->attributes['AstVoicemailPager'][0])) $AstVoicemailPager = $this->attributes['AstVoicemailPager'][0];
406
$return[get_class($this) . '_AstVoicemailPager'] = array('<block><key>' . _('Pager') . '</key><value>' . $AstVoicemailPager . '</value></block>');
408
$AstVoicemailEmail = '';
409
if (isset($this->attributes['AstVoicemailEmail'][0])) $AstVoicemailEmail = $this->attributes['AstVoicemailEmail'][0];
410
$return[get_class($this) . '_AstVoicemailEmail'] = array('<block><key>' . _('Email address') . '</key><value>' . $AstVoicemailEmail . '</value></block>');
412
$AstVoicemailOptions = '';
413
if (isset($this->attributes['AstVoicemailOptions'][0])) $AstVoicemailOptions = $this->attributes['AstVoicemailOptions'][0];
414
$return[get_class($this) . '_AstVoicemailOptions'] = array('<block><key>' . _('Options') . '</key><value>' . $AstVoicemailOptions . '</value></block>');
388
$this->addSimplePDFField($return, 'AstVoicemailMailbox', _('Mailbox'));
389
$this->addSimplePDFField($return, 'AstContext', _('Account context'));
390
$this->addSimplePDFField($return, 'AstVoicemailFullname', _('Full name'));
391
$this->addSimplePDFField($return, 'AstVoicemailContext', _('Voicemail context'));
392
$this->addSimplePDFField($return, 'AstVoicemailPager', _('Pager'));
393
$this->addSimplePDFField($return, 'AstVoicemailEmail', _('Email address'));
394
$this->addSimplePDFField($return, 'AstVoicemailOptions', _('Options'));