FileManager Input.
Displays a file manager and allows users to manage the folder contents
Features :
+ 3 modes : manage | selection | requestlink
+ browse files from given folder (default input folder is default site folder)
- view : cols
- view : list
. view : bigicons
. view : smallicons
. view : slideshow
+ upload files (case of rights)
+ create new folders (case of rights)
+ reload action button
. duplicate action button
+ rename action button (+ alert: some links may be broken)
. compress file/folder action button
. uncompress file/folder action button
+ download file action button
+ delete folders and files (case of rights)
+ file description (type, size, creation date, modification date, more ...)
. show visible/invisible file only
. browsing file filter (case of file extension)
+ store view prefs for each admin (in a cookie)
. upload file filter < input type="file" name="" devices="file" accept="text/ *" >
. folder create error management
. file upload error management
. file upload file already exists
. file image thumbnail (for jpg and png)
. rebuild system with ajax.
More...
|
| | __construct ($path_type) |
| |
| | initialise ($params=array()) |
| |
| | execute_request () |
| |
| | set_objectName ($n) |
| |
| | set_themeValues ($theme) |
| |
| | set_folderValues ($path=null, $url=null, $title=null) |
| |
| | set_engineValues ($mode=null, $url=null, $rights=null) |
| |
| | set_browserValues ($size=null, $filter=null, $path=null) |
| |
| | set_selectionValues ($function=null) |
| |
| | get_runningValues () |
| |
| | check_allValues () |
| |
| | get_link ($page_value) |
| |
| | __construct ($name, $path_type) |
| |
| | Input ($name, $path_type) |
| |
| | display () |
| |
| | get_translation ($value, $data=null) |
| |
| | set_selectedLayout ($layout='') |
| |
| | __construct ($name, $plugin_type, $path_type) |
| |
| | get_version () |
| |
| | load_library ($library='') |
| |
| | load_file ($file='') |
| |
| | load_varFile ($file='') |
| |
| | load_engineFile ($file='') |
| |
| | get_engineFileURL ($file='', $path=false) |
| |
| | get_fileURL ($file='', $path=null, $default='') |
| |
| | get_varFileURL ($file='', $path=false, $default='') |
| |
| | get_filePath ($file='') |
| |
| | get_varFilePath ($file='') |
| |
| | add_JSFile ($file) |
| |
| | add_JSEngineFile ($file) |
| |
| | add_JSExternFile ($file) |
| |
| | add_JSScript ($script, $unique=false) |
| |
| | add_JSPreScript ($script, $unique=false) |
| |
| | add_JSWindowEventScript ($event, $script, $unique=false) |
| |
| | add_JSLoadScript ($script, $unique=false) |
| |
| | add_JSUnloadScript ($script, $unique=false) |
| |
| | add_styleFile ($file, $media='', $condition='') |
| |
| | add_styleScript ($css) |
| |
| | add_styleIncludedFile ($file) |
| |
| | add_StyleExternFile ($file, $media='', $condition='') |
| |
| | set_RSSFeed ($title, $url) |
| |
| | add_headerExtra ($content='') |
| |
| | install () |
| |
| | uninstall () |
| |
| | is_installed () |
| |
| | update ($version, $more='') |
| |
| | add_translation ($more='', $lg=null) |
| |
| | get_languages () |
| |
| | execute_onCaMykSInitialise () |
| |
| | execute_onCaMykSPageLoad () |
| |
| | execute_onCaMykSBodyOpen () |
| |
| | execute_onCaMykSBodyClose () |
| |
| | execute_onCaMykSAdminPageLoad () |
| |
| | execute_onCaMykSAdminBodyOpen () |
| |
| | execute_onCaMykSAdminBodyClose () |
| |
| | execute_onCaMykSTerminate () |
| |
| | get_requestLink ($params=array()) |
| |
| | get_requestJSLink ($params=array()) |
| |
| | get_varFile ($file) |
| |
|
| | $modes = array('manage', 'selection', 'requestlink') |
| | Available mode list. More...
|
| |
| | $views = array('columns', ) |
| | Available view list. More...
|
| |
FileManager Input.
Displays a file manager and allows users to manage the folder contents
Features :
+ 3 modes : manage | selection | requestlink
+ browse files from given folder (default input folder is default site folder)
- view : cols
- view : list
. view : bigicons
. view : smallicons
. view : slideshow
+ upload files (case of rights)
+ create new folders (case of rights)
+ reload action button
. duplicate action button
+ rename action button (+ alert: some links may be broken)
. compress file/folder action button
. uncompress file/folder action button
+ download file action button
+ delete folders and files (case of rights)
+ file description (type, size, creation date, modification date, more ...)
. show visible/invisible file only
. browsing file filter (case of file extension)
+ store view prefs for each admin (in a cookie)
. upload file filter < input type="file" name="" devices="file" accept="text/ *" >
. folder create error management
. file upload error management
. file upload file already exists
. file image thumbnail (for jpg and png)
. rebuild system with ajax.
Plugin / Input Engine
- Author
- CaMykS Team camyk.nosp@m.s.co.nosp@m.ntact.nosp@m.@gma.nosp@m.il.co.nosp@m.m
- Version
- 1.0.4.3
- Date
- Creation: Jun 2007
-
Modification: Jul 2025
- Copyright
- 2007 - 2025 CaMykS Team
- Note
- This program is distributed as is - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- Todo:
- Add missing features and extension management.
FileManager Input class.
◆ __construct()
| FileManager::__construct |
( |
|
$path_type | ) |
|
Class constructor.
- Parameters
-
◆ initialise()
| FileManager::initialise |
( |
|
$params = array() | ) |
|
Initialise input.
- Returns
- void
Reimplemented from Input.
◆ execute_request()
| FileManager::execute_request |
( |
| ) |
|
Execute plugin engine as request
- Returns
- void
Reimplemented from Plugin.
◆ set_objectName()
| FileManager::set_objectName |
( |
|
$n | ) |
|
Update object name.
- Parameters
-
- Returns
- void
◆ set_themeValues()
| FileManager::set_themeValues |
( |
|
$theme | ) |
|
Define theme.
- Parameters
-
- Returns
- void
◆ set_folderValues()
| FileManager::set_folderValues |
( |
|
$path = null, |
|
|
|
$url = null, |
|
|
|
$title = null |
|
) |
| |
Define folder values.
- Parameters
-
| string | $path | |
| string | $url | |
| string | $title | |
- Returns
- void
◆ set_engineValues()
| FileManager::set_engineValues |
( |
|
$mode = null, |
|
|
|
$url = null, |
|
|
|
$rights = null |
|
) |
| |
Define engine values
- Parameters
-
| string | $mode | |
| string | $url | |
| string | $rights | |
- Returns
- void
◆ set_browserValues()
| FileManager::set_browserValues |
( |
|
$size = null, |
|
|
|
$filter = null, |
|
|
|
$path = null |
|
) |
| |
Define browser values.
- Parameters
-
| int | $size | |
| string | $filter | |
| string | $path | |
- Returns
- void
◆ set_selectionValues()
| FileManager::set_selectionValues |
( |
|
$function = null | ) |
|
Define specific to selection mode values.
- Parameters
-
- Returns
- void
◆ get_runningValues()
| FileManager::get_runningValues |
( |
| ) |
|
Get running values
- Returns
- void
◆ check_allValues()
| FileManager::check_allValues |
( |
| ) |
|
Check all plugin values and complete them with default values
- Returns
- void
◆ get_headerValues()
| FileManager::get_headerValues |
( |
| ) |
|
|
private |
Load all values from header
- Returns
- void
◆ initialise_link_mode()
| FileManager::initialise_link_mode |
( |
| ) |
|
|
private |
Plugin initialisation in link mode.
- Returns
- void
◆ initialise_manage_mode()
| FileManager::initialise_manage_mode |
( |
| ) |
|
|
private |
Plugin initialisation in view mode.
- Returns
- void
◆ initialise_selection_mode()
| FileManager::initialise_selection_mode |
( |
| ) |
|
|
private |
Initialise plugin in selection mode.
- Returns
- void
◆ get_link()
| FileManager::get_link |
( |
|
$page_value | ) |
|
Request link mode link.
- Parameters
-
- Returns
- string
◆ get_fileTree()
| FileManager::get_fileTree |
( |
| ) |
|
|
private |
Build file tree.
- Returns
- void
◆ get_folderContent()
| FileManager::get_folderContent |
( |
|
$folder, |
|
|
|
$level |
|
) |
| |
|
private |
Get folder content
- Parameters
-
| string | $folder | |
| integer | $level | |
- Returns
- array
◆ initialise_folder_execute()
| FileManager::initialise_folder_execute |
( |
| ) |
|
|
private |
Create a folder action.
- Returns
- void
◆ initialise_file_execute()
| FileManager::initialise_file_execute |
( |
| ) |
|
|
private |
Upload a file action.
- Returns
- void
◆ initialise_trash_execute()
| FileManager::initialise_trash_execute |
( |
| ) |
|
|
private |
Trash a file action.
- Returns
- void
◆ initialise_change_view_execute()
| FileManager::initialise_change_view_execute |
( |
| ) |
|
|
private |
Change file system view action.
- Returns
- void
◆ initialise_rename_execute()
| FileManager::initialise_rename_execute |
( |
| ) |
|
|
private |
Rename a file or a folder action.
- Returns
- void
◆ initialise_download_execute()
| FileManager::initialise_download_execute |
( |
| ) |
|
|
private |
Download a file action.
- Returns
- void
◆ initialise_columnsview()
| FileManager::initialise_columnsview |
( |
| ) |
|
|
private |
Specific initialization for columns view.
- Returns
- void
◆ build_columnsHTML()
| FileManager::build_columnsHTML |
( |
& |
$file, |
|
|
|
$level, |
|
|
|
$visible = false |
|
) |
| |
|
private |
Build html for columns view.
- Parameters
-
| array | $file | |
| int | $level | |
| boolean | $visible | |
- Returns
- string
◆ build_columnsHTMLDescription()
| FileManager::build_columnsHTMLDescription |
( |
& |
$file, |
|
|
|
$level, |
|
|
|
$visible = false |
|
) |
| |
|
private |
Build html for folder descriptions.
- Parameters
-
| array | $file | |
| int | $level | |
| boolean | $visible | |
- Returns
- string
◆ initialise_listview()
| FileManager::initialise_listview |
( |
| ) |
|
|
private |
Specific initialization for list view.
- Returns
- void
◆ build_listHTML()
| FileManager::build_listHTML |
( |
& |
$files, |
|
|
|
$level, |
|
|
|
$visible = false |
|
) |
| |
|
private |
Build html for list view
- Parameters
-
| array | $files | |
| int | $level | |
| boolean | $visible | |
- Returns
- string
◆ $winSize
| FileManager::$winSize = '100%' |
Size of the manager view.
var string $winSize
◆ $objname
| FileManager::$objname = 'fm' |
Manager object name.
var string $objname
◆ $modes
| FileManager::$modes = array('manage', 'selection', 'requestlink') |
|
private |
Available mode list.
var array $modes
◆ $views
| FileManager::$views = array('columns', ) |
|
private |
Available view list.
var array $views
◆ $theme
Applied theme to the view.
var array $views
◆ $folder_path
| FileManager::$folder_path |
Path to folder to manage.
var string $folder_path
◆ $folder_url
URL to folder to manage.
var string $folder_url
◆ $folder_title
| FileManager::$folder_title |
Title of folder to manage.
var string $folder_title
◆ $engine_mode
| FileManager::$engine_mode |
Selected mode for current view.
var string $engine_mode
◆ $engine_url
Url of current view.
var string $engine_url
◆ $engine_rights
| FileManager::$engine_rights |
User rights for current view.
var string $engine_rights
◆ $engine_action
| FileManager::$engine_action |
Action to execute in current view.
var string $engine_action
◆ $browser_maxfilesize
| FileManager::$browser_maxfilesize |
Upload max file size.
var string $browser_maxfilesize
◆ $browser_maxlevel
| FileManager::$browser_maxlevel |
Browser max level.
var string $browser_maxlevel
◆ $browser_view
| FileManager::$browser_view |
Browser current view.
var string $browser_view
◆ $browser_filter
| FileManager::$browser_filter |
Browser current filter.
var string $browser_filter
◆ $browser_path
| FileManager::$browser_path |
Browser current path.
var string $browser_path
◆ $browser_openpath
| FileManager::$browser_openpath |
Browser current open path.
var string $browser_openpath
◆ $browser_files
| FileManager::$browser_files |
Browser files.
var array $browser_files
◆ $selection_callback_function
| FileManager::$selection_callback_function |
Callback function for selection mode.
var string $selection_callback_function
The documentation for this class was generated from the following file: