} else {
if (isset(TBase::$tmethod[$ftype])) {
$func = 'read'.TBase::$tmethod[$ftype];
- $xter += $input->$func($this->$var);
+ $xfer += $input->$func($this->$var);
} else {
switch ($ftype) {
case TType::STRUCT:
$xfer += $output->writeFieldBegin($var, $ftype, $fid);
if (isset(TBase::$tmethod[$ftype])) {
$func = 'write'.TBase::$tmethod[$ftype];
- $xter += $output->$func($this->$var);
+ $xfer += $output->$func($this->$var);
} else {
switch ($ftype) {
case TType::STRUCT:
} else {
if (isset(TBase::$tmethod[$ftype])) {
$func = 'read'.TBase::$tmethod[$ftype];
- $xter += $input->$func($this->$var);
+ $xfer += $input->$func($this->$var);
} else {
switch ($ftype) {
case TType::STRUCT:
$xfer += $output->writeFieldBegin($var, $ftype, $fid);
if (isset(TBase::$tmethod[$ftype])) {
$func = 'write'.TBase::$tmethod[$ftype];
- $xter += $output->$func($this->$var);
+ $xfer += $output->$func($this->$var);
} else {
switch ($ftype) {
case TType::STRUCT: