aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggPluginManifest.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-07 01:10:50 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-07 01:10:50 +0000
commita6936ba9eb19da233de1030e6aa84bbbcebfaa23 (patch)
treede1f9953e30ecce0fb5f556898da2903a2710f55 /engine/classes/ElggPluginManifest.php
parent4b2684e36e226315c5bd4b93f49ab2a5fc121303 (diff)
downloadelgg-a6936ba9eb19da233de1030e6aa84bbbcebfaa23.tar.gz
elgg-a6936ba9eb19da233de1030e6aa84bbbcebfaa23.tar.bz2
Removed leading _ in private var names.
git-svn-id: http://code.elgg.org/elgg/trunk@7551 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/classes/ElggPluginManifest.php')
-rw-r--r--engine/classes/ElggPluginManifest.php28
1 files changed, 14 insertions, 14 deletions
diff --git a/engine/classes/ElggPluginManifest.php b/engine/classes/ElggPluginManifest.php
index 01dcd1046..801769eb9 100644
--- a/engine/classes/ElggPluginManifest.php
+++ b/engine/classes/ElggPluginManifest.php
@@ -25,7 +25,7 @@ class ElggPluginManifest {
/**
* The expected structure of a requires element
*/
- private $_depsRequiresStructPlugin = array(
+ private $depsRequiresStructPlugin = array(
'type' => '',
'name' => '',
'version' => '',
@@ -35,7 +35,7 @@ class ElggPluginManifest {
/*
* The expected structure of elgg and elgg_release requires element
*/
- private $_depsRequiresStructElgg = array(
+ private $depsRequiresStructElgg = array(
'type' => '',
'version' => '',
'comparison' => 'ge'
@@ -44,7 +44,7 @@ class ElggPluginManifest {
/**
* The expected structure of a requires php_ini dependency element
*/
- private $_depsRequiresStructPhpIni = array(
+ private $depsRequiresStructPhpIni = array(
'type' => '',
'name' => '',
'value' => '',
@@ -54,7 +54,7 @@ class ElggPluginManifest {
/**
* The expected structure of a requires php_extension dependency element
*/
- private $_depsRequiresStructPhpExtension = array(
+ private $depsRequiresStructPhpExtension = array(
'type' => '',
'name' => '',
'version' => '',
@@ -64,7 +64,7 @@ class ElggPluginManifest {
/**
* The expected structure of a conflicts depedency element
*/
- private $_depsConflictsStruct = array(
+ private $depsConflictsStruct = array(
'type' => '',
'name' => '',
'version' => '',
@@ -74,7 +74,7 @@ class ElggPluginManifest {
/**
* The expected structure of a provides dependency element.
*/
- private $_depsProvidesStruct = array(
+ private $depsProvidesStruct = array(
'type' => '',
'name' => '',
'version' => ''
@@ -83,7 +83,7 @@ class ElggPluginManifest {
/**
* The expected structure of a screenshot element
*/
- private $_screenshotStruct = array(
+ private $screenshotStruct = array(
'description' => '',
'path' => ''
);
@@ -318,7 +318,7 @@ class ElggPluginManifest {
$normalized = array();
foreach ($ss as $s) {
- $normalized[] = $this->buildStruct($this->_screenshotStruct, $s);
+ $normalized[] = $this->buildStruct($this->screenshotStruct, $s);
}
return $normalized;
@@ -347,7 +347,7 @@ class ElggPluginManifest {
$normalized = array();
foreach ($provides as $provide) {
- $normalized[] = $this->buildStruct($this->_depsProvidesStruct, $provide);
+ $normalized[] = $this->buildStruct($this->depsProvidesStruct, $provide);
}
return $normalized;
@@ -385,19 +385,19 @@ class ElggPluginManifest {
switch ($req['type']) {
case 'elgg_version':
case 'elgg_release':
- $struct = $this->_depsRequiresStructElgg;
+ $struct = $this->depsRequiresStructElgg;
break;
case 'plugin':
- $struct = $this->_depsRequiresStructPlugin;
+ $struct = $this->depsRequiresStructPlugin;
break;
case 'php_extension':
- $struct = $this->_depsRequiresStructPhpExtension;
+ $struct = $this->depsRequiresStructPhpExtension;
break;
case 'php_ini':
- $struct = $this->_depsRequiresStructPhpIni;
+ $struct = $this->depsRequiresStructPhpIni;
// also normalize boolean values
if (isset($req['value'])) {
@@ -474,7 +474,7 @@ class ElggPluginManifest {
$normalized = array();
foreach ($conflicts as $conflict) {
- $normalized[] = $this->buildStruct($this->_depsConflictsStruct, $conflict);
+ $normalized[] = $this->buildStruct($this->depsConflictsStruct, $conflict);
}
return $normalized;