protected function get($name) {
$current = $this->env;

$isArguments = $name == $this->vPrefix . 'arguments';
while ($current) {
if ($isArguments && isset($current->arguments)) {
return array('list', ' ', $current->arguments);
}

if (isset($current->store[$name]))
return $current->store[$name];
else {
$current = isset($current->storeParent) ?
$current->storeParent : $current->parent;
}
}

$this->throwError("variable $name is undefined");
}
protected function get($name) {
$current = $this->env;

$isArguments = $name == $this->vPrefix . 'arguments';
while ($current) {
if ($isArguments && isset($current->arguments)) {
return array('list', ' ', $current->arguments);
}

if (isset($current->store[$name]))
return $current->store[$name];
else {
$current = isset($current->storeParent) ?
$current->storeParent : $current->parent;
}
}

$this->throwError("variable $name is undefined");
}
protected function get ( $ name ) { $ current = $ this -> env ; $ isArguments = $ name == $ this -> vPrefix . 'arguments' ; while ( $ current ) { if ( $ isArguments && isset ( $ current -> arguments ) ) { return array ( 'list' , ' ' , $ current -> arguments ) ; } if ( isset ( $ current -> store [ $ name ] ) ) return $ current -> store [ $ name ] ; else { $ current = isset ( $ current -> storeParent ) ? $ current -> storeParent : $ current -> parent ; } } $ this -> throwError ( "variable $name is undefined" ) ; }
get the highest occurrence entry for a name
get the highest occurrence entry for a name