Javascript filelist widget, see uty_filelist.
More...
List of all members.
Public Member Functions |
function | utyFileList (id, path, root, onselchange, onrowsubmit, showDownload) |
function | path () |
function | root () |
function | dirType () |
function | basename () |
function | fullname () |
function | listview () |
function | list_onselchange (list) |
function | list_onrowsubmit (list) |
function | browse (path, history, autorefresh) |
function | sort (key, col) |
function | back () |
function | forward () |
function | refresh (sender, autorefresh) |
function | up () |
function | home () |
function | download (path) |
function | rename (oldname) |
function | mkdir () |
function | copy () |
function | cut () |
function | clipFiles () |
function | paste () |
function | remove (basename) |
function | upload (sender) |
function | sendRequest (action, args, callback, autorefresh) |
function | load (path, html, sender) |
function | setStatus (action, http) |
function | itemsCount (dirType) |
function | toString () |
Public Attributes |
| onselchange |
| onrowsubmit |
| showDownload |
Detailed Description
Javascript filelist widget, see uty_filelist.
Constructor & Destructor Documentation
function utyFileList |
( |
|
id, |
|
|
|
path, |
|
|
|
root, |
|
|
|
onselchange, |
|
|
|
onrowsubmit, |
|
|
|
showDownload | |
|
) |
| | [inline] |
INTERNAL create new instance
Member Function Documentation
function back |
( |
|
) |
[inline] |
function basename |
( |
|
) |
[inline] |
- Returns:
- the selected row file/dir basename
function browse |
( |
|
path, |
|
|
|
history, |
|
|
|
autorefresh | |
|
) |
| | [inline] |
load a path
- Parameters:
-
| path | (string) the path to load |
| [history] | (bool) is a history call (internal navigation buttons) |
| [autorefresh] | is an authorefresh call (internal, after editing) |
function clipFiles |
( |
|
) |
[inline] |
INTERNAL exec clipboard storing of list selection
function copy |
( |
|
) |
[inline] |
copy currently clipped files
function cut |
( |
|
) |
[inline] |
put files in clipboard for moving
function dirType |
( |
|
) |
[inline] |
function download |
( |
|
path |
) |
[inline] |
function forward |
( |
|
) |
[inline] |
function fullname |
( |
|
) |
[inline] |
- Returns:
- the selected row file/dir full path and name
function home |
( |
|
) |
[inline] |
go home (he path when created)
function itemsCount |
( |
|
dirType |
) |
[inline] |
get number of itemes of the specified type
- Parameters:
-
| [dirType] | (UTY_DIRTYPE) if specified return count of this type, otherwise all items |
function list_onrowsubmit |
( |
|
list |
) |
[inline] |
INTERNAL listview onrowsubmit handler
function list_onselchange |
( |
|
list |
) |
[inline] |
INTERNAL listview onselchange handler
function listview |
( |
|
) |
[inline] |
- Returns:
- the inner listview widget
function load |
( |
|
path, |
|
|
|
html, |
|
|
|
sender | |
|
) |
| | [inline] |
INTERNAL load list body response html
function mkdir |
( |
|
) |
[inline] |
create new folder in current path
function paste |
( |
|
) |
[inline] |
paste clipped files in current path
function path |
( |
|
) |
[inline] |
function refresh |
( |
|
sender, |
|
|
|
autorefresh | |
|
) |
| | [inline] |
function remove |
( |
|
basename |
) |
[inline] |
remove basename (if specified) or clipped files
- Parameters:
-
| [basename] | (string) the basename of the file in current path to remove |
function rename |
( |
|
oldname |
) |
[inline] |
function root |
( |
|
) |
[inline] |
function sendRequest |
( |
|
action, |
|
|
|
args, |
|
|
|
callback, |
|
|
|
autorefresh | |
|
) |
| | [inline] |
INTERNAL send ajax request to php server page
function setStatus |
( |
|
action, |
|
|
|
http | |
|
) |
| | [inline] |
ITNERNAL set status bar information
function sort |
( |
|
key, |
|
|
|
col | |
|
) |
| | [inline] |
INTERNAL reload the list with specified sorting (column click)
function toString |
( |
|
) |
[inline] |
return "utyFileList"
Reimplemented from utyWidget.
function upload |
( |
|
sender |
) |
[inline] |
INTERNAL show/hide upload form (sender is the toolbar button)
Member Data Documentation
javascript expression executed when list selection submitted (row dblclick)
javascript expression executed when list selection changes
get/set show download row button visibility for the next ajax load
The documentation for this class was generated from the following file: