[ Index ]

PHP Cross Reference of DokuWiki




/_test/tests/inc/ -> media_searchlist.test.php (summary)

(no description)

File Size: 258 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

media_searchlist_test:: (17 methods):

Class: media_searchlist_test  - X-Ref

save($name, $copy)   X-Ref
Save the file

param: $name name of saving file
param: $copy file used as a content of uploaded file

setUp()   X-Ref
Called for each test

reset_media_printfile()   X-Ref
No description

media_searchlist_header($query, $ns)   X-Ref
Build search result header as in media_searchlist() with $fullscreen = false

return: string
param: $query search query
param: $ns namespece where we search

media_printfile($item)   X-Ref
Wrap around media_printfile: return the result.

return: string
param: $item

media_searchlist($query, $ns)   X-Ref
Wrap around media_searchlist: return the result
Reset media_printfile static variables afterwards

return: string
param: $query
param: $ns

create_media_items($rel_ids)   X-Ref

return: array $items as required by media_printfile
param: array[string] $rel_ids media ids relative to $this->upload_ns

media_searchlist_except($rel_ids, $query, $ns)   X-Ref
Output result as in 'media_searchlist' but use an arbitrary media IDs list instead of actual searching
Reset media_printfile static variables afterwards

return: string
param: array[string] $rel_ids media ids relative to $this->upload_ns
param: string $query actual seqrch query (used for filling search filed input)
param: string $ns

test_noglobbing()   X-Ref
No description

test_globbing_asterisk()   X-Ref
No description

test_globbing_find_by_ext()   X-Ref
No description

test_globbing_question_mark()   X-Ref
No description

test_globbing_question_mark_and_asterisk()   X-Ref
No description

test_globbing_question_mark_on_the_begining()   X-Ref
No description

test_globbing_two_question_marks_on_the_begining()   X-Ref
No description

test_globbing_two_letter_file_names()   X-Ref
No description

test_zero_search()   X-Ref
No description