/** * Returns the data structure * behind the specified name. * Looks first in the local variables, * then in the data context of the element. * * @param string $name * @return mixed */ public function getData($name) { //Treat plain names return $this->view->fetchData($name); }