. * --------------------------------------------------------------------- */ if (!defined('GLPI_ROOT')) { die("Sorry. You can't access this file directly"); } /// NetworkPortDialup class : dialup instantiation of NetworkPort. A dialup connexion also known as /// point-to-point protocol allows connexion between to sites through specific connexion /// @since 0.84 class NetworkPortDialup extends NetworkPortInstantiation { static function getTypeName($nb = 0) { return __('Connection by dial line - Dialup Port'); } function getInstantiationHTMLTableHeaders(HTMLTableGroup $group, HTMLTableSuperHeader $super, HTMLTableSuperHeader $internet_super = null, HTMLTableHeader $father = null, array $options = []) { $header = $group->addHeader('Connected', __('Connected to'), $super); parent::getInstantiationHTMLTableHeaders($group, $super, $internet_super, $header, $options); return null; } function getInstantiationHTMLTable(NetworkPort $netport, HTMLTableRow $row, HTMLTableCell $father = null, array $options = []) { return $this->getInstantiationHTMLTableWithPeer($netport, $row, $father, $options); } function showInstantiationForm(NetworkPort $netport, $options, $recursiveItems) { echo "