diff --git a/main/inc/lib/display.lib.php b/main/inc/lib/display.lib.php
index 3f2f722785..74b231417b 100755
--- a/main/inc/lib/display.lib.php
+++ b/main/inc/lib/display.lib.php
@@ -634,19 +634,6 @@ class Display
return ''.$icon_html_source.' ';
}
- /**
- * Creates a hyperlink to the platform homepage.
- * @param string $name, the visible name of the hyperlink, default is sitename
- * @return string with html code for hyperlink
- */
- public static function get_platform_home_link_html($name = '')
- {
- if ($name == '') {
- $name = api_get_setting('siteName');
- }
- return ''.$name.' ';
- }
-
/**
* Prints an -list with all letters (A-Z).
* @param char $selected_letter The letter that should be selected
@@ -709,7 +696,7 @@ class Display
* Gets the path of an icon
*
* @param string $icon
- * @param string $size
+ * @param int $size
*
* @return string
*/
@@ -1126,7 +1113,7 @@ class Display
*/
public static function grid_html($div_id)
{
- $table = self::tag('table','', array('id' => $div_id));
+ $table = self::tag('table','', array('id' => $div_id));
$table .= self::tag('div','', array('id' => $div_id.'_pager'));
return $table;
}
@@ -1716,11 +1703,6 @@ class Display
return $html;
}
- public static function return_default_table_class()
- {
- return 'table table-bordered';
- }
-
/**
* @param string $title
* @param string $second_title
@@ -2126,7 +2108,7 @@ class Display
* @param int $fixedValue
* @return string
*/
- static function parsePaginationItem(
+ public static function parsePaginationItem(
$itemId,
$isCurrent,
$conditions,
diff --git a/tests/main/inc/lib/display.lib.test.php b/tests/main/inc/lib/display.lib.test.php
index 543c9e79f1..1738d155f6 100755
--- a/tests/main/inc/lib/display.lib.test.php
+++ b/tests/main/inc/lib/display.lib.test.php
@@ -236,19 +236,6 @@ class TestDisplay extends UnitTestCase {
//var_dump($res);
}
- /**
- * Create a hyperlink to the platform homepage.
- * @param string $name, the visible name of the hyperlink, default is sitename
- * @return string with html code for hyperlink
- */
- public function testget_platform_home_link_html() {
- ob_start();
- $res=Display::get_platform_home_link_html();
- ob_end_clean();
- $this->assertTrue(is_string($res));
- //var_dump($res);
- }
-
/**
* This public function returns the htmlcode for an icon
*
diff --git a/tests/phpunit/classes/DisplayTest.lib.php b/tests/phpunit/classes/DisplayTest.lib.php
index 6d2fe550db..94c42562f5 100755
--- a/tests/phpunit/classes/DisplayTest.lib.php
+++ b/tests/phpunit/classes/DisplayTest.lib.php
@@ -278,18 +278,6 @@ class DisplayTest extends PHPUnit_Framework_TestCase
);
}
- /**
- * @covers Display::get_platform_home_link_html
- * @todo Implement testGet_platform_home_link_html().
- */
- public function testGet_platform_home_link_html()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
-
/**
* @covers Display::get_alphabet_options
* @todo Implement testGet_alphabet_options().
@@ -543,18 +531,6 @@ class DisplayTest extends PHPUnit_Framework_TestCase
);
}
- /**
- * @covers Display::return_default_table_class
- * @todo Implement testReturn_default_table_class().
- */
- public function testReturn_default_table_class()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
-
/**
* @covers Display::page_header
* @todo Implement testPage_header().