XML

  <function name="rpcf_get_doc_types_list" id="0x7024">
    <input/>
    <output>
      <integer name="count" />
      <for name="i" from="0" count="count">
        <string name="doc_name" array_index="i" />
        <integer name="id" array_index="i" />
      </for>
    </output>
  </function>

PHP

        function rpcf_get_doc_types_list() { //0x7024
                $ret=array();
                if (!$this->connection->urfa_call(0x7024)) {
                        print "Error calling function ". __FUNCTION__ ."\n";
                        return FALSE;
                }
                $x = $this->connection->urfa_get_data();// Types count
                $count = $x->DataGetInt();
                $ret['count'] = $count;
                for ($i=0;$i<$count;$i++) {
//                      $x = $this->connection->urfa_get_data();
                        $type['doc_name']=$x->DataGetString();
                        $type['id']=$x->DataGetInt();
 
                        $ret['doc_types'][]=$type;
                }
//              $this->connection->urfa_get_data();
                return $ret;
        }
 
/home/u18456/wiki.flintnet.ru/www/data/pages/function_admin/function_name_rpcf_get_doc_types_list_id_0x7024.txt · Последние изменения: 2009/04/10 15:30 От mikkey_finn
 
За исключением случаев, когда указано иное, содержимое этой вики предоставляется на условиях следующей лицензии:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki