public function setData($key, $value)
    {
        gplcart_array_set($this->data, $key, $value);
        return $this->data;
    }
public function setData($key, $value)
    {
        gplcart_array_set($this->data, $key, $value);
        return $this->data;
    }
public function setData ( $ key , $ value ) { gplcart_array_set ( $ this -> data , $ key , $ value ) ; return $ this -> data ; }
Sets a template variable
@param string|array $key
@param mixed $value
@return array
Sets a template variable