diff --git a/class/AASkillsCalculator.php b/class/AASkillsCalculator.php
index 4b96422..891032c 100644
--- a/class/AASkillsCalculator.php
+++ b/class/AASkillsCalculator.php
@@ -7,7 +7,7 @@
class AASkillsCalculator {
- var $_xml; // Contenu xml
+ private $_xml; // Contenu xml
function AASkillsCalculator ($xml="xml/aa_skillsLists.xml") {
// Chargement du XML
@@ -18,7 +18,7 @@ class AASkillsCalculator {
/*
Return the calculator's HTML
*/
- function getTree() {
+ public function getTree() {
// Affichage de la page
$html = '
';
$html .= '
You can still use 23 points.
';
@@ -41,7 +41,7 @@ class AASkillsCalculator {
/*
Return one tree's HTML
*/
- function createTree() {
+ private function createTree() {
$tree = $this->_xml->getElementsByTagName('ecole');
$html = $this->getSpec($tree);
$html .= '';
@@ -55,7 +55,7 @@ class AASkillsCalculator {
Return the skills's HTML from one tree
@tree : Tree's XML node (ecole)
*/
- function getSkills($node) {
+ private function getSkills($node) {
$html ='';
foreach ($node as $branch) {
$html .= '
';
@@ -71,7 +71,7 @@ class AASkillsCalculator {
Return the list of the skill trees
@node : Tree's XML node (ecole)
*/
- function getSpec($node) {
+ private function getSpec($node) {
$html = '