<function name="rpcf_get_users_count" id="0x2011"> <input> <integer name="card_user" /> </input> <output> <integer name="count" /> </output> </function>
function rpcf_get_users_count($card_user=0) { //0x2011 $ret=0; if (!$this->connection->urfa_call(0x2011)) { print "Error calling function ". __FUNCTION__ ."\n"; return FALSE; } $packet = $this->connection->getPacket(); $packet->DataSetInt($card_user); $this->connection->urfa_send_param($packet); if ($x = $this->connection->urfa_get_data()){ $ret = $x->DataGetInt(); } return $ret; }