Subversion Repositories ALCASAR

Rev

Rev 775 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 775 Rev 776
Line 74... Line 74...
74
		}
74
		}
75
		return false;
75
		return false;
76
	}
76
	}
77
	public function __set($attr, $value){
77
	public function __set($attr, $value){
78
	/*
78
	/*
79
	A FAIRE
-
 
-
 
79
	Ne prend pas en compte les section contenant un "-". Pour ce cas utiliser la méthode setSection('sectionName', 'myvalue').
80
	*/
80
	*/
-
 
81
			$this->setSection($sectionName, $value);
-
 
82
			exit('ee');
-
 
83
	}
-
 
84
	public function setSection($sectionName, $value){
-
 
85
		if (array_key_exists($sectionName, $this->_sections)){
-
 
86
			$this->_sections[$sectionName] = $value;
-
 
87
		}
81
	}
88
	}
82
	public function load($confFile){
89
	public function load($confFile){
83
		// use here the parsing class
90
		// use here the parsing class
84
		require_once("configreader.php");
91
		require_once("configreader.php");
85
		
92