protected function getTemplateVariable($name, $default = null)
    {
        return array_key_exists($name, $this->templateVars)?$this->templateVars[$name]:$default;
    }
protected function getTemplateVariable($name, $default = null)
    {
        return array_key_exists($name, $this->templateVars)?$this->templateVars[$name]:$default;
    }
protected function getTemplateVariable ( $ name , $ default = null ) { return array_key_exists ( $ name , $ this -> templateVars ) ? $ this -> templateVars [ $ name ] : $ default ; }
Used in datasource methods

@param string $name
@param mixed $default
@return mixed
Used in datasource methods