* @param $stack Optional variable stack to look in
* @return $content Content of the variable or null if not found
*/
- public function readVariable ($var, $stack = NULL) {
+ protected function readVariable ($var, $stack = NULL) {
// First everything is not found
$content = NULL;
} // END - if
// Iterate through all general variables
- foreach ($this->getVarStack('general') as $index=>$currVariable) {
+ foreach ($this->getVarStack('general') as $index => $currVariable) {
// Compile the value
$value = $this->compileRawCode($this->readVariable($currVariable['name']), true);