public function changePhoneNumber($oEntity) { $aData = array(); $aData['id'] = $oEntity->user_param_id; $aData['phone_number'] = $oEntity->phone_number; return parent::editRow($aData); }
public function editRow($oEntity) { $aData = array(); $aData['id'] = $oEntity->id; $aData['email_address'] = $oEntity->email_address; if ($this->_sAuthColumn === 'nick') { if ($oEntity->nick === '') { $aData['nick'] = null; } else { $aData['nick'] = $oEntity->nick; } } $aData['active'] = $oEntity->active; $aData['updated_date'] = time(); return parent::editRow($aData); }