File tree 1 file changed +10
-13
lines changed
1 file changed +10
-13
lines changed Original file line number Diff line number Diff line change 5
5
* @author Herberth Amaral
6
6
* @author Wesley Willians
7
7
* @author Alê Borba
8
- * @version 1.0
8
+ * @author Diego Puddu
9
+ * @version 1.2
9
10
* @license <a href="http://www.opensource.org/licenses/bsd-license.php">BSD License</a>
10
11
*/
11
12
/**
@@ -948,24 +949,20 @@ public function queryInstruction($token,$client=null)
948
949
$ xml = new SimpleXmlElement ($ response ->resposta );
949
950
return $ xml ;
950
951
}
951
-
952
- /**
953
- * Method setRecebedor()
954
- *
952
+
953
+ /**
954
+ * Method setReceiver()
955
955
* Set the Recebedor data
956
956
*
957
- * @param array $recebedor: ['LoginMoIP']
958
- * ['Apelido']
957
+ * @param array $receiver: ['LoginMoIP']['Apelido']
959
958
* @access public
960
959
*/
961
- //Diego Puddu 08/07/2011
962
- public function setRecebedor ($ recebedor ){
963
- if (!isset ($ this ->xml ->InstrucaoUnica ->Recebedor )){
960
+ public function setReceiver ($ receiver ){
961
+ if (!isset ($ this ->xml ->InstrucaoUnica ->Recebedor )){
964
962
$ this ->xml ->InstrucaoUnica ->addChild ('Recebedor ' );
965
- (isset ($ recebedor ['LoginMoIP ' ]))?$ this ->xml ->InstrucaoUnica ->Recebedor ->addChild ( 'LoginMoIP ' , $ recebedor ['LoginMoIP ' ] ):null ;
966
- (isset ($ recebedor ['Apelido ' ]))?$ this ->xml ->InstrucaoUnica ->Recebedor ->addChild ( 'Apelido ' , $ recebedor ['Apelido ' ] ):null ;
963
+ (isset ($ receiver ['LoginMoIP ' ]))?$ this ->xml ->InstrucaoUnica ->Recebedor ->addChild ( 'LoginMoIP ' , $ receiver ['LoginMoIP ' ] ):null ;
964
+ (isset ($ receiver ['Apelido ' ]))?$ this ->xml ->InstrucaoUnica ->Recebedor ->addChild ( 'Apelido ' , $ receiver ['Apelido ' ] ):null ;
967
965
}
968
966
}
969
-
970
967
}
971
968
?>
You can’t perform that action at this time.
0 commit comments