aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-07-16 20:05:39 -0400
committerCash Costello <cash.costello@gmail.com>2012-07-16 20:05:39 -0400
commit1080fecabc592c9c319c1aa816f61eb922cf3285 (patch)
tree03feecd77ea4d258c7466efc4786c24f5784cb3a /engine
parentb7edff977107e928660256f37bbf4bc35fdea0a9 (diff)
downloadelgg-1080fecabc592c9c319c1aa816f61eb922cf3285.tar.gz
elgg-1080fecabc592c9c319c1aa816f61eb922cf3285.tar.bz2
added URL to the other new method names
Diffstat (limited to 'engine')
-rw-r--r--engine/classes/ElggPluginManifest.php4
-rw-r--r--engine/tests/api/plugins.php8
2 files changed, 6 insertions, 6 deletions
diff --git a/engine/classes/ElggPluginManifest.php b/engine/classes/ElggPluginManifest.php
index 5706d1e42..a1fe66856 100644
--- a/engine/classes/ElggPluginManifest.php
+++ b/engine/classes/ElggPluginManifest.php
@@ -290,7 +290,7 @@ class ElggPluginManifest {
*
* @return string
*/
- public function getBugTracker() {
+ public function getBugTrackerURL() {
return $this->parser->getAttribute('bugtracker');
}
@@ -299,7 +299,7 @@ class ElggPluginManifest {
*
* @return string
*/
- public function getDonationsPage() {
+ public function getDonationsPageURL() {
return $this->parser->getAttribute('donations');
}
diff --git a/engine/tests/api/plugins.php b/engine/tests/api/plugins.php
index 3b650f1b0..114f3991b 100644
--- a/engine/tests/api/plugins.php
+++ b/engine/tests/api/plugins.php
@@ -174,13 +174,13 @@ class ElggCorePluginsAPITest extends ElggCoreUnitTest {
}
public function testElggPluginManifestGetBugtracker() {
- $this->assertEqual($this->manifest18->getBugTracker(), 'http://trac.elgg.org');
- $this->assertEqual($this->manifest17->getBugTracker(), '');
+ $this->assertEqual($this->manifest18->getBugTrackerURL(), 'http://trac.elgg.org');
+ $this->assertEqual($this->manifest17->getBugTrackerURL(), '');
}
public function testElggPluginManifestGetDonationsPage() {
- $this->assertEqual($this->manifest18->getDonationsPage(), 'http://elgg.org/supporter.php');
- $this->assertEqual($this->manifest17->getDonationsPage(), '');
+ $this->assertEqual($this->manifest18->getDonationsPageURL(), 'http://elgg.org/supporter.php');
+ $this->assertEqual($this->manifest17->getDonationsPageURL(), '');
}
public function testElggPluginManifestGetCopyright() {