grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026. -------------------------------------------------------------------------- */ /** @file * @brief */ 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'); } /** * @see NetworkPortInstantiation::getInstantiationHTMLTableHeaders **/ function getInstantiationHTMLTableHeaders(HTMLTableGroup $group, HTMLTableSuperHeader $super, HTMLTableSuperHeader $internet_super=NULL, HTMLTableHeader $father=NULL, array $options=array()) { $header = $group->addHeader('Connected', __('Connected to'), $super); parent::getInstantiationHTMLTableHeaders($group, $super, $internet_super, $header, $options); return NULL; } /** * @see NetworkPortInstantiation::getInstantiationHTMLTable() **/ function getInstantiationHTMLTable(NetworkPort $netport, HTMLTableRow $row, HTMLTableCell $father=NULL, array $options=array()) { return parent::getInstantiationHTMLTableWithPeer($netport, $row, $father, $options); } /** * @see NetworkPortInstantiation::showInstantiationForm() **/ function showInstantiationForm(NetworkPort $netport, $options=array(), $recursiveItems) { echo ""; $this->showMacField($netport, $options); echo "".__('Connected to').''; self::showConnection($netport, true); echo ""; echo ""; } } ?>