XML

    <function name="rpcf_user5_get_user_group_list" id="-0x401c">
      <input>
      </input>
      <output>
	     <integer name="groups_count" />
	     <for name="i" from="0" count="groups_count">
	          <integer name="id" array_index="i" />
	     </for>
      </output>
    </function>

PHP

	function rpcf_user5_get_user_group_list() { //-0x401c
		$ret=array();
		if (!$this->connection->urfa_call(-0x401c)) {
			print "Error calling function ". __FUNCTION__ ."\n";
			return FALSE;
		}
		$x = $this->connection->urfa_get_data();
		$ret['count'] = $x->DataGetInt();
		for ($i=0;$i<$ret['count'];$i++) {
			$group['id'] = $x->DataGetInt();
			$ret['groups'][]=$group;
		}
//		$this->connection->urfa_get_data();
		return $ret;
	}
 
/home/u18456/wiki.flintnet.ru/www/data/pages/function_user5/function_name_rpcf_user5_get_user_group_list_id_-0x401c.txt · Последние изменения: 2009/07/24 09:29 От swibl
 
За исключением случаев, когда указано иное, содержимое этой вики предоставляется на условиях следующей лицензии: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