PMA\libraries\config\FormDisplay::getDocLink PHP Method

    public function getDocLink($path)
    {
        $test = mb_substr($path, 0, 6);
        if ($test == 'Import' || $test == 'Export') {
            return '';
        }
        return Util::getDocuLink('config', 'cfg_' . $this->_getOptName($path));
    }

Usage Example

 /**
  * Test for FormDisplay::getDocLink
  *
  * @return void
  */
 public function testGetDocLink()
 {
     $this->assertEquals("./url.php?url=https%3A%2F%2Fdocs.phpmyadmin.net%2Fen%2Flatest%2F" . "config.html%23cfg_Servers_3_test_2_", $this->object->getDocLink("Servers/3/test/2/"));
     $this->assertEquals('', $this->object->getDocLink("Import"));
     $this->assertEquals('', $this->object->getDocLink("Export"));
 }
All Usage Examples Of PMA\libraries\config\FormDisplay::getDocLink