comparison runtime/autoload/phpcomplete.vim @ 787:1a44839049ae v7.0229

updated for version 7.0229
author vimboss
date Sun, 19 Mar 2006 22:18:55 +0000
parents ba51f75bd4b5
children 23f82b5d2814
comparison
equal deleted inserted replaced
786:8f6a426bc1e0 787:1a44839049ae
1 " Vim completion script 1 " Vim completion script
2 " Language: PHP 2 " Language: PHP
3 " Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl ) 3 " Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
4 " Last Change: 2006 Mar 9 4 " Last Change: 2006 Mar ---
5 " 5 "
6 " 6 " TODO:
7 " - outside of <?php?> getting parent tag may cause problems. Heh, even in 7 " - Class aware completion:
8 " perfect conditions GetLastOpenTag doesn't cooperate... Inside of 8 " a) additional analize of tags file(s)
9 " phpStrings this can be even a bonus but outside of <?php?> it is not the 9 " b) "live" parsing of data, maybe with caching
10 " best situation 10 " - Switching to HTML (XML?) completion (SQL) inside of phpStrings
11 " - Switching to HTML completion (SQL) inside of phpStrings 11 " - allow also for XML completion
12 " - better 'info', 'menu'
13 " - outside of <?php?> getting parent tag may cause problems. Heh, even in
14 " perfect conditions GetLastOpenTag doesn't cooperate... Inside of
15 " phpStrings this can be even a bonus but outside of <?php?> it is not the
16 " best situation
12 17
13 function! phpcomplete#CompletePHP(findstart, base) 18 function! phpcomplete#CompletePHP(findstart, base)
14 if a:findstart 19 if a:findstart
15 unlet! b:php_menu 20 unlet! b:php_menu
16 " Check if we are inside of PHP markup 21 " Check if we are inside of PHP markup
17 let pos = getpos('.') 22 let pos = getpos('.')
18 let phpbegin = searchpairpos('<?', '', '?>', 'bWn','synIDattr(synID(line("."), col("."), 0), "name") =~? "string\|comment"') 23 let phpbegin = searchpairpos('<?', '', '?>', 'bWn',
19 let phpend = searchpairpos('<?', '', '?>', 'Wn','synIDattr(synID(line("."), col("."), 0), "name") =~? "string\|comment"') 24 \ 'synIDattr(synID(line("."), col("."), 0), "name") =~? "string\|comment"')
20 " TODO: deal with opened <? but without closing ?> 25 let phpend = searchpairpos('<?', '', '?>', 'Wn',
26 \ 'synIDattr(synID(line("."), col("."), 0), "name") =~? "string\|comment"')
21 27
22 if phpbegin == [0,0] && phpend == [0,0] 28 if phpbegin == [0,0] && phpend == [0,0]
23 " We are outside of any PHP markup. Complete HTML 29 " We are outside of any PHP markup. Complete HTML
24 let htmlbegin = htmlcomplete#CompleteTags(1, '') 30 let htmlbegin = htmlcomplete#CompleteTags(1, '')
25 let cursor_col = pos[2] 31 let cursor_col = pos[2]
47 if exists("b:php_menu") 53 if exists("b:php_menu")
48 return b:php_menu 54 return b:php_menu
49 endif 55 endif
50 " Initialize base return lists 56 " Initialize base return lists
51 let res = [] 57 let res = []
52 let res2 = []
53 " a:base is very short - we need context 58 " a:base is very short - we need context
54 if exists("b:compl_context") 59 if exists("b:compl_context")
55 let context = b:compl_context 60 let context = b:compl_context
56 unlet! b:compl_context 61 unlet! b:compl_context
57 endif 62 endif
58 63
59 let scontext = substitute(context, '\$\?[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*$', '', '') 64 if !exists('g:php_builtin_functions')
65 call phpcomplete#LoadData()
66 endif
60 67
61 if scontext =~ 'new\s*$' 68 let scontext = substitute(context,
69 \ '\$\?[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*$', '', '')
70
71 if scontext =~ '\(=\s*new\|extends\)\s\+$'
62 " Complete class name 72 " Complete class name
63 " Internal solution for finding classes in current file. 73 " Internal solution for finding classes in current file.
64 let file = getline(1, '$') 74 let file = getline(1, '$')
65 call filter(file, 'v:val =~ "class\\s\\+[a-zA-Z_\\x7f-\\xff][a-zA-Z_0-9\\x7f-\\xff]*\\s*("') 75 call filter(file,
76 \ 'v:val =~ "class\\s\\+[a-zA-Z_\\x7f-\\xff][a-zA-Z_0-9\\x7f-\\xff]*\\s*("')
66 let fnames = join(map(tagfiles(), 'escape(v:val, " \\")')) 77 let fnames = join(map(tagfiles(), 'escape(v:val, " \\")'))
67 let jfile = join(file, ' ') 78 let jfile = join(file, ' ')
68 let int_values = split(jfile, 'class\s\+') 79 let int_values = split(jfile, 'class\s\+')
69 let int_classes = {} 80 let int_classes = {}
70 for i in int_values 81 for i in int_values
71 let c_name = matchstr(i, '^[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*') 82 let c_name = matchstr(i, '^[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*')
72 let int_classes[c_name] = '' 83 if c_name != ''
84 let int_classes[c_name] = ''
85 endif
73 endfor 86 endfor
74 87
75 " Prepare list of functions from tags file 88 " Prepare list of functions from tags file
76 let ext_classes = {} 89 let ext_classes = {}
77 let fnames = join(map(tagfiles(), 'escape(v:val, " \\")')) 90 let fnames = join(map(tagfiles(), 'escape(v:val, " \\")'))
78 if fnames != '' 91 if fnames != ''
79 exe 'silent! vimgrep /^'.a:base.'.*\tc\(\t\|$\)/j '.fnames 92 exe 'silent! vimgrep /^'.a:base.'.*\tc\(\t\|$\)/j '.fnames
80 let qflist = getqflist() 93 let qflist = getqflist()
81 for field in qflist 94 for field in qflist
82 let item = matchstr(field['text'], '^[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*') 95 " [:space:] thing: we don't have to be so strict when
83 " Don't show name - in PHP classes usually are in their 96 " dealing with tags files - entries there were already
84 " own files, showing names will only add clutter 97 " checked by ctags.
85 " let fname = matchstr(field['text'], 98 let item = matchstr(field['text'], '^[^[:space:]]\+')
86 " \ '^[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s\+\zs\f\+\ze')
87 let ext_classes[item] = '' 99 let ext_classes[item] = ''
88 endfor 100 endfor
89 endif 101 endif
90 102
91 call extend(int_classes, ext_classes) 103 call extend(int_classes, ext_classes)
92 104
93 for m in sort(keys(int_classes)) 105 for m in sort(keys(int_classes))
94 if m =~ '^'.a:base 106 if m =~ '^'.a:base
95 call add(res, m) 107 call add(res, m)
96 elseif m =~ a:base
97 call add(res2, m)
98 endif 108 endif
99 endfor 109 endfor
100 110
101 let int_list = res + res2 111 let int_list = res
102 112
103 let final_menu = [] 113 let final_menu = []
104 for i in int_list 114 for i in int_list
105 let final_menu += [{'word':i, 'menu':int_classes[i]}, 'kind':'c'] 115 let final_menu += [{'word':i, 'kind':'c'}]
106 endfor 116 endfor
107 117
108 return final_menu 118 return final_menu
109 119
110 elseif scontext =~ '\(->\|::\)$' 120 elseif scontext =~ '\(->\|::\)$'
111 " Complete user functions and variables 121 " Complete user functions and variables
112 " Internal solution for current file. 122 " Internal solution for current file.
113 " That seems as unnecessary repeating of functions but there are 123 " That seems as unnecessary repeating of functions but there are
114 " few not so subtle differences as not appeding of $ and addition 124 " few not so subtle differences as not appending of $ and addition
115 " of 'kind' tag (not necessary in regular completion) 125 " of 'kind' tag (not necessary in regular completion)
126 if a:base =~ '^\$'
127 let adddollar = '$'
128 else
129 let adddollar = ''
130 endif
116 let file = getline(1, '$') 131 let file = getline(1, '$')
117 let jfile = join(file, ' ') 132 let jfile = join(file, ' ')
118 let int_vals = split(jfile, '\$') 133 let sfile = split(jfile, '\$')
119 "call map(int_values, 'matchstr(v:val, "^[a-zA-Z_\\x7f-\\xff][a-zA-Z_0-9\\x7f-\\xff]*")') 134 let int_vars = {}
120 let int_values = [] 135 for i in sfile
121 for i in int_vals
122 if i =~ '^\$[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s*=\s*new' 136 if i =~ '^\$[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s*=\s*new'
123 let val = matchstr(i, '^\$[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*').'->' 137 let val = matchstr(i, '^[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*').'->'
124 else 138 else
125 let val = matchstr(i, '^\$[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*') 139 let val = matchstr(i, '^[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*')
126 endif 140 endif
127 let int_values += [val] 141 if val !~ ''
142 let int_vars[adddollar.val] = ''
143 endif
128 endfor 144 endfor
129 145
130 let int_vars = {}
131 for i in int_values
132 if i != ''
133 let int_vars[i] = ''
134 endif
135 endfor
136
137 " ctags has good support for PHP, use tags file for external 146 " ctags has good support for PHP, use tags file for external
138 " variables 147 " variables
139 let fnames = join(map(tagfiles(), 'escape(v:val, " \\")')) 148 let fnames = join(map(tagfiles(), 'escape(v:val, " \\")'))
140 let ext_vars = {} 149 let ext_vars = {}
141 if fnames != '' 150 if fnames != ''
142 let sbase = substitute(a:base, '^\$', '', '') 151 let sbase = substitute(a:base, '^\$', '', '')
143 exe 'silent! vimgrep /^'.sbase.'.*\tv\(\t\|$\)/j '.fnames 152 exe 'silent! vimgrep /^'.sbase.'.*\tv\(\t\|$\)/j '.fnames
144 let qflist = getqflist() 153 let qflist = getqflist()
145 for field in qflist 154 for field in qflist
146 " Add space to make more space between 'word' and 'menu' 155 let item = matchstr(field['text'], '^[^[:space:]]\+')
147 let item = matchstr(field['text'], '^\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\ze')
148 " Filename is unnecessary - and even darkens situation
149 " let fname = ' '.matchstr(field['text'], '^[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s\+\zs\f\+\ze')
150 " Add -> if it is possible object declaration 156 " Add -> if it is possible object declaration
151 if field['text'] =~ item.'\s*=\s*new\s*' 157 let classname = ''
158 if field['text'] =~ item.'\s*=\s*new\s\+'
152 let item = item.'->' 159 let item = item.'->'
153 let classname = matchstr(field['text'], 160 let classname = matchstr(field['text'],
154 \ '=\s*new\s*\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\ze') 161 \ '=\s*new\s\+\zs[a-zA-Z_0-9\x7f-\xff]\+\ze')
155 endif 162 endif
156 let ext_vars[item] = classname 163 let ext_vars[adddollar.item] = classname
157 endfor 164 endfor
158 endif 165 endif
159 166
160 " Now we have all variables in int_vars dictionary 167 " Now we have all variables in int_vars dictionary
161 call extend(int_vars, ext_vars) 168 call extend(int_vars, ext_vars)
162 169
163 " Internal solution for finding functions in current file. 170 " Internal solution for finding functions in current file.
164 let file = getline(1, '$') 171 let file = getline(1, '$')
165 call filter(file, 'v:val =~ "function\\s\\+&\\?[a-zA-Z_\\x7f-\\xff][a-zA-Z_0-9\\x7f-\\xff]*\\s*("') 172 call filter(file,
173 \ 'v:val =~ "function\\s\\+&\\?[a-zA-Z_\\x7f-\\xff][a-zA-Z_0-9\\x7f-\\xff]*\\s*("')
166 let fnames = join(map(tagfiles(), 'escape(v:val, " \\")')) 174 let fnames = join(map(tagfiles(), 'escape(v:val, " \\")'))
167 let jfile = join(file, ' ') 175 let jfile = join(file, ' ')
168 let int_values = split(jfile, 'function\s\+') 176 let int_values = split(jfile, 'function\s\+')
169 let int_functions = {} 177 let int_functions = {}
170 for i in int_values 178 for i in int_values
171 let f_name = matchstr(i, '^&\?\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\ze') 179 let f_name = matchstr(i,
172 let f_args = matchstr(i, '^&\?[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s*(\zs.\{-}\ze)') 180 \ '^&\?\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\ze')
173 let int_functions[f_name.'('] = f_args 181 let f_args = matchstr(i,
174 endfor 182 \ '^&\?[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s*(\zs.\{-}\ze)\_s*{')
175
176 " Prepare list of functions from tags file
177 let ext_functions = {}
178 if fnames != ''
179 exe 'silent! vimgrep /^'.a:base.'.*\tf\(\t\|$\)/j '.fnames
180 let qflist = getqflist()
181 let ext_functions = {}
182 for field in qflist
183 " File name
184 let item = matchstr(field['text'], '^[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*')
185 let fname = matchstr(field['text'], '^[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s\+\zs\f\+\ze')
186 let prototype = matchstr(field['text'], 'function\s\+[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s*(\zs.\{-}\ze)')
187 if prototype == ''
188 let prototype = '()'
189 endif
190 let ext_functions[item.'('] = prototype.' - '.fname
191 endfor
192 endif
193
194 let all_values = {}
195 call extend(all_values, int_functions)
196 call extend(all_values, ext_functions)
197 call extend(all_values, int_vars)
198
199 for m in sort(keys(all_values))
200 if m =~ '^'.a:base
201 call add(res, m)
202 elseif m =~ a:base
203 call add(res2, m)
204 endif
205 endfor
206
207 let start_list = res + res2
208
209 let final_list = []
210 for i in start_list
211 if has_key(int_vars, i)
212 let final_list += [{'word':i, 'menu':all_values[i], 'kind':'v'}]
213 else
214 let final_list += [{'word':i, 'menu':all_values[i], 'kind':'f'}]
215 endif
216 endfor
217
218 return final_list
219 endif
220
221 if a:base =~ '^\$'
222 " Complete variables
223 let b:php_builtin_vars = ['$GLOBALS', '$_SERVER', '$_GET', '$_POST', '$_COOKIE',
224 \ '$_FILES', '$_ENV', '$_REQUEST', '$_SESSION', '$HTTP_SERVER_VARS',
225 \ '$HTTP_ENV_VARS', '$HTTP_COOKIE_VARS', '$HTTP_GET_VARS', '$HTTP_POST_VARS',
226 \ '$HTTP_POST_FILES', '$HTTP_SESSION_VARS', '$php_errormsg', '$this',
227 \ ]
228
229 " Internal solution for current file.
230 let file = getline(1, '$')
231 let jfile = join(file, ' ')
232 let int_vals = split(jfile, '\ze\$')
233 " call map(int_values, 'matchstr(v:val, "^\\$[a-zA-Z_\\x7f-\\xff][a-zA-Z_0-9\\x7f-\\xff]*")')
234 let int_values = []
235 for i in int_vals
236 if i =~ '^\$[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s*=\s*new'
237 let val = matchstr(i, '^\$[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*').'->'
238 else
239 let val = matchstr(i, '^\$[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*')
240 endif
241 let int_values += [val]
242 endfor
243
244
245 "call map(int_values, '"$".v:val')
246 "
247 let int_values += b:php_builtin_vars
248
249
250 for m in sort(int_values)
251 if m =~ '^'.a:base
252 call add(res, m)
253 elseif m =~ a:base
254 call add(res2, m)
255 endif
256 endfor
257
258 let int_list = res + res2
259
260 let int_dict = []
261 for i in int_list
262 let int_dict += [{'word':i, 'kind':'v'}]
263 endfor
264
265 " ctags has good support for PHP, use tags file for external
266 " variables
267 let fnames = join(map(tagfiles(), 'escape(v:val, " \\")'))
268 if fnames != ''
269 let sbase = substitute(a:base, '^\$', '', '')
270 exe 'silent! vimgrep /^'.sbase.'.*\tv\(\t\|$\)/j '.fnames
271 let qflist = getqflist()
272 let ext_dict = []
273 for field in qflist
274 " Filename is unnecessary - and even darkens situation
275 " let m_menu = matchstr(field['text'],
276 " \ '^[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s\+\zs\f\+\ze')
277 let m_menu = ''
278 let item = '$'.matchstr(field['text'],
279 \ '^\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\ze')
280 " Add -> if it is possible object declaration
281 if field['text'] =~ item.'\s*=\s*new\s*'
282 let item = item.'->'
283 let classname = matchstr(field['text'],
284 \ '=\s*new\s*\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\ze')
285 let m_menu = classname
286 endif
287
288 let ext_dict += [{'word':item, 'menu':m_menu, 'kind':'v'}]
289 endfor
290 else
291 let ext_dict = []
292 endif
293
294 let b:php_menu = int_dict + ext_dict
295
296 return b:php_menu
297
298 else
299 " Complete everything else -
300 " + functions, DONE
301 " + keywords of language DONE
302 " + defines (constant definitions), DONE
303 " + extend keywords for predefined constants, DONE
304 " + classes (after new), DONE
305 " - limit choice after -> and :: to funcs and vars
306 if !exists('b:php_builtin_functions')
307 call phpcomplete#LoadData()
308 endif
309
310 " Internal solution for finding functions in current file.
311 let file = getline(1, '$')
312 call filter(file, 'v:val =~ "function\\s\\+&\\?[a-zA-Z_\\x7f-\\xff][a-zA-Z_0-9\\x7f-\\xff]*\\s*("')
313 let fnames = join(map(tagfiles(), 'escape(v:val, " \\")'))
314 let jfile = join(file, ' ')
315 let int_values = split(jfile, 'function\s\+')
316 let int_functions = {}
317 for i in int_values
318 let f_name = matchstr(i, '^&\?\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\ze')
319 let f_args = matchstr(i, '^&\?[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s*(\zs.\{-}\ze)')
320 let int_functions[f_name.'('] = f_args 183 let int_functions[f_name.'('] = f_args
321 endfor 184 endfor
322 185
323 " Prepare list of functions from tags file 186 " Prepare list of functions from tags file
324 let ext_functions = {} 187 let ext_functions = {}
325 if fnames != '' 188 if fnames != ''
326 exe 'silent! vimgrep /^'.a:base.'.*\tf\(\t\|$\)/j '.fnames 189 exe 'silent! vimgrep /^'.a:base.'.*\tf\(\t\|$\)/j '.fnames
327 let qflist = getqflist() 190 let qflist = getqflist()
328 for field in qflist 191 for field in qflist
329 " File name 192 " File name
330 let item = matchstr(field['text'], '^[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*') 193 let item = matchstr(field['text'], '^[^[:space:]]\+')
331 let fname = matchstr(field['text'], '^[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s\+\zs\f\+\ze') 194 let fname = matchstr(field['text'], '\t\zs\f\+\ze')
332 let prototype = matchstr(field['text'], 'function\s\+[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s*(\zs.\{-}\ze)') 195 let prototype = matchstr(field['text'],
333 if prototype == '' 196 \ 'function\s\+&\?[^[:space:]]\+\s*(\s*\zs.\{-}\ze\s*)\s*{\?')
334 let prototype = '()' 197 let ext_functions[item.'('] = prototype.') - '.fname
198 endfor
199 endif
200
201 let all_values = {}
202 call extend(all_values, int_functions)
203 call extend(all_values, ext_functions)
204 call extend(all_values, int_vars) " external variables are already in
205 call extend(all_values, g:php_builtin_object_functions)
206
207 for m in sort(keys(all_values))
208 if m =~ '\(^\|::\)'.a:base
209 call add(res, m)
210 endif
211 endfor
212
213 let start_list = res
214
215 let final_list = []
216 for i in start_list
217 if has_key(int_vars, i)
218 let class = ' '
219 if all_values[i] != ''
220 let class = i.' class '
335 endif 221 endif
336 let ext_functions[item.'('] = prototype.' - '.fname 222 let final_list += [{'word':i, 'info':class.all_values[i], 'kind':'v'}]
223 else
224 let final_list +=
225 \ [{'word':substitute(i, '.*::', '', ''),
226 \ 'info':i.all_values[i],
227 \ 'kind':'f'}]
228 endif
229 endfor
230
231 return final_list
232 endif
233
234 if a:base =~ '^\$'
235 " Complete variables
236 " Built-in variables {{{
237 let g:php_builtin_vars = {'$GLOBALS':'',
238 \ '$_SERVER':'',
239 \ '$_GET':'',
240 \ '$_POST':'',
241 \ '$_COOKIE':'',
242 \ '$_FILES':'',
243 \ '$_ENV':'',
244 \ '$_REQUEST':'',
245 \ '$_SESSION':'',
246 \ '$HTTP_SERVER_VARS':'',
247 \ '$HTTP_ENV_VARS':'',
248 \ '$HTTP_COOKIE_VARS':'',
249 \ '$HTTP_GET_VARS':'',
250 \ '$HTTP_POST_VARS':'',
251 \ '$HTTP_POST_FILES':'',
252 \ '$HTTP_SESSION_VARS':'',
253 \ '$php_errormsg':'',
254 \ '$this':''
255 \ }
256 " }}}
257
258 " Internal solution for current file.
259 let file = getline(1, '$')
260 let jfile = join(file, ' ')
261 let int_vals = split(jfile, '\ze\$')
262 let int_vars = {}
263 for i in int_vals
264 if i =~ '^\$[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s*=\s*new'
265 let val = matchstr(i,
266 \ '^\$[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*').'->'
267 else
268 let val = matchstr(i,
269 \ '^\$[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*')
270 endif
271 if val != ''
272 let int_vars[val] = ''
273 endif
274 endfor
275
276 call extend(int_vars,g:php_builtin_vars)
277
278 " ctags has good support for PHP, use tags file for external
279 " variables
280 let fnames = join(map(tagfiles(), 'escape(v:val, " \\")'))
281 let ext_vars = {}
282 if fnames != ''
283 let sbase = substitute(a:base, '^\$', '', '')
284 exe 'silent! vimgrep /^'.sbase.'.*\tv\(\t\|$\)/j '.fnames
285 let qflist = getqflist()
286 for field in qflist
287 let item = '$'.matchstr(field['text'], '^[^[:space:]]\+')
288 let m_menu = ''
289 " Add -> if it is possible object declaration
290 " How to detect if previous line is help line?
291 if field['text'] =~ item.'\s*=\s*new\s\+'
292 let item = item.'->'
293 let m_menu = matchstr(field['text'],
294 \ '=\s*new\s\+\zs[a-zA-Z_0-9\x7f-\xff]\+\ze')
295 endif
296 let ext_vars[item] = m_menu
297 endfor
298 endif
299
300 call extend(int_vars, ext_vars)
301 let g:a0 = keys(int_vars)
302
303 for m in sort(keys(int_vars))
304 if m =~ '^\'.a:base
305 call add(res, m)
306 endif
307 endfor
308
309 let int_list = res
310
311 let int_dict = []
312 for i in int_list
313 if int_vars[i] != ''
314 let class = ' '
315 if int_vars[i] != ''
316 let class = i.' class '
317 endif
318 let int_dict += [{'word':i, 'info':class.int_vars[i], 'kind':'v'}]
319 else
320 let int_dict += [{'word':i, 'kind':'v'}]
321 endif
322 endfor
323
324 return int_dict
325
326 else
327 " Complete everything else -
328 " + functions, DONE
329 " + keywords of language DONE
330 " + defines (constant definitions), DONE
331 " + extend keywords for predefined constants, DONE
332 " + classes (after new), DONE
333 " + limit choice after -> and :: to funcs and vars DONE
334
335 " Internal solution for finding functions in current file.
336 let file = getline(1, '$')
337 call filter(file, 'v:val =~ "function\\s\\+&\\?[a-zA-Z_\\x7f-\\xff][a-zA-Z_0-9\\x7f-\\xff]*\\s*("')
338 let fnames = join(map(tagfiles(), 'escape(v:val, " \\")'))
339 let jfile = join(file, ' ')
340 let int_values = split(jfile, 'function\s\+')
341 let int_functions = {}
342 for i in int_values
343 let f_name = matchstr(i,
344 \ '^&\?\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\ze')
345 let f_args = matchstr(i,
346 \ '^&\?[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s*(\s*\zs.\{-}\ze\s*)\_s*{')
347 let int_functions[f_name.'('] = f_args.')'
348 endfor
349
350 " Prepare list of functions from tags file
351 let ext_functions = {}
352 if fnames != ''
353 exe 'silent! vimgrep /^'.a:base.'.*\tf\(\t\|$\)/j '.fnames
354 let qflist = getqflist()
355 for field in qflist
356 " File name
357 let item = matchstr(field['text'], '^[^[:space:]]\+')
358 let fname = matchstr(field['text'], '\t\zs\f\+\ze')
359 let prototype = matchstr(field['text'],
360 \ 'function\s\+&\?[^[:space:]]\+\s*(\s*\zs.\{-}\ze\s*)\s*{\?')
361 let ext_functions[item.'('] = prototype.') - '.fname
337 endfor 362 endfor
338 endif 363 endif
339 364
340 " All functions 365 " All functions
341 call extend(int_functions, ext_functions) 366 call extend(int_functions, ext_functions)
342 call extend(int_functions, b:php_builtin_functions) 367 call extend(int_functions, g:php_builtin_functions)
343 368
344 " Internal solution for finding constants in current file 369 " Internal solution for finding constants in current file
345 let file = getline(1, '$') 370 let file = getline(1, '$')
346 call filter(file, 'v:val =~ "define\\s*("') 371 call filter(file, 'v:val =~ "define\\s*("')
347 let jfile = join(file, ' ') 372 let jfile = join(file, ' ')
349 let int_constants = {} 374 let int_constants = {}
350 for i in int_values 375 for i in int_values
351 let c_name = matchstr(i, '\(["'']\)\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\ze\1') 376 let c_name = matchstr(i, '\(["'']\)\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\ze\1')
352 " let c_value = matchstr(i, 377 " let c_value = matchstr(i,
353 " \ '\(["'']\)[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\1\s*,\s*\zs.\{-}\ze\s*)') 378 " \ '\(["'']\)[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\1\s*,\s*\zs.\{-}\ze\s*)')
354 let int_constants[c_name] = '' " c_value 379 if c_name != ''
380 let int_constants[c_name] = '' " c_value
381 endif
355 endfor 382 endfor
356 383
357 " Prepare list of constants from tags file 384 " Prepare list of constants from tags file
358 let fnames = join(map(tagfiles(), 'escape(v:val, " \\")')) 385 let fnames = join(map(tagfiles(), 'escape(v:val, " \\")'))
359 let ext_constants = {} 386 let ext_constants = {}
360 if fnames != '' 387 if fnames != ''
361 exe 'silent! vimgrep /^'.a:base.'.*\td\(\t\|$\)/j '.fnames 388 exe 'silent! vimgrep /^'.a:base.'.*\td\(\t\|$\)/j '.fnames
362 let qflist = getqflist() 389 let qflist = getqflist()
363 let ext_constants = {}
364 for field in qflist 390 for field in qflist
365 " File name 391 let item = matchstr(field['text'], '^[^[:space:]]\+')
366 let item = matchstr(field['text'], '^[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*')
367 " Origin of definition and value only are only darkening
368 " image - drop it but leave regexps. They may be needed in
369 " future.
370 " let fname = matchstr(field['text'],
371 " \ '^[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s\+\zs\f\+\ze')
372 " let cvalue = matchstr(field['text'],
373 " \ 'define\s*(\s*\(["'']\)[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\1\s*,\s*\zs.\{-}\ze\s*)')
374 let ext_constants[item] = '' 392 let ext_constants[item] = ''
375 endfor 393 endfor
376 endif 394 endif
377 395
378 " All constants 396 " All constants
379 call extend(int_constants, ext_constants) 397 call extend(int_constants, ext_constants)
380 " Treat keywords as constants 398 " Treat keywords as constants
381 call extend(int_constants, b:php_keywords)
382 399
383 let all_values = {} 400 let all_values = {}
384 401
385 " One big dictionary of functions 402 " One big dictionary of functions
386 call extend(all_values, int_functions) 403 call extend(all_values, int_functions)
387 404
388 " Add constants 405 " Add constants
389 call extend(all_values, int_constants) 406 call extend(all_values, int_constants)
407 " Add keywords
408 call extend(all_values, b:php_keywords)
390 409
391 for m in sort(keys(all_values)) 410 for m in sort(keys(all_values))
392 if m =~ '^'.a:base 411 if m =~ '^'.a:base
393 call add(res, m) 412 call add(res, m)
394 elseif m =~ a:base
395 call add(res2, m)
396 endif 413 endif
397 endfor 414 endfor
398 415
399 let int_list = res + res2 416 let int_list = res
400 417
401 let final_list = [] 418 let final_list = []
402 for i in int_list 419 for i in int_list
403 if has_key(int_functions, i) 420 if has_key(int_functions, i)
404 let final_list += [{'word':i, 'menu':int_functions[i], 'kind':'f'}] 421 let final_list +=
422 \ [{'word':i,
423 \ 'info':i.int_functions[i],
424 \ 'kind':'f'}]
405 elseif has_key(int_constants, i) 425 elseif has_key(int_constants, i)
406 let final_list += [{'word':i, 'menu':int_constants[i], 'kind':'d'}] 426 let final_list += [{'word':i, 'kind':'d'}]
407 else 427 else
408 let final_list += [{'word':i}] 428 let final_list += [{'word':i}]
409 endif 429 endif
410 endfor 430 endfor
411 431
755 " a) g/Description/normal! 5J 775 " a) g/Description/normal! 5J
756 " b) remove all html tags (it will require few s/// and g//) 776 " b) remove all html tags (it will require few s/// and g//)
757 " c) :%s/^\([^[:space:]]\+\) \([^[:space:]]\+\) ( \(.*\))/\\ '\2(': '\3| \1', 777 " c) :%s/^\([^[:space:]]\+\) \([^[:space:]]\+\) ( \(.*\))/\\ '\2(': '\3| \1',
758 " This will create Dictionary 778 " This will create Dictionary
759 " d) remove all /^[^\\] lines 779 " d) remove all /^[^\\] lines
760 let b:php_builtin_functions = { 780 let g:php_builtin_functions = {
761 \ 'abs(': 'mixed number | number', 781 \ 'abs(': 'mixed number | number',
762 \ 'acosh(': 'float arg | float', 782 \ 'acosh(': 'float arg | float',
763 \ 'acos(': 'float arg | float', 783 \ 'acos(': 'float arg | float',
764 \ 'addcslashes(': 'string str, string charlist | string', 784 \ 'addcslashes(': 'string str, string charlist | string',
765 \ 'addslashes(': 'string str | string', 785 \ 'addslashes(': 'string str | string',
819 \ 'array_intersect_assoc(': 'array array1, array array2 [, array ...] | array', 839 \ 'array_intersect_assoc(': 'array array1, array array2 [, array ...] | array',
820 \ 'array_intersect(': 'array array1, array array2 [, array ...] | array', 840 \ 'array_intersect(': 'array array1, array array2 [, array ...] | array',
821 \ 'array_intersect_key(': 'array array1, array array2 [, array ...] | array', 841 \ 'array_intersect_key(': 'array array1, array array2 [, array ...] | array',
822 \ 'array_intersect_uassoc(': 'array array1, array array2 [, array ..., callback key_compare_func] | array', 842 \ 'array_intersect_uassoc(': 'array array1, array array2 [, array ..., callback key_compare_func] | array',
823 \ 'array_intersect_ukey(': 'array array1, array array2 [, array ..., callback key_compare_func] | array', 843 \ 'array_intersect_ukey(': 'array array1, array array2 [, array ..., callback key_compare_func] | array',
824 \ 'ArrayIterator::current(': 'void | mixed',
825 \ 'ArrayIterator::key(': 'void | mixed',
826 \ 'ArrayIterator::next(': 'void | void',
827 \ 'ArrayIterator::rewind(': 'void | void',
828 \ 'ArrayIterator::seek(': 'int position | void',
829 \ 'ArrayIterator::valid(': 'void | bool',
830 \ 'array_key_exists(': 'mixed key, array search | bool', 844 \ 'array_key_exists(': 'mixed key, array search | bool',
831 \ 'array_keys(': 'array input [, mixed search_value [, bool strict]] | array', 845 \ 'array_keys(': 'array input [, mixed search_value [, bool strict]] | array',
832 \ 'array_map(': 'callback callback, array arr1 [, array ...] | array', 846 \ 'array_map(': 'callback callback, array arr1 [, array ...] | array',
833 \ 'array_merge(': 'array array1 [, array array2 [, array ...]] | array', 847 \ 'array_merge(': 'array array1 [, array array2 [, array ...]] | array',
834 \ 'array_merge_recursive(': 'array array1 [, array ...] | array', 848 \ 'array_merge_recursive(': 'array array1 [, array ...] | array',
835 \ 'array_multisort(': 'array ar1 [, mixed arg [, mixed ... [, array ...]]] | bool', 849 \ 'array_multisort(': 'array ar1 [, mixed arg [, mixed ... [, array ...]]] | bool',
836 \ 'ArrayObject::append(': 'mixed newval | void',
837 \ 'ArrayObject::__construct(': 'mixed input | ArrayObject',
838 \ 'ArrayObject::count(': 'void | int',
839 \ 'ArrayObject::getIterator(': 'void | ArrayIterator',
840 \ 'ArrayObject::offsetExists(': 'mixed index | bool',
841 \ 'ArrayObject::offsetGet(': 'mixed index | bool',
842 \ 'ArrayObject::offsetSet(': 'mixed index, mixed newval | void',
843 \ 'ArrayObject::offsetUnset(': 'mixed index | void',
844 \ 'array_pad(': 'array input, int pad_size, mixed pad_value | array', 850 \ 'array_pad(': 'array input, int pad_size, mixed pad_value | array',
845 \ 'array_pop(': 'array &#38;array | mixed', 851 \ 'array_pop(': 'array &#38;array | mixed',
846 \ 'array_product(': 'array array | number', 852 \ 'array_product(': 'array array | number',
847 \ 'array_push(': 'array &#38;array, mixed var [, mixed ...] | int', 853 \ 'array_push(': 'array &#38;array, mixed var [, mixed ...] | int',
848 \ 'array_rand(': 'array input [, int num_req] | mixed', 854 \ 'array_rand(': 'array input [, int num_req] | mixed',
916 \ 'bzerrstr(': 'resource bz | string', 922 \ 'bzerrstr(': 'resource bz | string',
917 \ 'bzflush(': 'resource bz | int', 923 \ 'bzflush(': 'resource bz | int',
918 \ 'bzopen(': 'string filename, string mode | resource', 924 \ 'bzopen(': 'string filename, string mode | resource',
919 \ 'bzread(': 'resource bz [, int length] | string', 925 \ 'bzread(': 'resource bz [, int length] | string',
920 \ 'bzwrite(': 'resource bz, string data [, int length] | int', 926 \ 'bzwrite(': 'resource bz, string data [, int length] | int',
921 \ 'CachingIterator::hasNext(': 'void | bool',
922 \ 'CachingIterator::next(': 'void | void',
923 \ 'CachingIterator::rewind(': 'void | void',
924 \ 'CachingIterator::__toString(': 'void | string',
925 \ 'CachingIterator::valid(': 'void | bool',
926 \ 'CachingRecursiveIterator::getChildren(': 'void | CachingRecursiveIterator',
927 \ 'CachingRecursiveIterator::hasChildren(': 'void | bolean',
928 \ 'cal_days_in_month(': 'int calendar, int month, int year | int', 927 \ 'cal_days_in_month(': 'int calendar, int month, int year | int',
929 \ 'cal_from_jd(': 'int jd, int calendar | array', 928 \ 'cal_from_jd(': 'int jd, int calendar | array',
930 \ 'cal_info(': '[int calendar] | array', 929 \ 'cal_info(': '[int calendar] | array',
931 \ 'call_user_func_array(': 'callback function, array param_arr | mixed', 930 \ 'call_user_func_array(': 'callback function, array param_arr | mixed',
932 \ 'call_user_func(': 'callback function [, mixed parameter [, mixed ...]] | mixed', 931 \ 'call_user_func(': 'callback function [, mixed parameter [, mixed ...]] | mixed',
1284 \ 'dio_seek(': 'resource fd, int pos [, int whence] | int', 1283 \ 'dio_seek(': 'resource fd, int pos [, int whence] | int',
1285 \ 'dio_stat(': 'resource fd | array', 1284 \ 'dio_stat(': 'resource fd | array',
1286 \ 'dio_tcsetattr(': 'resource fd, array options | bool', 1285 \ 'dio_tcsetattr(': 'resource fd, array options | bool',
1287 \ 'dio_truncate(': 'resource fd, int offset | bool', 1286 \ 'dio_truncate(': 'resource fd, int offset | bool',
1288 \ 'dio_write(': 'resource fd, string data [, int len] | int', 1287 \ 'dio_write(': 'resource fd, string data [, int len] | int',
1289 \ 'DirectoryIterator::__construct(': 'string path | DirectoryIterator',
1290 \ 'DirectoryIterator::current(': 'void | DirectoryIterator',
1291 \ 'DirectoryIterator::getATime(': 'void | int',
1292 \ 'DirectoryIterator::getChildren(': 'void | RecursiveDirectoryIterator',
1293 \ 'DirectoryIterator::getCTime(': 'void | int',
1294 \ 'DirectoryIterator::getFilename(': 'void | string',
1295 \ 'DirectoryIterator::getGroup(': 'void | int',
1296 \ 'DirectoryIterator::getInode(': 'void | int',
1297 \ 'DirectoryIterator::getMTime(': 'void | int',
1298 \ 'DirectoryIterator::getOwner(': 'void | int',
1299 \ 'DirectoryIterator::getPath(': 'void | string',
1300 \ 'DirectoryIterator::getPathname(': 'void | string',
1301 \ 'DirectoryIterator::getPerms(': 'void | int',
1302 \ 'DirectoryIterator::getSize(': 'void | int',
1303 \ 'DirectoryIterator::getType(': 'void | string',
1304 \ 'DirectoryIterator::isDir(': 'void | bool',
1305 \ 'DirectoryIterator::isDot(': 'void | bool',
1306 \ 'DirectoryIterator::isExecutable(': 'void | bool',
1307 \ 'DirectoryIterator::isFile(': 'void | bool',
1308 \ 'DirectoryIterator::isLink(': 'void | bool',
1309 \ 'DirectoryIterator::isReadable(': 'void | bool',
1310 \ 'DirectoryIterator::isWritable(': 'void | bool',
1311 \ 'DirectoryIterator::key(': 'void | string',
1312 \ 'DirectoryIterator::next(': 'void | void',
1313 \ 'DirectoryIterator::rewind(': 'void | void',
1314 \ 'DirectoryIterator::valid(': 'void | string',
1315 \ 'dirname(': 'string path | string', 1288 \ 'dirname(': 'string path | string',
1316 \ 'disk_free_space(': 'string directory | float', 1289 \ 'disk_free_space(': 'string directory | float',
1317 \ 'disk_total_space(': 'string directory | float', 1290 \ 'disk_total_space(': 'string directory | float',
1318 \ 'dl(': 'string library | int', 1291 \ 'dl(': 'string library | int',
1319 \ 'dngettext(': 'string domain, string msgid1, string msgid2, int n | string', 1292 \ 'dngettext(': 'string domain, string msgid1, string msgid2, int n | string',
1532 \ 'filepro_retrieve(': 'int row_number, int field_number | string', 1505 \ 'filepro_retrieve(': 'int row_number, int field_number | string',
1533 \ 'filepro_rowcount(': 'void | int', 1506 \ 'filepro_rowcount(': 'void | int',
1534 \ 'file_put_contents(': 'string filename, mixed data [, int flags [, resource context]] | int', 1507 \ 'file_put_contents(': 'string filename, mixed data [, int flags [, resource context]] | int',
1535 \ 'filesize(': 'string filename | int', 1508 \ 'filesize(': 'string filename | int',
1536 \ 'filetype(': 'string filename | string', 1509 \ 'filetype(': 'string filename | string',
1537 \ 'FilterIterator::current(': 'void | mixed',
1538 \ 'FilterIterator::getInnerIterator(': 'void | Iterator',
1539 \ 'FilterIterator::key(': 'void | mixed',
1540 \ 'FilterIterator::next(': 'void | void',
1541 \ 'FilterIterator::rewind(': 'void | void',
1542 \ 'FilterIterator::valid(': 'void | bool',
1543 \ 'floatval(': 'mixed var | float', 1510 \ 'floatval(': 'mixed var | float',
1544 \ 'flock(': 'resource handle, int operation [, int &#38;wouldblock] | bool', 1511 \ 'flock(': 'resource handle, int operation [, int &#38;wouldblock] | bool',
1545 \ 'floor(': 'float value | float', 1512 \ 'floor(': 'float value | float',
1546 \ 'flush(': 'void | void', 1513 \ 'flush(': 'void | void',
1547 \ 'fmod(': 'float x, float y | float', 1514 \ 'fmod(': 'float x, float y | float',
2329 \ 'libxml_clear_errors(': 'void | void', 2296 \ 'libxml_clear_errors(': 'void | void',
2330 \ 'libxml_get_errors(': 'void | array', 2297 \ 'libxml_get_errors(': 'void | array',
2331 \ 'libxml_get_last_error(': 'void | LibXMLError', 2298 \ 'libxml_get_last_error(': 'void | LibXMLError',
2332 \ 'libxml_set_streams_context(': 'resource streams_context | void', 2299 \ 'libxml_set_streams_context(': 'resource streams_context | void',
2333 \ 'libxml_use_internal_errors(': '[bool use_errors] | bool', 2300 \ 'libxml_use_internal_errors(': '[bool use_errors] | bool',
2334 \ 'LimitIterator::getPosition(': 'void | int',
2335 \ 'LimitIterator::next(': 'void | void',
2336 \ 'LimitIterator::rewind(': 'void | void',
2337 \ 'LimitIterator::seek(': 'int position | void',
2338 \ 'LimitIterator::valid(': 'void | bool',
2339 \ 'link(': 'string target, string link | bool', 2301 \ 'link(': 'string target, string link | bool',
2340 \ 'linkinfo(': 'string path | int', 2302 \ 'linkinfo(': 'string path | int',
2341 \ 'list(': 'mixed varname, mixed ... | void', 2303 \ 'list(': 'mixed varname, mixed ... | void',
2342 \ 'localeconv(': 'void | array', 2304 \ 'localeconv(': 'void | array',
2343 \ 'localtime(': '[int timestamp [, bool is_associative]] | array', 2305 \ 'localtime(': '[int timestamp [, bool is_associative]] | array',
2519 \ 'md5(': 'string str [, bool raw_output] | string', 2481 \ 'md5(': 'string str [, bool raw_output] | string',
2520 \ 'mdecrypt_generic(': 'resource td, string data | string', 2482 \ 'mdecrypt_generic(': 'resource td, string data | string',
2521 \ 'm_deletetrans(': 'resource conn, int identifier | bool', 2483 \ 'm_deletetrans(': 'resource conn, int identifier | bool',
2522 \ 'm_destroyconn(': 'resource conn | bool', 2484 \ 'm_destroyconn(': 'resource conn | bool',
2523 \ 'm_destroyengine(': 'void | void', 2485 \ 'm_destroyengine(': 'void | void',
2524 \ 'Memcache::add(': 'string key, mixed var [, int flag [, int expire]] | bool',
2525 \ 'Memcache::addServer(': 'string host [, int port [, bool persistent [, int weight [, int timeout [, int retry_interval]]]]] | bool',
2526 \ 'Memcache::close(': 'void | bool',
2527 \ 'Memcache::connect(': 'string host [, int port [, int timeout]] | bool',
2528 \ 'memcache_debug(': 'bool on_off | bool', 2486 \ 'memcache_debug(': 'bool on_off | bool',
2529 \ 'Memcache::decrement(': 'string key [, int value] | int',
2530 \ 'Memcache::delete(': 'string key [, int timeout] | bool',
2531 \ 'Memcache::flush(': 'void | bool',
2532 \ 'Memcache::getExtendedStats(': 'void | array',
2533 \ 'Memcache::get(': 'string key | string',
2534 \ 'Memcache::getStats(': 'void | array',
2535 \ 'Memcache::getVersion(': 'void | string',
2536 \ 'Memcache::increment(': 'string key [, int value] | int',
2537 \ 'Memcache::pconnect(': 'string host [, int port [, int timeout]] | bool',
2538 \ 'Memcache::replace(': 'string key, mixed var [, int flag [, int expire]] | bool',
2539 \ 'Memcache::setCompressThreshold(': 'int threshold [, float min_savings] | bool',
2540 \ 'Memcache::set(': 'string key, mixed var [, int flag [, int expire]] | bool',
2541 \ 'memory_get_usage(': 'void | int', 2487 \ 'memory_get_usage(': 'void | int',
2542 \ 'metaphone(': 'string str [, int phones] | string', 2488 \ 'metaphone(': 'string str [, int phones] | string',
2543 \ 'method_exists(': 'object object, string method_name | bool', 2489 \ 'method_exists(': 'object object, string method_name | bool',
2544 \ 'm_getcellbynum(': 'resource conn, int identifier, int column, int row | string', 2490 \ 'm_getcellbynum(': 'resource conn, int identifier, int column, int row | string',
2545 \ 'm_getcell(': 'resource conn, int identifier, string column, int row | string', 2491 \ 'm_getcell(': 'resource conn, int identifier, string column, int row | string',
3261 \ 'ovrimos_prepare(': 'int connection_id, string query | int', 3207 \ 'ovrimos_prepare(': 'int connection_id, string query | int',
3262 \ 'ovrimos_result_all(': 'int result_id [, string format] | int', 3208 \ 'ovrimos_result_all(': 'int result_id [, string format] | int',
3263 \ 'ovrimos_result(': 'int result_id, mixed field | string', 3209 \ 'ovrimos_result(': 'int result_id, mixed field | string',
3264 \ 'ovrimos_rollback(': 'int connection_id | bool', 3210 \ 'ovrimos_rollback(': 'int connection_id | bool',
3265 \ 'pack(': 'string format [, mixed args [, mixed ...]] | string', 3211 \ 'pack(': 'string format [, mixed args [, mixed ...]] | string',
3266 \ 'ParentIterator::getChildren(': 'void | ParentIterator',
3267 \ 'ParentIterator::hasChildren(': 'void | bool',
3268 \ 'ParentIterator::next(': 'void | void',
3269 \ 'ParentIterator::rewind(': 'void | void',
3270 \ 'parse_ini_file(': 'string filename [, bool process_sections] | array', 3212 \ 'parse_ini_file(': 'string filename [, bool process_sections] | array',
3271 \ 'parsekit_compile_file(': 'string filename [, array &#38;errors [, int options]] | array', 3213 \ 'parsekit_compile_file(': 'string filename [, array &#38;errors [, int options]] | array',
3272 \ 'parsekit_compile_string(': 'string phpcode [, array &#38;errors [, int options]] | array', 3214 \ 'parsekit_compile_string(': 'string phpcode [, array &#38;errors [, int options]] | array',
3273 \ 'parsekit_func_arginfo(': 'mixed function | array', 3215 \ 'parsekit_func_arginfo(': 'mixed function | array',
3274 \ 'parse_str(': 'string str [, array &#38;arr] | void', 3216 \ 'parse_str(': 'string str [, array &#38;arr] | void',
3426 \ 'pdf_suspend_page(': 'resource pdfdoc, string optlist | bool', 3368 \ 'pdf_suspend_page(': 'resource pdfdoc, string optlist | bool',
3427 \ 'pdf_translate(': 'resource p, float tx, float ty | bool', 3369 \ 'pdf_translate(': 'resource p, float tx, float ty | bool',
3428 \ 'pdf_utf16_to_utf8(': 'resource pdfdoc, string utf16string | string', 3370 \ 'pdf_utf16_to_utf8(': 'resource pdfdoc, string utf16string | string',
3429 \ 'pdf_utf8_to_utf16(': 'resource pdfdoc, string utf8string, string ordering | string', 3371 \ 'pdf_utf8_to_utf16(': 'resource pdfdoc, string utf8string, string ordering | string',
3430 \ 'pdf_xshow(': 'resource pdfdoc, string text | bool', 3372 \ 'pdf_xshow(': 'resource pdfdoc, string text | bool',
3431 \ 'PDO::beginTransaction(': 'void | bool',
3432 \ 'PDO::commit(': 'void | bool',
3433 \ 'PDO::__construct(': 'string dsn [, string username [, string password [, array driver_options]]] | PDO',
3434 \ 'PDO::errorCode(': 'void | string',
3435 \ 'PDO::errorInfo(': 'void | array',
3436 \ 'PDO::exec(': 'string statement | int',
3437 \ 'PDO::getAttribute(': 'int attribute | mixed',
3438 \ 'PDO::getAvailableDrivers(': 'void | array',
3439 \ 'PDO::lastInsertId(': '[string name] | string',
3440 \ 'PDO::prepare(': 'string statement [, array driver_options] | PDOStatement',
3441 \ 'PDO::query(': 'string statement | PDOStatement',
3442 \ 'PDO::quote(': 'string string [, int parameter_type] | string',
3443 \ 'PDO::rollBack(': 'void | bool',
3444 \ 'PDO::setAttribute(': 'int attribute, mixed value | bool',
3445 \ 'PDO::sqliteCreateAggregate(': 'string function_name, callback step_func, callback finalize_func [, int num_args] | bool',
3446 \ 'PDO::sqliteCreateFunction(': 'string function_name, callback callback [, int num_args] | bool',
3447 \ 'PDOStatement::bindColumn(': 'mixed column, mixed &#38;param [, int type] | bool',
3448 \ 'PDOStatement::bindParam(': 'mixed parameter, mixed &#38;variable [, int data_type [, int length [, mixed driver_options]]] | bool',
3449 \ 'PDOStatement::bindValue(': 'mixed parameter, mixed value [, int data_type] | bool',
3450 \ 'PDOStatement::closeCursor(': 'void | bool',
3451 \ 'PDOStatement::columnCount(': 'void | int',
3452 \ 'PDOStatement::errorCode(': 'void | string',
3453 \ 'PDOStatement::errorInfo(': 'void | array',
3454 \ 'PDOStatement::execute(': '[array input_parameters] | bool',
3455 \ 'PDOStatement::fetchAll(': '[int fetch_style [, int column_index]] | array',
3456 \ 'PDOStatement::fetchColumn(': '[int column_number] | string',
3457 \ 'PDOStatement::fetch(': '[int fetch_style [, int cursor_orientation [, int cursor_offset]]] | mixed',
3458 \ 'PDOStatement::fetchObject(': '[string class_name [, array ctor_args]] | mixed',
3459 \ 'PDOStatement::getAttribute(': 'int attribute | mixed',
3460 \ 'PDOStatement::getColumnMeta(': 'int column | mixed',
3461 \ 'PDOStatement::nextRowset(': 'void | bool',
3462 \ 'PDOStatement::rowCount(': 'void | int',
3463 \ 'PDOStatement::setAttribute(': 'int attribute, mixed value | bool',
3464 \ 'PDOStatement::setFetchMode(': 'int mode | bool',
3465 \ 'pfpro_cleanup(': 'void | bool', 3373 \ 'pfpro_cleanup(': 'void | bool',
3466 \ 'pfpro_init(': 'void | bool', 3374 \ 'pfpro_init(': 'void | bool',
3467 \ 'pfpro_process(': 'array parameters [, string address [, int port [, int timeout [, string proxy_address [, int proxy_port [, string proxy_logon [, string proxy_password]]]]]]] | array', 3375 \ 'pfpro_process(': 'array parameters [, string address [, int port [, int timeout [, string proxy_address [, int proxy_port [, string proxy_logon [, string proxy_password]]]]]]] | array',
3468 \ 'pfpro_process_raw(': 'string parameters [, string address [, int port [, int timeout [, string proxy_address [, int proxy_port [, string proxy_logon [, string proxy_password]]]]]]] | string', 3376 \ 'pfpro_process_raw(': 'string parameters [, string address [, int port [, int timeout [, string proxy_address [, int proxy_port [, string proxy_logon [, string proxy_password]]]]]]] | string',
3469 \ 'pfpro_version(': 'void | string', 3377 \ 'pfpro_version(': 'void | string',
3794 \ 'radius_strerror(': 'resource radius_handle | string', 3702 \ 'radius_strerror(': 'resource radius_handle | string',
3795 \ 'rand(': '[int min, int max] | int', 3703 \ 'rand(': '[int min, int max] | int',
3796 \ 'range(': 'mixed low, mixed high [, number step] | array', 3704 \ 'range(': 'mixed low, mixed high [, number step] | array',
3797 \ 'rar_close(': 'resource rar_file | bool', 3705 \ 'rar_close(': 'resource rar_file | bool',
3798 \ 'rar_entry_get(': 'resource rar_file, string entry_name | RarEntry', 3706 \ 'rar_entry_get(': 'resource rar_file, string entry_name | RarEntry',
3799 \ 'Rar::extract(': 'string dir [, string filepath] | bool',
3800 \ 'Rar::getAttr(': 'void | int',
3801 \ 'Rar::getCrc(': 'void | int',
3802 \ 'Rar::getFileTime(': 'void | string',
3803 \ 'Rar::getHostOs(': 'void | int',
3804 \ 'Rar::getMethod(': 'void | int',
3805 \ 'Rar::getName(': 'void | string',
3806 \ 'Rar::getPackedSize(': 'void | int',
3807 \ 'Rar::getUnpackedSize(': 'void | int',
3808 \ 'Rar::getVersion(': 'void | int',
3809 \ 'rar_list(': 'resource rar_file | array', 3707 \ 'rar_list(': 'resource rar_file | array',
3810 \ 'rar_open(': 'string filename [, string password] | resource', 3708 \ 'rar_open(': 'string filename [, string password] | resource',
3811 \ 'rawurldecode(': 'string str | string', 3709 \ 'rawurldecode(': 'string str | string',
3812 \ 'rawurlencode(': 'string str | string', 3710 \ 'rawurlencode(': 'string str | string',
3813 \ 'readdir(': 'resource dir_handle | string', 3711 \ 'readdir(': 'resource dir_handle | string',
3828 \ 'readline_write_history(': '[string filename] | bool', 3726 \ 'readline_write_history(': '[string filename] | bool',
3829 \ 'readlink(': 'string path | string', 3727 \ 'readlink(': 'string path | string',
3830 \ 'realpath(': 'string path | string', 3728 \ 'realpath(': 'string path | string',
3831 \ 'recode_file(': 'string request, resource input, resource output | bool', 3729 \ 'recode_file(': 'string request, resource input, resource output | bool',
3832 \ 'recode_string(': 'string request, string string | string', 3730 \ 'recode_string(': 'string request, string string | string',
3833 \ 'RecursiveDirectoryIterator::getChildren(': 'void | object',
3834 \ 'RecursiveDirectoryIterator::hasChildren(': '[bool allow_links] | bool',
3835 \ 'RecursiveDirectoryIterator::key(': 'void | string',
3836 \ 'RecursiveDirectoryIterator::next(': 'void | void',
3837 \ 'RecursiveDirectoryIterator::rewind(': 'void | void',
3838 \ 'RecursiveIteratorIterator::current(': 'void | mixed',
3839 \ 'RecursiveIteratorIterator::getDepth(': 'void | int',
3840 \ 'RecursiveIteratorIterator::getSubIterator(': 'void | RecursiveIterator',
3841 \ 'RecursiveIteratorIterator::key(': 'void | mixed',
3842 \ 'RecursiveIteratorIterator::next(': 'void | void',
3843 \ 'RecursiveIteratorIterator::rewind(': 'void | void',
3844 \ 'RecursiveIteratorIterator::valid(': 'void | bolean',
3845 \ 'register_shutdown_function(': 'callback function [, mixed parameter [, mixed ...]] | void', 3731 \ 'register_shutdown_function(': 'callback function [, mixed parameter [, mixed ...]] | void',
3846 \ 'register_tick_function(': 'callback function [, mixed arg [, mixed ...]] | bool', 3732 \ 'register_tick_function(': 'callback function [, mixed arg [, mixed ...]] | bool',
3847 \ 'rename_function(': 'string original_name, string new_name | bool', 3733 \ 'rename_function(': 'string original_name, string new_name | bool',
3848 \ 'rename(': 'string oldname, string newname [, resource context] | bool', 3734 \ 'rename(': 'string oldname, string newname [, resource context] | bool',
3849 \ 'reset(': 'array &#38;array | mixed', 3735 \ 'reset(': 'array &#38;array | mixed',
3887 \ 'satellite_exception_value(': 'void | OrbitStruct', 3773 \ 'satellite_exception_value(': 'void | OrbitStruct',
3888 \ 'satellite_get_repository_id(': 'object obj | int', 3774 \ 'satellite_get_repository_id(': 'object obj | int',
3889 \ 'satellite_load_idl(': 'string file | bool', 3775 \ 'satellite_load_idl(': 'string file | bool',
3890 \ 'satellite_object_to_string(': 'object obj | string', 3776 \ 'satellite_object_to_string(': 'object obj | string',
3891 \ 'scandir(': 'string directory [, int sorting_order [, resource context]] | array', 3777 \ 'scandir(': 'string directory [, int sorting_order [, resource context]] | array',
3892 \ 'SDO_DAS_ChangeSummary::beginLogging(': 'void | void',
3893 \ 'SDO_DAS_ChangeSummary::endLogging(': 'void | void',
3894 \ 'SDO_DAS_ChangeSummary::getChangedDataObjects(': 'void | SDO_List',
3895 \ 'SDO_DAS_ChangeSummary::getChangeType(': 'SDO_DataObject dataObject | int',
3896 \ 'SDO_DAS_ChangeSummary::getOldContainer(': 'SDO_DataObject data_object | SDO_DataObject',
3897 \ 'SDO_DAS_ChangeSummary::getOldValues(': 'SDO_DataObject data_object | SDO_List',
3898 \ 'SDO_DAS_ChangeSummary::isLogging(': 'void | bool',
3899 \ 'SDO_DAS_DataFactory::addPropertyToType(': 'string parent_type_namespace_uri, string parent_type_name, string property_name, string type_namespace_uri, string type_name [, array options] | void',
3900 \ 'SDO_DAS_DataFactory::addType(': 'string type_namespace_uri, string type_name [, array options] | void',
3901 \ 'SDO_DAS_DataFactory::getDataFactory(': 'void | SDO_DAS_DataFactory',
3902 \ 'SDO_DAS_DataObject::getChangeSummary(': 'void | SDO_DAS_ChangeSummary',
3903 \ 'SDO_DAS_Relational::applyChanges(': 'PDO database_handle, SDODataObject root_data_object | void',
3904 \ 'SDO_DAS_Relational::__construct(': 'array database_metadata [, string application_root_type [, array SDO_containment_references_metadata]] | SDO_DAS_Relational',
3905 \ 'SDO_DAS_Relational::createRootDataObject(': 'void | SDODataObject',
3906 \ 'SDO_DAS_Relational::executePreparedQuery(': 'PDO database_handle, PDOStatement prepared_statement, array value_list [, array column_specifier] | SDODataObject',
3907 \ 'SDO_DAS_Relational::executeQuery(': 'PDO database_handle, string SQL_statement [, array column_specifier] | SDODataObject',
3908 \ 'SDO_DAS_Setting::getListIndex(': 'void | int',
3909 \ 'SDO_DAS_Setting::getPropertyIndex(': 'void | int',
3910 \ 'SDO_DAS_Setting::getPropertyName(': 'void | string',
3911 \ 'SDO_DAS_Setting::getValue(': 'void | mixed',
3912 \ 'SDO_DAS_Setting::isSet(': 'void | bool',
3913 \ 'SDO_DAS_XML::addTypes(': 'string xsd_file | void',
3914 \ 'SDO_DAS_XML::createDataObject(': 'string namespace_uri, string type_name | SDO_DataObject',
3915 \ 'SDO_DAS_XML::createDocument(': '[string document_element_name] | SDO_DAS_XML_Document',
3916 \ 'SDO_DAS_XML::create(': '[string xsd_file] | SDO_DAS_XML',
3917 \ 'SDO_DAS_XML_Document::getRootDataObject(': 'void | SDO_DataObject',
3918 \ 'SDO_DAS_XML_Document::getRootElementName(': 'void | string',
3919 \ 'SDO_DAS_XML_Document::getRootElementURI(': 'void | string',
3920 \ 'SDO_DAS_XML_Document::setEncoding(': 'string encoding | void',
3921 \ 'SDO_DAS_XML_Document::setXMLDeclaration(': 'bool xmlDeclatation | void',
3922 \ 'SDO_DAS_XML_Document::setXMLVersion(': 'string xmlVersion | void',
3923 \ 'SDO_DAS_XML::loadFile(': 'string xml_file | SDO_XMLDocument',
3924 \ 'SDO_DAS_XML::loadString(': 'string xml_string | SDO_DAS_XML_Document',
3925 \ 'SDO_DAS_XML::saveFile(': 'SDO_XMLDocument xdoc, string xml_file [, int indent] | void',
3926 \ 'SDO_DAS_XML::saveString(': 'SDO_XMLDocument xdoc [, int indent] | string',
3927 \ 'SDO_DataFactory::create(': 'string type_namespace_uri, string type_name | void',
3928 \ 'SDO_DataObject::clear(': 'void | void',
3929 \ 'SDO_DataObject::createDataObject(': 'mixed identifier | SDO_DataObject',
3930 \ 'SDO_DataObject::getContainer(': 'void | SDO_DataObject',
3931 \ 'SDO_DataObject::getSequence(': 'void | SDO_Sequence',
3932 \ 'SDO_DataObject::getTypeName(': 'void | string',
3933 \ 'SDO_DataObject::getTypeNamespaceURI(': 'void | string',
3934 \ 'SDO_Exception::getCause(': 'void | mixed',
3935 \ 'SDO_List::insert(': 'mixed value [, int index] | void',
3936 \ 'SDO_Model_Property::getContainingType(': 'void | SDO_Model_Type',
3937 \ 'SDO_Model_Property::getDefault(': 'void | mixed',
3938 \ 'SDO_Model_Property::getName(': 'void | string',
3939 \ 'SDO_Model_Property::getType(': 'void | SDO_Model_Type',
3940 \ 'SDO_Model_Property::isContainment(': 'void | bool',
3941 \ 'SDO_Model_Property::isMany(': 'void | bool',
3942 \ 'SDO_Model_ReflectionDataObject::__construct(': 'SDO_DataObject data_object | SDO_Model_ReflectionDataObject',
3943 \ 'SDO_Model_ReflectionDataObject::export(': 'SDO_Model_ReflectionDataObject rdo [, bool return] | mixed',
3944 \ 'SDO_Model_ReflectionDataObject::getContainmentProperty(': 'void | SDO_Model_Property',
3945 \ 'SDO_Model_ReflectionDataObject::getInstanceProperties(': 'void | array',
3946 \ 'SDO_Model_ReflectionDataObject::getType(': 'void | SDO_Model_Type',
3947 \ 'SDO_Model_Type::getBaseType(': 'void | SDO_Model_Type',
3948 \ 'SDO_Model_Type::getName(': 'void | string',
3949 \ 'SDO_Model_Type::getNamespaceURI(': 'void | string',
3950 \ 'SDO_Model_Type::getProperties(': 'void | array',
3951 \ 'SDO_Model_Type::getProperty(': 'mixed identifier | SDO_Model_Property',
3952 \ 'SDO_Model_Type::isAbstractType(': 'void | bool',
3953 \ 'SDO_Model_Type::isDataType(': 'void | bool',
3954 \ 'SDO_Model_Type::isInstance(': 'SDO_DataObject data_object | bool',
3955 \ 'SDO_Model_Type::isOpenType(': 'void | bool',
3956 \ 'SDO_Model_Type::isSequencedType(': 'void | bool',
3957 \ 'SDO_Sequence::getProperty(': 'int sequence_index | SDO_Model_Property',
3958 \ 'SDO_Sequence::insert(': 'mixed value [, int sequenceIndex [, mixed propertyIdentifier]] | void',
3959 \ 'SDO_Sequence::move(': 'int toIndex, int fromIndex | void',
3960 \ 'sem_acquire(': 'resource sem_identifier | bool', 3778 \ 'sem_acquire(': 'resource sem_identifier | bool',
3961 \ 'sem_get(': 'int key [, int max_acquire [, int perm [, int auto_release]]] | resource', 3779 \ 'sem_get(': 'int key [, int max_acquire [, int perm [, int auto_release]]] | resource',
3962 \ 'sem_release(': 'resource sem_identifier | bool', 3780 \ 'sem_release(': 'resource sem_identifier | bool',
3963 \ 'sem_remove(': 'resource sem_identifier | bool', 3781 \ 'sem_remove(': 'resource sem_identifier | bool',
3964 \ 'serialize(': 'mixed value | string', 3782 \ 'serialize(': 'mixed value | string',
4034 \ 'SimpleXMLElement-&#62;asXML(': '[string filename] | mixed', 3852 \ 'SimpleXMLElement-&#62;asXML(': '[string filename] | mixed',
4035 \ 'simplexml_element-&#62;attributes(': '[string data] | SimpleXMLElement', 3853 \ 'simplexml_element-&#62;attributes(': '[string data] | SimpleXMLElement',
4036 \ 'simplexml_element-&#62;children(': '[string nsprefix] | SimpleXMLElement', 3854 \ 'simplexml_element-&#62;children(': '[string nsprefix] | SimpleXMLElement',
4037 \ 'SimpleXMLElement-&#62;xpath(': 'string path | array', 3855 \ 'SimpleXMLElement-&#62;xpath(': 'string path | array',
4038 \ 'simplexml_import_dom(': 'DOMNode node [, string class_name] | SimpleXMLElement', 3856 \ 'simplexml_import_dom(': 'DOMNode node [, string class_name] | SimpleXMLElement',
4039 \ 'SimpleXMLIterator::current(': 'void | mixed',
4040 \ 'SimpleXMLIterator::getChildren(': 'void | object',
4041 \ 'SimpleXMLIterator::hasChildren(': 'void | bool',
4042 \ 'SimpleXMLIterator::key(': 'void | mixed',
4043 \ 'SimpleXMLIterator::next(': 'void | void',
4044 \ 'SimpleXMLIterator::rewind(': 'void | void',
4045 \ 'SimpleXMLIterator::valid(': 'void | bool',
4046 \ 'simplexml_load_file(': 'string filename [, string class_name [, int options]] | object', 3857 \ 'simplexml_load_file(': 'string filename [, string class_name [, int options]] | object',
4047 \ 'simplexml_load_string(': 'string data [, string class_name [, int options]] | object', 3858 \ 'simplexml_load_string(': 'string data [, string class_name [, int options]] | object',
4048 \ 'sinh(': 'float arg | float', 3859 \ 'sinh(': 'float arg | float',
4049 \ 'sin(': 'float arg | float', 3860 \ 'sin(': 'float arg | float',
4050 \ 'sleep(': 'int seconds | int', 3861 \ 'sleep(': 'int seconds | int',
4323 \ 'swf_addcolor(': 'float r, float g, float b, float a | void', 4134 \ 'swf_addcolor(': 'float r, float g, float b, float a | void',
4324 \ 'swfbitmap-&#62;getheight(': 'void | float', 4135 \ 'swfbitmap-&#62;getheight(': 'void | float',
4325 \ 'swfbitmap-&#62;getwidth(': 'void | float', 4136 \ 'swfbitmap-&#62;getwidth(': 'void | float',
4326 \ 'swfbitmap(': 'mixed file [, mixed alphafile] | SWFBitmap', 4137 \ 'swfbitmap(': 'mixed file [, mixed alphafile] | SWFBitmap',
4327 \ 'swfbutton-&#62;addaction(': 'resource action, int flags | void', 4138 \ 'swfbutton-&#62;addaction(': 'resource action, int flags | void',
4328 \ 'SWFButton::addASound(': 'SWFSound sound, int flags | SWFSoundInstance',
4329 \ 'swfbutton-&#62;addshape(': 'resource shape, int flags | void', 4139 \ 'swfbutton-&#62;addshape(': 'resource shape, int flags | void',
4330 \ 'swfbutton(': 'void | SWFButton', 4140 \ 'swfbutton(': 'void | SWFButton',
4331 \ 'swfbutton-&#62;setaction(': 'resource action | void', 4141 \ 'swfbutton-&#62;setaction(': 'resource action | void',
4332 \ 'swfbutton-&#62;setdown(': 'resource shape | void', 4142 \ 'swfbutton-&#62;setdown(': 'resource shape | void',
4333 \ 'swfbutton-&#62;sethit(': 'resource shape | void', 4143 \ 'swfbutton-&#62;sethit(': 'resource shape | void',
4334 \ 'SWFButton::setMenu(': 'int flag | void',
4335 \ 'swfbutton-&#62;setover(': 'resource shape | void', 4144 \ 'swfbutton-&#62;setover(': 'resource shape | void',
4336 \ 'swfbutton-&#62;setup(': 'resource shape | void', 4145 \ 'swfbutton-&#62;setup(': 'resource shape | void',
4337 \ 'swf_closefile(': '[int return_file] | void', 4146 \ 'swf_closefile(': '[int return_file] | void',
4338 \ 'swf_definebitmap(': 'int objid, string image_name | void', 4147 \ 'swf_definebitmap(': 'int objid, string image_name | void',
4339 \ 'swf_definefont(': 'int fontid, string fontname | void', 4148 \ 'swf_definefont(': 'int fontid, string fontname | void',
4340 \ 'swf_defineline(': 'int objid, float x1, float y1, float x2, float y2, float width | void', 4149 \ 'swf_defineline(': 'int objid, float x1, float y1, float x2, float y2, float width | void',
4341 \ 'swf_definepoly(': 'int objid, array coords, int npoints, float width | void', 4150 \ 'swf_definepoly(': 'int objid, array coords, int npoints, float width | void',
4342 \ 'swf_definerect(': 'int objid, float x1, float y1, float x2, float y2, float width | void', 4151 \ 'swf_definerect(': 'int objid, float x1, float y1, float x2, float y2, float width | void',
4343 \ 'swf_definetext(': 'int objid, string str, int docenter | void', 4152 \ 'swf_definetext(': 'int objid, string str, int docenter | void',
4344 \ 'SWFDisplayItem::addAction(': 'SWFAction action, int flags | void',
4345 \ 'swfdisplayitem-&#62;addcolor(': 'int red, int green, int blue [, int a] | void', 4153 \ 'swfdisplayitem-&#62;addcolor(': 'int red, int green, int blue [, int a] | void',
4346 \ 'SWFDisplayItem::endMask(': 'void | void',
4347 \ 'SWFDisplayItem::getRot(': 'void | float',
4348 \ 'SWFDisplayItem::getX(': 'void | float',
4349 \ 'SWFDisplayItem::getXScale(': 'void | float',
4350 \ 'SWFDisplayItem::getXSkew(': 'void | float',
4351 \ 'SWFDisplayItem::getY(': 'void | float',
4352 \ 'SWFDisplayItem::getYScale(': 'void | float',
4353 \ 'SWFDisplayItem::getYSkew(': 'void | float',
4354 \ 'swfdisplayitem-&#62;move(': 'int dx, int dy | void', 4154 \ 'swfdisplayitem-&#62;move(': 'int dx, int dy | void',
4355 \ 'swfdisplayitem-&#62;moveto(': 'int x, int y | void', 4155 \ 'swfdisplayitem-&#62;moveto(': 'int x, int y | void',
4356 \ 'swfdisplayitem-&#62;multcolor(': 'int red, int green, int blue [, int a] | void', 4156 \ 'swfdisplayitem-&#62;multcolor(': 'int red, int green, int blue [, int a] | void',
4357 \ 'swfdisplayitem-&#62;remove(': 'void | void', 4157 \ 'swfdisplayitem-&#62;remove(': 'void | void',
4358 \ 'swfdisplayitem-&#62;rotate(': 'float ddegrees | void', 4158 \ 'swfdisplayitem-&#62;rotate(': 'float ddegrees | void',
4359 \ 'swfdisplayitem-&#62;rotateto(': 'float degrees | void', 4159 \ 'swfdisplayitem-&#62;rotateto(': 'float degrees | void',
4360 \ 'swfdisplayitem-&#62;scale(': 'int dx, int dy | void', 4160 \ 'swfdisplayitem-&#62;scale(': 'int dx, int dy | void',
4361 \ 'swfdisplayitem-&#62;scaleto(': 'int x [, int y] | void', 4161 \ 'swfdisplayitem-&#62;scaleto(': 'int x [, int y] | void',
4362 \ 'swfdisplayitem-&#62;setdepth(': 'float depth | void', 4162 \ 'swfdisplayitem-&#62;setdepth(': 'float depth | void',
4363 \ 'SWFDisplayItem::setMaskLevel(': 'int level | void',
4364 \ 'SWFDisplayItem::setMatrix(': 'float a, float b, float c, float d, float x, float y | void',
4365 \ 'swfdisplayitem-&#62;setname(': 'string name | void', 4163 \ 'swfdisplayitem-&#62;setname(': 'string name | void',
4366 \ 'swfdisplayitem-&#62;setratio(': 'float ratio | void', 4164 \ 'swfdisplayitem-&#62;setratio(': 'float ratio | void',
4367 \ 'swfdisplayitem-&#62;skewx(': 'float ddegrees | void', 4165 \ 'swfdisplayitem-&#62;skewx(': 'float ddegrees | void',
4368 \ 'swfdisplayitem-&#62;skewxto(': 'float degrees | void', 4166 \ 'swfdisplayitem-&#62;skewxto(': 'float degrees | void',
4369 \ 'swfdisplayitem-&#62;skewy(': 'float ddegrees | void', 4167 \ 'swfdisplayitem-&#62;skewy(': 'float ddegrees | void',
4376 \ 'swffill-&#62;moveto(': 'int x, int y | void', 4174 \ 'swffill-&#62;moveto(': 'int x, int y | void',
4377 \ 'swffill-&#62;rotateto(': 'float degrees | void', 4175 \ 'swffill-&#62;rotateto(': 'float degrees | void',
4378 \ 'swffill-&#62;scaleto(': 'int x [, int y] | void', 4176 \ 'swffill-&#62;scaleto(': 'int x [, int y] | void',
4379 \ 'swffill-&#62;skewxto(': 'float x | void', 4177 \ 'swffill-&#62;skewxto(': 'float x | void',
4380 \ 'swffill-&#62;skewyto(': 'float y | void', 4178 \ 'swffill-&#62;skewyto(': 'float y | void',
4381 \ 'SWFFontChar::addChars(': 'string char | void',
4382 \ 'SWFFontChar::addUTF8Chars(': 'string char | void',
4383 \ 'SWFFont::getAscent(': 'void | float',
4384 \ 'SWFFont::getDescent(': 'void | float',
4385 \ 'SWFFont::getLeading(': 'void | float',
4386 \ 'SWFFont::getShape(': 'int code | string',
4387 \ 'SWFFont::getUTF8Width(': 'string string | float',
4388 \ 'swffont-&#62;getwidth(': 'string string | float', 4179 \ 'swffont-&#62;getwidth(': 'string string | float',
4389 \ 'swffont(': 'string filename | SWFFont', 4180 \ 'swffont(': 'string filename | SWFFont',
4390 \ 'swf_fontsize(': 'float size | void', 4181 \ 'swf_fontsize(': 'float size | void',
4391 \ 'swf_fontslant(': 'float slant | void', 4182 \ 'swf_fontslant(': 'float slant | void',
4392 \ 'swf_fonttracking(': 'float tracking | void', 4183 \ 'swf_fonttracking(': 'float tracking | void',
4399 \ 'swf_lookat(': 'float view_x, float view_y, float view_z, float reference_x, float reference_y, float reference_z, float twist | void', 4190 \ 'swf_lookat(': 'float view_x, float view_y, float view_z, float reference_x, float reference_y, float reference_z, float twist | void',
4400 \ 'swf_modifyobject(': 'int depth, int how | void', 4191 \ 'swf_modifyobject(': 'int depth, int how | void',
4401 \ 'swfmorph-&#62;getshape1(': 'void | mixed', 4192 \ 'swfmorph-&#62;getshape1(': 'void | mixed',
4402 \ 'swfmorph-&#62;getshape2(': 'void | mixed', 4193 \ 'swfmorph-&#62;getshape2(': 'void | mixed',
4403 \ 'swfmorph(': 'void | SWFMorph', 4194 \ 'swfmorph(': 'void | SWFMorph',
4404 \ 'SWFMovie::addExport(': 'SWFCharacter char, string name | void',
4405 \ 'SWFMovie::addFont(': 'SWFFont font | SWFFontChar',
4406 \ 'swfmovie-&#62;add(': 'resource instance | void', 4195 \ 'swfmovie-&#62;add(': 'resource instance | void',
4407 \ 'swfmovie(': 'void | SWFMovie', 4196 \ 'swfmovie(': 'void | SWFMovie',
4408 \ 'SWFMovie::importChar(': 'string libswf, string name | SWFSprite',
4409 \ 'SWFMovie::importFont(': 'string libswf, string name | SWFFontChar',
4410 \ 'SWFMovie::labelFrame(': 'string label | void',
4411 \ 'swfmovie-&#62;nextframe(': 'void | void', 4197 \ 'swfmovie-&#62;nextframe(': 'void | void',
4412 \ 'swfmovie-&#62;output(': '[int compression] | int', 4198 \ 'swfmovie-&#62;output(': '[int compression] | int',
4413 \ 'swfmovie-&#62;remove(': 'resource instance | void', 4199 \ 'swfmovie-&#62;remove(': 'resource instance | void',
4414 \ 'swfmovie-&#62;save(': 'string filename [, int compression] | int', 4200 \ 'swfmovie-&#62;save(': 'string filename [, int compression] | int',
4415 \ 'SWFMovie::saveToFile(': 'stream x [, int compression] | int',
4416 \ 'swfmovie-&#62;setbackground(': 'int red, int green, int blue | void', 4201 \ 'swfmovie-&#62;setbackground(': 'int red, int green, int blue | void',
4417 \ 'swfmovie-&#62;setdimension(': 'int width, int height | void', 4202 \ 'swfmovie-&#62;setdimension(': 'int width, int height | void',
4418 \ 'swfmovie-&#62;setframes(': 'string numberofframes | void', 4203 \ 'swfmovie-&#62;setframes(': 'string numberofframes | void',
4419 \ 'swfmovie-&#62;setrate(': 'int rate | void', 4204 \ 'swfmovie-&#62;setrate(': 'int rate | void',
4420 \ 'SWFMovie::startSound(': 'SWFSound sound | SWFSoundInstance',
4421 \ 'SWFMovie::stopSound(': 'SWFSound sound | void',
4422 \ 'swfmovie-&#62;streammp3(': 'mixed mp3File | void', 4205 \ 'swfmovie-&#62;streammp3(': 'mixed mp3File | void',
4423 \ 'SWFMovie::writeExports(': 'void | void',
4424 \ 'swf_mulcolor(': 'float r, float g, float b, float a | void', 4206 \ 'swf_mulcolor(': 'float r, float g, float b, float a | void',
4425 \ 'swf_nextid(': 'void | int', 4207 \ 'swf_nextid(': 'void | int',
4426 \ 'swf_oncondition(': 'int transition | void', 4208 \ 'swf_oncondition(': 'int transition | void',
4427 \ 'swf_openfile(': 'string filename, float width, float height, float framerate, float r, float g, float b | void', 4209 \ 'swf_openfile(': 'string filename, float width, float height, float framerate, float r, float g, float b | void',
4428 \ 'swf_ortho2(': 'float xmin, float xmax, float ymin, float ymax | void', 4210 \ 'swf_ortho2(': 'float xmin, float xmax, float ymin, float ymax | void',
4441 \ 'swf_setframe(': 'int framenumber | void', 4223 \ 'swf_setframe(': 'int framenumber | void',
4442 \ 'SWFShape-&#62;addFill(': 'int red, int green, int blue [, int a] | SWFFill', 4224 \ 'SWFShape-&#62;addFill(': 'int red, int green, int blue [, int a] | SWFFill',
4443 \ 'swf_shapearc(': 'float x, float y, float r, float ang1, float ang2 | void', 4225 \ 'swf_shapearc(': 'float x, float y, float r, float ang1, float ang2 | void',
4444 \ 'swf_shapecurveto3(': 'float x1, float y1, float x2, float y2, float x3, float y3 | void', 4226 \ 'swf_shapecurveto3(': 'float x1, float y1, float x2, float y2, float x3, float y3 | void',
4445 \ 'swf_shapecurveto(': 'float x1, float y1, float x2, float y2 | void', 4227 \ 'swf_shapecurveto(': 'float x1, float y1, float x2, float y2 | void',
4446 \ 'SWFShape::drawArc(': 'float r, float startAngle, float endAngle | void',
4447 \ 'SWFShape::drawCircle(': 'float r | void',
4448 \ 'SWFShape::drawCubic(': 'float bx, float by, float cx, float cy, float dx, float dy | int',
4449 \ 'SWFShape::drawCubicTo(': 'float bx, float by, float cx, float cy, float dx, float dy | int',
4450 \ 'swfshape-&#62;drawcurve(': 'int controldx, int controldy, int anchordx, int anchordy [, int targetdx, int targetdy] | int', 4228 \ 'swfshape-&#62;drawcurve(': 'int controldx, int controldy, int anchordx, int anchordy [, int targetdx, int targetdy] | int',
4451 \ 'swfshape-&#62;drawcurveto(': 'int controlx, int controly, int anchorx, int anchory [, int targetx, int targety] | int', 4229 \ 'swfshape-&#62;drawcurveto(': 'int controlx, int controly, int anchorx, int anchory [, int targetx, int targety] | int',
4452 \ 'SWFShape::drawGlyph(': 'SWFFont font, string character [, int size] | void',
4453 \ 'swfshape-&#62;drawline(': 'int dx, int dy | void', 4230 \ 'swfshape-&#62;drawline(': 'int dx, int dy | void',
4454 \ 'swfshape-&#62;drawlineto(': 'int x, int y | void', 4231 \ 'swfshape-&#62;drawlineto(': 'int x, int y | void',
4455 \ 'swf_shapefillbitmapclip(': 'int bitmapid | void', 4232 \ 'swf_shapefillbitmapclip(': 'int bitmapid | void',
4456 \ 'swf_shapefillbitmaptile(': 'int bitmapid | void', 4233 \ 'swf_shapefillbitmaptile(': 'int bitmapid | void',
4457 \ 'swf_shapefilloff(': 'void | void', 4234 \ 'swf_shapefilloff(': 'void | void',
4465 \ 'swfshape-&#62;setleftfill(': 'swfgradient fill | void', 4242 \ 'swfshape-&#62;setleftfill(': 'swfgradient fill | void',
4466 \ 'swfshape-&#62;setline(': 'swfshape shape | void', 4243 \ 'swfshape-&#62;setline(': 'swfshape shape | void',
4467 \ 'swfshape-&#62;setrightfill(': 'swfgradient fill | void', 4244 \ 'swfshape-&#62;setrightfill(': 'swfgradient fill | void',
4468 \ 'swf_showframe(': 'void | void', 4245 \ 'swf_showframe(': 'void | void',
4469 \ 'SWFSound(': 'string filename, int flags | SWFSound', 4246 \ 'SWFSound(': 'string filename, int flags | SWFSound',
4470 \ 'SWFSoundInstance::loopCount(': 'int point | void',
4471 \ 'SWFSoundInstance::loopInPoint(': 'int point | void',
4472 \ 'SWFSoundInstance::loopOutPoint(': 'int point | void',
4473 \ 'SWFSoundInstance::noMultiple(': 'void | void',
4474 \ 'swfsprite-&#62;add(': 'resource object | void', 4247 \ 'swfsprite-&#62;add(': 'resource object | void',
4475 \ 'swfsprite(': 'void | SWFSprite', 4248 \ 'swfsprite(': 'void | SWFSprite',
4476 \ 'SWFSprite::labelFrame(': 'string label | void',
4477 \ 'swfsprite-&#62;nextframe(': 'void | void', 4249 \ 'swfsprite-&#62;nextframe(': 'void | void',
4478 \ 'swfsprite-&#62;remove(': 'resource object | void', 4250 \ 'swfsprite-&#62;remove(': 'resource object | void',
4479 \ 'swfsprite-&#62;setframes(': 'int numberofframes | void', 4251 \ 'swfsprite-&#62;setframes(': 'int numberofframes | void',
4480 \ 'SWFSprite::startSound(': 'SWFSound sound | SWFSoundInstance',
4481 \ 'SWFSprite::stopSound(': 'SWFSound sound | void',
4482 \ 'swf_startbutton(': 'int objid, int type | void', 4252 \ 'swf_startbutton(': 'int objid, int type | void',
4483 \ 'swf_startdoaction(': 'void | void', 4253 \ 'swf_startdoaction(': 'void | void',
4484 \ 'swf_startshape(': 'int objid | void', 4254 \ 'swf_startshape(': 'int objid | void',
4485 \ 'swf_startsymbol(': 'int objid | void', 4255 \ 'swf_startsymbol(': 'int objid | void',
4486 \ 'swftext-&#62;addstring(': 'string string | void', 4256 \ 'swftext-&#62;addstring(': 'string string | void',
4487 \ 'SWFText::addUTF8String(': 'string text | void',
4488 \ 'SWFTextField::addChars(': 'string chars | void',
4489 \ 'swftextfield-&#62;addstring(': 'string string | void', 4257 \ 'swftextfield-&#62;addstring(': 'string string | void',
4490 \ 'swftextfield-&#62;align(': 'int alignement | void', 4258 \ 'swftextfield-&#62;align(': 'int alignement | void',
4491 \ 'swftextfield(': '[int flags] | SWFTextField', 4259 \ 'swftextfield(': '[int flags] | SWFTextField',
4492 \ 'swftextfield-&#62;setbounds(': 'int width, int height | void', 4260 \ 'swftextfield-&#62;setbounds(': 'int width, int height | void',
4493 \ 'swftextfield-&#62;setcolor(': 'int red, int green, int blue [, int a] | void', 4261 \ 'swftextfield-&#62;setcolor(': 'int red, int green, int blue [, int a] | void',
4496 \ 'swftextfield-&#62;setindentation(': 'int width | void', 4264 \ 'swftextfield-&#62;setindentation(': 'int width | void',
4497 \ 'swftextfield-&#62;setleftmargin(': 'int width | void', 4265 \ 'swftextfield-&#62;setleftmargin(': 'int width | void',
4498 \ 'swftextfield-&#62;setlinespacing(': 'int height | void', 4266 \ 'swftextfield-&#62;setlinespacing(': 'int height | void',
4499 \ 'swftextfield-&#62;setmargins(': 'int left, int right | void', 4267 \ 'swftextfield-&#62;setmargins(': 'int left, int right | void',
4500 \ 'swftextfield-&#62;setname(': 'string name | void', 4268 \ 'swftextfield-&#62;setname(': 'string name | void',
4501 \ 'SWFTextField::setPadding(': 'float padding | void',
4502 \ 'swftextfield-&#62;setrightmargin(': 'int width | void', 4269 \ 'swftextfield-&#62;setrightmargin(': 'int width | void',
4503 \ 'SWFText::getAscent(': 'void | float',
4504 \ 'SWFText::getDescent(': 'void | float',
4505 \ 'SWFText::getLeading(': 'void | float',
4506 \ 'SWFText::getUTF8Width(': 'string string | float',
4507 \ 'swftext-&#62;getwidth(': 'string string | float', 4270 \ 'swftext-&#62;getwidth(': 'string string | float',
4508 \ 'swftext(': 'void | SWFText', 4271 \ 'swftext(': 'void | SWFText',
4509 \ 'swftext-&#62;moveto(': 'int x, int y | void', 4272 \ 'swftext-&#62;moveto(': 'int x, int y | void',
4510 \ 'swftext-&#62;setcolor(': 'int red, int green, int blue [, int a] | void', 4273 \ 'swftext-&#62;setcolor(': 'int red, int green, int blue [, int a] | void',
4511 \ 'swftext-&#62;setfont(': 'string font | void', 4274 \ 'swftext-&#62;setfont(': 'string font | void',
4512 \ 'swftext-&#62;setheight(': 'int height | void', 4275 \ 'swftext-&#62;setheight(': 'int height | void',
4513 \ 'swftext-&#62;setspacing(': 'float spacing | void', 4276 \ 'swftext-&#62;setspacing(': 'float spacing | void',
4514 \ 'swf_textwidth(': 'string str | float', 4277 \ 'swf_textwidth(': 'string str | float',
4515 \ 'swf_translate(': 'float x, float y, float z | void', 4278 \ 'swf_translate(': 'float x, float y, float z | void',
4516 \ 'SWFVideoStream::getNumFrames(': 'void | int',
4517 \ 'SWFVideoStream(': '[string file] | SWFVideoStream', 4279 \ 'SWFVideoStream(': '[string file] | SWFVideoStream',
4518 \ 'SWFVideoStream::setDimension(': 'int x, int y | void',
4519 \ 'swf_viewport(': 'float xmin, float xmax, float ymin, float ymax | void', 4280 \ 'swf_viewport(': 'float xmin, float xmax, float ymin, float ymax | void',
4520 \ 'sybase_affected_rows(': '[resource link_identifier] | int', 4281 \ 'sybase_affected_rows(': '[resource link_identifier] | int',
4521 \ 'sybase_close(': '[resource link_identifier] | bool', 4282 \ 'sybase_close(': '[resource link_identifier] | bool',
4522 \ 'sybase_connect(': '[string servername [, string username [, string password [, string charset [, string appname]]]]] | resource', 4283 \ 'sybase_connect(': '[string servername [, string username [, string password [, string charset [, string appname]]]]] | resource',
4523 \ 'sybase_data_seek(': 'resource result_identifier, int row_number | bool', 4284 \ 'sybase_data_seek(': 'resource result_identifier, int row_number | bool',
4551 \ 'tcpwrap_check(': 'string daemon, string address [, string user [, bool nodns]] | bool', 4312 \ 'tcpwrap_check(': 'string daemon, string address [, string user [, bool nodns]] | bool',
4552 \ 'tempnam(': 'string dir, string prefix | string', 4313 \ 'tempnam(': 'string dir, string prefix | string',
4553 \ 'textdomain(': 'string text_domain | string', 4314 \ 'textdomain(': 'string text_domain | string',
4554 \ 'tidy_access_count(': 'tidy object | int', 4315 \ 'tidy_access_count(': 'tidy object | int',
4555 \ 'tidy_config_count(': 'tidy object | int', 4316 \ 'tidy_config_count(': 'tidy object | int',
4556 \ 'tidy::__construct(': '[string filename [, mixed config [, string encoding [, bool use_include_path]]]] | tidy',
4557 \ 'tidy_error_count(': 'tidy object | int', 4317 \ 'tidy_error_count(': 'tidy object | int',
4558 \ 'tidy_get_output(': 'tidy object | string', 4318 \ 'tidy_get_output(': 'tidy object | string',
4559 \ 'tidy_load_config(': 'string filename, string encoding | void', 4319 \ 'tidy_load_config(': 'string filename, string encoding | void',
4560 \ 'tidy_node-&#62;get_attr(': 'int attrib_id | tidy_attr', 4320 \ 'tidy_node-&#62;get_attr(': 'int attrib_id | tidy_attr',
4561 \ 'tidy_node-&#62;get_nodes(': 'int node_id | array', 4321 \ 'tidy_node-&#62;get_nodes(': 'int node_id | array',
4866 \ 'zip_open(': 'string filename | resource', 4626 \ 'zip_open(': 'string filename | resource',
4867 \ 'zip_read(': 'resource zip | resource', 4627 \ 'zip_read(': 'resource zip | resource',
4868 \ 'zlib_get_coding_type(': 'void | string' 4628 \ 'zlib_get_coding_type(': 'void | string'
4869 \ } 4629 \ }
4870 " }}} 4630 " }}}
4631 " built-in object functions {{{
4632 let g:php_builtin_object_functions = {
4633 \ 'ArrayIterator::current(': 'void | mixed',
4634 \ 'ArrayIterator::key(': 'void | mixed',
4635 \ 'ArrayIterator::next(': 'void | void',
4636 \ 'ArrayIterator::rewind(': 'void | void',
4637 \ 'ArrayIterator::seek(': 'int position | void',
4638 \ 'ArrayIterator::valid(': 'void | bool',
4639 \ 'ArrayObject::append(': 'mixed newval | void',
4640 \ 'ArrayObject::__construct(': 'mixed input | ArrayObject',
4641 \ 'ArrayObject::count(': 'void | int',
4642 \ 'ArrayObject::getIterator(': 'void | ArrayIterator',
4643 \ 'ArrayObject::offsetExists(': 'mixed index | bool',
4644 \ 'ArrayObject::offsetGet(': 'mixed index | bool',
4645 \ 'ArrayObject::offsetSet(': 'mixed index, mixed newval | void',
4646 \ 'ArrayObject::offsetUnset(': 'mixed index | void',
4647 \ 'CachingIterator::hasNext(': 'void | bool',
4648 \ 'CachingIterator::next(': 'void | void',
4649 \ 'CachingIterator::rewind(': 'void | void',
4650 \ 'CachingIterator::__toString(': 'void | string',
4651 \ 'CachingIterator::valid(': 'void | bool',
4652 \ 'CachingRecursiveIterator::getChildren(': 'void | CachingRecursiveIterator',
4653 \ 'CachingRecursiveIterator::hasChildren(': 'void | bolean',
4654 \ 'DirectoryIterator::__construct(': 'string path | DirectoryIterator',
4655 \ 'DirectoryIterator::current(': 'void | DirectoryIterator',
4656 \ 'DirectoryIterator::getATime(': 'void | int',
4657 \ 'DirectoryIterator::getChildren(': 'void | RecursiveDirectoryIterator',
4658 \ 'DirectoryIterator::getCTime(': 'void | int',
4659 \ 'DirectoryIterator::getFilename(': 'void | string',
4660 \ 'DirectoryIterator::getGroup(': 'void | int',
4661 \ 'DirectoryIterator::getInode(': 'void | int',
4662 \ 'DirectoryIterator::getMTime(': 'void | int',
4663 \ 'DirectoryIterator::getOwner(': 'void | int',
4664 \ 'DirectoryIterator::getPath(': 'void | string',
4665 \ 'DirectoryIterator::getPathname(': 'void | string',
4666 \ 'DirectoryIterator::getPerms(': 'void | int',
4667 \ 'DirectoryIterator::getSize(': 'void | int',
4668 \ 'DirectoryIterator::getType(': 'void | string',
4669 \ 'DirectoryIterator::isDir(': 'void | bool',
4670 \ 'DirectoryIterator::isDot(': 'void | bool',
4671 \ 'DirectoryIterator::isExecutable(': 'void | bool',
4672 \ 'DirectoryIterator::isFile(': 'void | bool',
4673 \ 'DirectoryIterator::isLink(': 'void | bool',
4674 \ 'DirectoryIterator::isReadable(': 'void | bool',
4675 \ 'DirectoryIterator::isWritable(': 'void | bool',
4676 \ 'DirectoryIterator::key(': 'void | string',
4677 \ 'DirectoryIterator::next(': 'void | void',
4678 \ 'DirectoryIterator::rewind(': 'void | void',
4679 \ 'DirectoryIterator::valid(': 'void | string',
4680 \ 'FilterIterator::current(': 'void | mixed',
4681 \ 'FilterIterator::getInnerIterator(': 'void | Iterator',
4682 \ 'FilterIterator::key(': 'void | mixed',
4683 \ 'FilterIterator::next(': 'void | void',
4684 \ 'FilterIterator::rewind(': 'void | void',
4685 \ 'FilterIterator::valid(': 'void | bool',
4686 \ 'LimitIterator::getPosition(': 'void | int',
4687 \ 'LimitIterator::next(': 'void | void',
4688 \ 'LimitIterator::rewind(': 'void | void',
4689 \ 'LimitIterator::seek(': 'int position | void',
4690 \ 'LimitIterator::valid(': 'void | bool',
4691 \ 'Memcache::add(': 'string key, mixed var [, int flag [, int expire]] | bool',
4692 \ 'Memcache::addServer(': 'string host [, int port [, bool persistent [, int weight [, int timeout [, int retry_interval]]]]] | bool',
4693 \ 'Memcache::close(': 'void | bool',
4694 \ 'Memcache::connect(': 'string host [, int port [, int timeout]] | bool',
4695 \ 'Memcache::decrement(': 'string key [, int value] | int',
4696 \ 'Memcache::delete(': 'string key [, int timeout] | bool',
4697 \ 'Memcache::flush(': 'void | bool',
4698 \ 'Memcache::getExtendedStats(': 'void | array',
4699 \ 'Memcache::get(': 'string key | string',
4700 \ 'Memcache::getStats(': 'void | array',
4701 \ 'Memcache::getVersion(': 'void | string',
4702 \ 'Memcache::increment(': 'string key [, int value] | int',
4703 \ 'Memcache::pconnect(': 'string host [, int port [, int timeout]] | bool',
4704 \ 'Memcache::replace(': 'string key, mixed var [, int flag [, int expire]] | bool',
4705 \ 'Memcache::setCompressThreshold(': 'int threshold [, float min_savings] | bool',
4706 \ 'Memcache::set(': 'string key, mixed var [, int flag [, int expire]] | bool',
4707 \ 'ParentIterator::getChildren(': 'void | ParentIterator',
4708 \ 'ParentIterator::hasChildren(': 'void | bool',
4709 \ 'ParentIterator::next(': 'void | void',
4710 \ 'ParentIterator::rewind(': 'void | void',
4711 \ 'PDO::beginTransaction(': 'void | bool',
4712 \ 'PDO::commit(': 'void | bool',
4713 \ 'PDO::__construct(': 'string dsn [, string username [, string password [, array driver_options]]] | PDO',
4714 \ 'PDO::errorCode(': 'void | string',
4715 \ 'PDO::errorInfo(': 'void | array',
4716 \ 'PDO::exec(': 'string statement | int',
4717 \ 'PDO::getAttribute(': 'int attribute | mixed',
4718 \ 'PDO::getAvailableDrivers(': 'void | array',
4719 \ 'PDO::lastInsertId(': '[string name] | string',
4720 \ 'PDO::prepare(': 'string statement [, array driver_options] | PDOStatement',
4721 \ 'PDO::query(': 'string statement | PDOStatement',
4722 \ 'PDO::quote(': 'string string [, int parameter_type] | string',
4723 \ 'PDO::rollBack(': 'void | bool',
4724 \ 'PDO::setAttribute(': 'int attribute, mixed value | bool',
4725 \ 'PDO::sqliteCreateAggregate(': 'string function_name, callback step_func, callback finalize_func [, int num_args] | bool',
4726 \ 'PDO::sqliteCreateFunction(': 'string function_name, callback callback [, int num_args] | bool',
4727 \ 'PDOStatement::bindColumn(': 'mixed column, mixed &#38;param [, int type] | bool',
4728 \ 'PDOStatement::bindParam(': 'mixed parameter, mixed &#38;variable [, int data_type [, int length [, mixed driver_options]]] | bool',
4729 \ 'PDOStatement::bindValue(': 'mixed parameter, mixed value [, int data_type] | bool',
4730 \ 'PDOStatement::closeCursor(': 'void | bool',
4731 \ 'PDOStatement::columnCount(': 'void | int',
4732 \ 'PDOStatement::errorCode(': 'void | string',
4733 \ 'PDOStatement::errorInfo(': 'void | array',
4734 \ 'PDOStatement::execute(': '[array input_parameters] | bool',
4735 \ 'PDOStatement::fetchAll(': '[int fetch_style [, int column_index]] | array',
4736 \ 'PDOStatement::fetchColumn(': '[int column_number] | string',
4737 \ 'PDOStatement::fetch(': '[int fetch_style [, int cursor_orientation [, int cursor_offset]]] | mixed',
4738 \ 'PDOStatement::fetchObject(': '[string class_name [, array ctor_args]] | mixed',
4739 \ 'PDOStatement::getAttribute(': 'int attribute | mixed',
4740 \ 'PDOStatement::getColumnMeta(': 'int column | mixed',
4741 \ 'PDOStatement::nextRowset(': 'void | bool',
4742 \ 'PDOStatement::rowCount(': 'void | int',
4743 \ 'PDOStatement::setAttribute(': 'int attribute, mixed value | bool',
4744 \ 'PDOStatement::setFetchMode(': 'int mode | bool',
4745 \ 'Rar::extract(': 'string dir [, string filepath] | bool',
4746 \ 'Rar::getAttr(': 'void | int',
4747 \ 'Rar::getCrc(': 'void | int',
4748 \ 'Rar::getFileTime(': 'void | string',
4749 \ 'Rar::getHostOs(': 'void | int',
4750 \ 'Rar::getMethod(': 'void | int',
4751 \ 'Rar::getName(': 'void | string',
4752 \ 'Rar::getPackedSize(': 'void | int',
4753 \ 'Rar::getUnpackedSize(': 'void | int',
4754 \ 'Rar::getVersion(': 'void | int',
4755 \ 'RecursiveDirectoryIterator::getChildren(': 'void | object',
4756 \ 'RecursiveDirectoryIterator::hasChildren(': '[bool allow_links] | bool',
4757 \ 'RecursiveDirectoryIterator::key(': 'void | string',
4758 \ 'RecursiveDirectoryIterator::next(': 'void | void',
4759 \ 'RecursiveDirectoryIterator::rewind(': 'void | void',
4760 \ 'RecursiveIteratorIterator::current(': 'void | mixed',
4761 \ 'RecursiveIteratorIterator::getDepth(': 'void | int',
4762 \ 'RecursiveIteratorIterator::getSubIterator(': 'void | RecursiveIterator',
4763 \ 'RecursiveIteratorIterator::key(': 'void | mixed',
4764 \ 'RecursiveIteratorIterator::next(': 'void | void',
4765 \ 'RecursiveIteratorIterator::rewind(': 'void | void',
4766 \ 'RecursiveIteratorIterator::valid(': 'void | bolean',
4767 \ 'SDO_DAS_ChangeSummary::beginLogging(': 'void | void',
4768 \ 'SDO_DAS_ChangeSummary::endLogging(': 'void | void',
4769 \ 'SDO_DAS_ChangeSummary::getChangedDataObjects(': 'void | SDO_List',
4770 \ 'SDO_DAS_ChangeSummary::getChangeType(': 'SDO_DataObject dataObject | int',
4771 \ 'SDO_DAS_ChangeSummary::getOldContainer(': 'SDO_DataObject data_object | SDO_DataObject',
4772 \ 'SDO_DAS_ChangeSummary::getOldValues(': 'SDO_DataObject data_object | SDO_List',
4773 \ 'SDO_DAS_ChangeSummary::isLogging(': 'void | bool',
4774 \ 'SDO_DAS_DataFactory::addPropertyToType(': 'string parent_type_namespace_uri, string parent_type_name, string property_name, string type_namespace_uri, string type_name [, array options] | void',
4775 \ 'SDO_DAS_DataFactory::addType(': 'string type_namespace_uri, string type_name [, array options] | void',
4776 \ 'SDO_DAS_DataFactory::getDataFactory(': 'void | SDO_DAS_DataFactory',
4777 \ 'SDO_DAS_DataObject::getChangeSummary(': 'void | SDO_DAS_ChangeSummary',
4778 \ 'SDO_DAS_Relational::applyChanges(': 'PDO database_handle, SDODataObject root_data_object | void',
4779 \ 'SDO_DAS_Relational::__construct(': 'array database_metadata [, string application_root_type [, array SDO_containment_references_metadata]] | SDO_DAS_Relational',
4780 \ 'SDO_DAS_Relational::createRootDataObject(': 'void | SDODataObject',
4781 \ 'SDO_DAS_Relational::executePreparedQuery(': 'PDO database_handle, PDOStatement prepared_statement, array value_list [, array column_specifier] | SDODataObject',
4782 \ 'SDO_DAS_Relational::executeQuery(': 'PDO database_handle, string SQL_statement [, array column_specifier] | SDODataObject',
4783 \ 'SDO_DAS_Setting::getListIndex(': 'void | int',
4784 \ 'SDO_DAS_Setting::getPropertyIndex(': 'void | int',
4785 \ 'SDO_DAS_Setting::getPropertyName(': 'void | string',
4786 \ 'SDO_DAS_Setting::getValue(': 'void | mixed',
4787 \ 'SDO_DAS_Setting::isSet(': 'void | bool',
4788 \ 'SDO_DAS_XML::addTypes(': 'string xsd_file | void',
4789 \ 'SDO_DAS_XML::createDataObject(': 'string namespace_uri, string type_name | SDO_DataObject',
4790 \ 'SDO_DAS_XML::createDocument(': '[string document_element_name] | SDO_DAS_XML_Document',
4791 \ 'SDO_DAS_XML::create(': '[string xsd_file] | SDO_DAS_XML',
4792 \ 'SDO_DAS_XML_Document::getRootDataObject(': 'void | SDO_DataObject',
4793 \ 'SDO_DAS_XML_Document::getRootElementName(': 'void | string',
4794 \ 'SDO_DAS_XML_Document::getRootElementURI(': 'void | string',
4795 \ 'SDO_DAS_XML_Document::setEncoding(': 'string encoding | void',
4796 \ 'SDO_DAS_XML_Document::setXMLDeclaration(': 'bool xmlDeclatation | void',
4797 \ 'SDO_DAS_XML_Document::setXMLVersion(': 'string xmlVersion | void',
4798 \ 'SDO_DAS_XML::loadFile(': 'string xml_file | SDO_XMLDocument',
4799 \ 'SDO_DAS_XML::loadString(': 'string xml_string | SDO_DAS_XML_Document',
4800 \ 'SDO_DAS_XML::saveFile(': 'SDO_XMLDocument xdoc, string xml_file [, int indent] | void',
4801 \ 'SDO_DAS_XML::saveString(': 'SDO_XMLDocument xdoc [, int indent] | string',
4802 \ 'SDO_DataFactory::create(': 'string type_namespace_uri, string type_name | void',
4803 \ 'SDO_DataObject::clear(': 'void | void',
4804 \ 'SDO_DataObject::createDataObject(': 'mixed identifier | SDO_DataObject',
4805 \ 'SDO_DataObject::getContainer(': 'void | SDO_DataObject',
4806 \ 'SDO_DataObject::getSequence(': 'void | SDO_Sequence',
4807 \ 'SDO_DataObject::getTypeName(': 'void | string',
4808 \ 'SDO_DataObject::getTypeNamespaceURI(': 'void | string',
4809 \ 'SDO_Exception::getCause(': 'void | mixed',
4810 \ 'SDO_List::insert(': 'mixed value [, int index] | void',
4811 \ 'SDO_Model_Property::getContainingType(': 'void | SDO_Model_Type',
4812 \ 'SDO_Model_Property::getDefault(': 'void | mixed',
4813 \ 'SDO_Model_Property::getName(': 'void | string',
4814 \ 'SDO_Model_Property::getType(': 'void | SDO_Model_Type',
4815 \ 'SDO_Model_Property::isContainment(': 'void | bool',
4816 \ 'SDO_Model_Property::isMany(': 'void | bool',
4817 \ 'SDO_Model_ReflectionDataObject::__construct(': 'SDO_DataObject data_object | SDO_Model_ReflectionDataObject',
4818 \ 'SDO_Model_ReflectionDataObject::export(': 'SDO_Model_ReflectionDataObject rdo [, bool return] | mixed',
4819 \ 'SDO_Model_ReflectionDataObject::getContainmentProperty(': 'void | SDO_Model_Property',
4820 \ 'SDO_Model_ReflectionDataObject::getInstanceProperties(': 'void | array',
4821 \ 'SDO_Model_ReflectionDataObject::getType(': 'void | SDO_Model_Type',
4822 \ 'SDO_Model_Type::getBaseType(': 'void | SDO_Model_Type',
4823 \ 'SDO_Model_Type::getName(': 'void | string',
4824 \ 'SDO_Model_Type::getNamespaceURI(': 'void | string',
4825 \ 'SDO_Model_Type::getProperties(': 'void | array',
4826 \ 'SDO_Model_Type::getProperty(': 'mixed identifier | SDO_Model_Property',
4827 \ 'SDO_Model_Type::isAbstractType(': 'void | bool',
4828 \ 'SDO_Model_Type::isDataType(': 'void | bool',
4829 \ 'SDO_Model_Type::isInstance(': 'SDO_DataObject data_object | bool',
4830 \ 'SDO_Model_Type::isOpenType(': 'void | bool',
4831 \ 'SDO_Model_Type::isSequencedType(': 'void | bool',
4832 \ 'SDO_Sequence::getProperty(': 'int sequence_index | SDO_Model_Property',
4833 \ 'SDO_Sequence::insert(': 'mixed value [, int sequenceIndex [, mixed propertyIdentifier]] | void',
4834 \ 'SDO_Sequence::move(': 'int toIndex, int fromIndex | void',
4835 \ 'SimpleXMLIterator::current(': 'void | mixed',
4836 \ 'SimpleXMLIterator::getChildren(': 'void | object',
4837 \ 'SimpleXMLIterator::hasChildren(': 'void | bool',
4838 \ 'SimpleXMLIterator::key(': 'void | mixed',
4839 \ 'SimpleXMLIterator::next(': 'void | void',
4840 \ 'SimpleXMLIterator::rewind(': 'void | void',
4841 \ 'SimpleXMLIterator::valid(': 'void | bool',
4842 \ 'SWFButton::addASound(': 'SWFSound sound, int flags | SWFSoundInstance',
4843 \ 'SWFButton::setMenu(': 'int flag | void',
4844 \ 'SWFDisplayItem::addAction(': 'SWFAction action, int flags | void',
4845 \ 'SWFDisplayItem::endMask(': 'void | void',
4846 \ 'SWFDisplayItem::getRot(': 'void | float',
4847 \ 'SWFDisplayItem::getX(': 'void | float',
4848 \ 'SWFDisplayItem::getXScale(': 'void | float',
4849 \ 'SWFDisplayItem::getXSkew(': 'void | float',
4850 \ 'SWFDisplayItem::getY(': 'void | float',
4851 \ 'SWFDisplayItem::getYScale(': 'void | float',
4852 \ 'SWFDisplayItem::getYSkew(': 'void | float',
4853 \ 'SWFDisplayItem::setMaskLevel(': 'int level | void',
4854 \ 'SWFDisplayItem::setMatrix(': 'float a, float b, float c, float d, float x, float y | void',
4855 \ 'SWFFontChar::addChars(': 'string char | void',
4856 \ 'SWFFontChar::addUTF8Chars(': 'string char | void',
4857 \ 'SWFFont::getAscent(': 'void | float',
4858 \ 'SWFFont::getDescent(': 'void | float',
4859 \ 'SWFFont::getLeading(': 'void | float',
4860 \ 'SWFFont::getShape(': 'int code | string',
4861 \ 'SWFFont::getUTF8Width(': 'string string | float',
4862 \ 'SWFMovie::addExport(': 'SWFCharacter char, string name | void',
4863 \ 'SWFMovie::addFont(': 'SWFFont font | SWFFontChar',
4864 \ 'SWFMovie::importChar(': 'string libswf, string name | SWFSprite',
4865 \ 'SWFMovie::importFont(': 'string libswf, string name | SWFFontChar',
4866 \ 'SWFMovie::labelFrame(': 'string label | void',
4867 \ 'SWFMovie::saveToFile(': 'stream x [, int compression] | int',
4868 \ 'SWFMovie::startSound(': 'SWFSound sound | SWFSoundInstance',
4869 \ 'SWFMovie::stopSound(': 'SWFSound sound | void',
4870 \ 'SWFMovie::writeExports(': 'void | void',
4871 \ 'SWFShape::drawArc(': 'float r, float startAngle, float endAngle | void',
4872 \ 'SWFShape::drawCircle(': 'float r | void',
4873 \ 'SWFShape::drawCubic(': 'float bx, float by, float cx, float cy, float dx, float dy | int',
4874 \ 'SWFShape::drawCubicTo(': 'float bx, float by, float cx, float cy, float dx, float dy | int',
4875 \ 'SWFShape::drawGlyph(': 'SWFFont font, string character [, int size] | void',
4876 \ 'SWFSoundInstance::loopCount(': 'int point | void',
4877 \ 'SWFSoundInstance::loopInPoint(': 'int point | void',
4878 \ 'SWFSoundInstance::loopOutPoint(': 'int point | void',
4879 \ 'SWFSoundInstance::noMultiple(': 'void | void',
4880 \ 'SWFSprite::labelFrame(': 'string label | void',
4881 \ 'SWFSprite::startSound(': 'SWFSound sound | SWFSoundInstance',
4882 \ 'SWFSprite::stopSound(': 'SWFSound sound | void',
4883 \ 'SWFText::addUTF8String(': 'string text | void',
4884 \ 'SWFTextField::addChars(': 'string chars | void',
4885 \ 'SWFTextField::setPadding(': 'float padding | void',
4886 \ 'SWFText::getAscent(': 'void | float',
4887 \ 'SWFText::getDescent(': 'void | float',
4888 \ 'SWFText::getLeading(': 'void | float',
4889 \ 'SWFText::getUTF8Width(': 'string string | float',
4890 \ 'SWFVideoStream::getNumFrames(': 'void | int',
4891 \ 'SWFVideoStream::setDimension(': 'int x, int y | void',
4892 \ 'tidy::__construct(': '[string filename [, mixed config [, string encoding [, bool use_include_path]]]] | tidy'
4893 \ }
4894 " }}}
4871 " Add control structures (they are outside regular pattern of PHP functions) 4895 " Add control structures (they are outside regular pattern of PHP functions)
4872 let php_control = { 4896 let php_control = {
4873 \ 'include(': 'string filename | resource', 4897 \ 'include(': 'string filename | resource',
4874 \ 'include_once(': 'string filename | resource', 4898 \ 'include_once(': 'string filename | resource',
4875 \ 'require(': 'string filename | resource', 4899 \ 'require(': 'string filename | resource',
4876 \ 'require_once(': 'string filename | resource', 4900 \ 'require_once(': 'string filename | resource',
4877 \ } 4901 \ }
4878 call extend(b:php_builtin_functions, php_control) 4902 call extend(g:php_builtin_functions, php_control)
4879 endfunction 4903 endfunction
4880 " }}} 4904 " }}}
4881 " vim:set foldmethod=marker: 4905 " vim:set foldmethod=marker: