getSearchData

gets an array of items (files, folders) that contain text in their names

array getSearchData(string id,string text);

Parameters

idstringthe ID of the folder where the text is searched
textstringthe searched text

Returns

arrayan array of items

Example

var result = fmanager.getSearchData(id,text);

Details

The return value can be as follows:

[
    {
        id:"pres2", value:"June 2014.ppt",
        type:"pp", date:"2014-02-10 16:10",
        size:"20100", $count:0,
        $parent:"presentations", $level:4
    }
]
Back to top