aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggPluginManifest.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-07-08 09:48:50 +0200
committerSem <sembrestels@riseup.net>2012-07-08 09:48:50 +0200
commit17c28c8161e8c551ce4e4a1345e525cbb785fb59 (patch)
treec5e650d7ccb11fe172318ff1dd7e2eddabfd08d3 /engine/classes/ElggPluginManifest.php
parent7fd67bc8ac6882f1a73aa7f8f907cd6c2a694272 (diff)
downloadelgg-17c28c8161e8c551ce4e4a1345e525cbb785fb59.tar.gz
elgg-17c28c8161e8c551ce4e4a1345e525cbb785fb59.tar.bz2
Fixes #3646. Added suport for Repository, Bugtracker and Donations in manifest.
Diffstat (limited to 'engine/classes/ElggPluginManifest.php')
-rw-r--r--engine/classes/ElggPluginManifest.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/engine/classes/ElggPluginManifest.php b/engine/classes/ElggPluginManifest.php
index 7e79c15c8..5eb248c2c 100644
--- a/engine/classes/ElggPluginManifest.php
+++ b/engine/classes/ElggPluginManifest.php
@@ -276,6 +276,32 @@ class ElggPluginManifest {
}
}
+ /**
+ * Returns the repository url
+ *
+ * @return sting
+ */
+ public function getRepository() {
+ return $this->parser->getAttribute('repository');
+ }
+
+ /**
+ * Returns the bug tracker page
+ *
+ * @return sting
+ */
+ public function getBugTracker() {
+ return $this->parser->getAttribute('bugtracker');
+ }
+
+ /**
+ * Returns the donations page
+ *
+ * @return sting
+ */
+ public function getDonationsPage() {
+ return $this->parser->getAttribute('donations');
+ }
/**
* Returns the version of the plugin.