/**
  * makeSoapVarForDelete
  *
  * Helper method that creates a SoapVar object for purposes of deletion
  *
  * @access protected
  * @return void
  */
 protected function makeSoapVarForDelete()
 {
     $nullValues = array(null, '');
     $pks = $this->getPrimaryKeys();
     foreach ($pks as $pk) {
         if (in_array($this->data[$pk], $nullValues)) {
             throw new ETException('Primary key ' . $pk . ' not set.');
         }
     }
     $deo = new ExactTarget_DataExtensionObject();
     $deo->CustomerKey = $this->customerKey;
     $deo->Keys = array();
     foreach ($pks as $pk) {
         $deo->Keys[] = ETCore::newAPIProperty($pk, $this->data[$pk]);
     }
     return ETCore::toSoapVar($deo, 'DataExtensionObject');
 }