예제 #1
0
 function getVariableFromScope($variableName)
 {
     $result = $this->getVariableFromScopeInternal($variableName);
     if ($result == NULL) {
         if ($this->parentScope != NULL) {
             $result = $this->parentScope->getVariableFromScope($variableName);
         }
     }
     return $result;
 }
 function getVariableFromScopes($variableName)
 {
     return $this->currentScope->getVariableFromScope($variableName);
 }