Exemple #1
0
 /**
  * Send an XML frame to the server.
  * This method sends an EPP frame to the server.
  * @param string the XML data to send
  * @throws Exception when it doesn't complete the write to the socket
  * @return boolean the result of the fwrite() operation
  */
 function sendFrame($xml)
 {
     return Net_EPP_Protocol::sendFrame($this->socket, $xml);
 }
Exemple #2
0
 /**
  * Send an XML frame to the server.
  * This method sends an EPP frame to the server.
  * @param string the XML data to send
  * @throws Exception when it doesn't complete the write to the socket
  * @return boolean the result of the fwrite() operation
  */
 function sendFrame($xml)
 {
     return Net_EPP_Protocol::sendFrame($this->socket, is_object($xml) ? $xml->saveXML() : $xml);
 }