diff --git a/functions/ming.xml b/functions/ming.xml index f208e4a4ad..0a6e086dd8 100755 --- a/functions/ming.xml +++ b/functions/ming.xml @@ -1,5 +1,5 @@ - + Ming functions for Flash Ming (flash) @@ -3148,7 +3148,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); void swfsprite->add - ressource object + resource object &warn.experimental.func; diff --git a/functions/misc.xml b/functions/misc.xml index ac72c02241..1d019481b8 100644 --- a/functions/misc.xml +++ b/functions/misc.xml @@ -1,5 +1,5 @@ - + Miscellaneous functions Misc. @@ -118,7 +118,7 @@ <function>constant</function> example - + mnoGoSearch Functions mnoGoSearch @@ -227,10 +227,10 @@ Example: - + = 30111) { - print "Total number of urls in database: ".Udm_Get_Doc_Count($udm)."
\n"; + if (udm_api_version() >= 30111) { + print "Total number of urls in database: ".udm_get_doc_count($udm)."
\n"; } ]]>
@@ -279,6 +279,7 @@ + @@ -294,15 +296,17 @@ '> Root > Sport > Auto > Ferrari' - <?php - $cat_path_arr=Udm_Cat_Path($udm_agent,$cat); - $cat_path=''; - for ($i=0; $i<count($cat_path_arr); $i+=2) { - $path=$cat_path_arr[$i]; - $name=$cat_path_arr[$i+1]; - $cat_path .= " > <a href=\"$PHP_SELF?cat=$path\">$name</a> "; - } - > + $name "; + } +?> +]]> @@ -341,6 +345,7 @@ + Following is an example of displaying links of the current level in format: @@ -359,15 +365,17 @@ Following is an example of displaying links of the current level in format: - <?php - $cat_list_arr=Udm_Cat_List($udm_agent,$cat); - $cat_list=''; - for ($i=0; $i<count($cat_list_arr); $i+=2) { - $path=$cat_list_arr[$i]; - $name=$cat_list_arr[$i+1]; - $cat_list .= "<a href=\"$PHP_SELF?cat=$path\">$name</a><br>"; - } - > +$name
"; + } +?> +]]>
@@ -905,11 +913,11 @@ Following is an example of displaying links of the current level in format: Example: - - if (! Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_DB,'','',1)) { - printf("Error #%d: '%s'\n",Udm_Errno($udm),Udm_Error($udm)); - exit; - } + +if (! udm_load_ispell_data($udm,UDM_ISPELL_TYPE_DB,'','',1)) { + printf("Error #%d: '%s'\n", udm_errno($udm), udm_error($udm)); + exit; +} @@ -930,11 +938,11 @@ Following is an example of displaying links of the current level in format: Example: - - if ((! Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_AFFIX,'en','/opt/ispell/en.aff',0)) || - (! Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_AFFIX,'ru','/opt/ispell/ru.aff',0)) || - (! Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_SPELL,'en','/opt/ispell/en.dict',0)) || - (! Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_SPELL,'ru','/opt/ispell/ru.dict',1))) { + + if ((! udm_load_ispell_data($udm,UDM_ISPELL_TYPE_AFFIX,'en','/opt/ispell/en.aff',0)) || + (! udm_load_ispell_data($udm,UDM_ISPELL_TYPE_AFFIX,'ru','/opt/ispell/ru.aff',0)) || + (! udm_load_ispell_data($udm,UDM_ISPELL_TYPE_SPELL,'en','/opt/ispell/en.dict',0)) || + (! udm_load_ispell_data($udm,UDM_ISPELL_TYPE_SPELL,'ru','/opt/ispell/ru.dict',1))) { exit; } @@ -1014,11 +1022,13 @@ Following is an example of displaying links of the current level in format: Example: - - if (! Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_SERVER,'','',1)) { - printf("Error loading ispell data from server<br>\n"); - exit; - } + +\n"); + exit; +} +]]> @@ -1293,13 +1303,11 @@ Following is an example of displaying links of the current level in format: - - udm_check_stored - Open connection to stored + Check connection to stored @@ -1318,13 +1326,11 @@ Following is an example of displaying links of the current level in format: - - udm_close_stored - Open connection to stored + Close connection to stored @@ -1342,8 +1348,6 @@ Following is an example of displaying links of the current level in format: - - udm_crc32 @@ -1366,8 +1370,6 @@ Following is an example of displaying links of the current level in format: - - udm_open_stored @@ -1390,8 +1392,6 @@ Following is an example of displaying links of the current level in format: - -
+ mSQL functions mSQL @@ -322,7 +322,11 @@ string msql_error - + int + + link_identifier + + diff --git a/functions/mysql.xml b/functions/mysql.xml index bf026b6d2a..db4dac9ed0 100644 --- a/functions/mysql.xml +++ b/functions/mysql.xml @@ -1,5 +1,5 @@ - + MySQL Functions MySQL @@ -455,7 +455,7 @@ mysql_close($link); MySQL data seek example