ILIAS
Release_3_10_x_branch Revision 61812
|
Class ilFileExplorer. More...
Public Member Functions | |
ilFileExplorer ($a_directory, $a_target) | |
Constructor public. | |
setOrderColumn ($a_column) | |
set the order column public | |
setTargetGet ($a_target_get) | |
set the varname in Get-string public | |
setParamsGet ($a_params_get) | |
set additional params to be passed in Get-string public | |
setExpandTarget ($a_exp_target) | |
target script for expand icons | |
checkPermissions ($a_check) | |
check permissions via rbac | |
outputIcons ($a_icons) | |
output icons | |
setOutput ($a_parent_dir, $a_depth=1) | |
Creates output for explorer view in admin menue recursive method public. | |
getFiles ($a_parent_dir, $a_order) | |
getOutput () | |
Creates output recursive method public. | |
formatHeader ($a_obj_id, $a_option) | |
Creates output for header (is empty here but can be overwritten in derived classes) | |
formatObject ($a_node_id, $a_option) | |
Creates output recursive method private. | |
createTarget ($a_type, $a_node_id) | |
Creates Get Parameter private. | |
setFrameTarget ($a_target) | |
set target frame or not frame? | |
createLines ($a_depth) | |
Creates lines for explorer view private. | |
is_in_array ($a_start, $a_depth) | |
DESCRIPTION MISSING private. | |
getIndex ($a_data) | |
get index of format_options array from specific ref_id,parent_id private | |
addFilter ($a_item) | |
adds item to the filter public | |
delFilter ($a_item) | |
adds item to the filter public | |
setExpand ($a_node_id) | |
set the expand option this value is stored in a SESSION variable to save it different view (lo view, frm view,...) private | |
setFiltered ($a_bool) | |
active/deactivate the filter public | |
checkFilter ($a_item) | |
check if item is in filter private |
Data Fields | |
$ilias | |
$output | |
$format_options | |
$directory | |
$target | |
$target_get | |
$params_get | |
$expanded | |
$order_column | |
$expand_target | |
$output_icons |
Class ilFileExplorer.
Definition at line 32 of file class.ilFileExplorer.php.
ilFileExplorer::addFilter | ( | $a_item | ) |
adds item to the filter public
string | object type to add |
Definition at line 558 of file class.ilFileExplorer.php.
ilFileExplorer::checkFilter | ( | $a_item | ) |
check if item is in filter private
string |
Definition at line 676 of file class.ilFileExplorer.php.
Referenced by setOutput().
ilFileExplorer::checkPermissions | ( | $a_check | ) |
check permissions via rbac
boolean | $a_check | check true/false |
Definition at line 205 of file class.ilFileExplorer.php.
ilFileExplorer::createLines | ( | $a_depth | ) |
Creates lines for explorer view private.
integer |
Definition at line 475 of file class.ilFileExplorer.php.
References is_in_array().
ilFileExplorer::createTarget | ( | $a_type, | |
$a_node_id | |||
) |
Creates Get Parameter private.
string | |
integer |
Definition at line 440 of file class.ilFileExplorer.php.
Referenced by formatObject().
ilFileExplorer::delFilter | ( | $a_item | ) |
adds item to the filter public
string | object type to delete |
Definition at line 595 of file class.ilFileExplorer.php.
ilFileExplorer::formatHeader | ( | $a_obj_id, | |
$a_option | |||
) |
Creates output for header (is empty here but can be overwritten in derived classes)
public
integer | obj_id |
integer | array options |
Definition at line 356 of file class.ilFileExplorer.php.
Referenced by getOutput().
ilFileExplorer::formatObject | ( | $a_node_id, | |
$a_option | |||
) |
Creates output recursive method private.
integer | |
array |
Definition at line 368 of file class.ilFileExplorer.php.
References $lng, $target, $tpl, createTarget(), and ilUtil\getImagePath().
Referenced by getOutput().
ilFileExplorer::getFiles | ( | $a_parent_dir, | |
$a_order | |||
) |
Definition at line 297 of file class.ilFileExplorer.php.
Referenced by setOutput().
ilFileExplorer::getIndex | ( | $a_data | ) |
get index of format_options array from specific ref_id,parent_id private
array | object data |
Definition at line 538 of file class.ilFileExplorer.php.
Referenced by setOutput().
ilFileExplorer::getOutput | ( | ) |
Creates output recursive method public.
Definition at line 321 of file class.ilFileExplorer.php.
References formatHeader(), and formatObject().
ilFileExplorer::ilFileExplorer | ( | $a_directory, | |
$a_target | |||
) |
Constructor public.
string | scriptname |
Definition at line 116 of file class.ilFileExplorer.php.
References $ilias.
ilFileExplorer::is_in_array | ( | $a_start, | |
$a_depth | |||
) |
DESCRIPTION MISSING private.
integer | |
integer |
Definition at line 515 of file class.ilFileExplorer.php.
Referenced by createLines().
ilFileExplorer::outputIcons | ( | $a_icons | ) |
output icons
boolean | $a_icons | output icons true/false |
Definition at line 215 of file class.ilFileExplorer.php.
ilFileExplorer::setExpand | ( | $a_node_id | ) |
set the expand option this value is stored in a SESSION variable to save it different view (lo view, frm view,...) private
string | pipe-separated integer |
Definition at line 637 of file class.ilFileExplorer.php.
References $_SESSION.
ilFileExplorer::setExpandTarget | ( | $a_exp_target | ) |
target script for expand icons
string | $a_exp_target | script name of target script(may include parameters) initially set to $_SERVER["PATH_INFO"] |
Definition at line 195 of file class.ilFileExplorer.php.
ilFileExplorer::setFiltered | ( | $a_bool | ) |
active/deactivate the filter public
boolean |
Definition at line 664 of file class.ilFileExplorer.php.
ilFileExplorer::setFrameTarget | ( | $a_target | ) |
set target frame or not frame?
string | public |
Definition at line 465 of file class.ilFileExplorer.php.
ilFileExplorer::setOrderColumn | ( | $a_column | ) |
set the order column public
string | name of order column |
Definition at line 148 of file class.ilFileExplorer.php.
ilFileExplorer::setOutput | ( | $a_parent_dir, | |
$a_depth = 1 |
|||
) |
Creates output for explorer view in admin menue recursive method public.
integer | parent_node_id where to start from (default=0, 'root') |
integer | depth level where to start (default=1) |
Definition at line 229 of file class.ilFileExplorer.php.
References $files, $tab, checkFilter(), getFiles(), and getIndex().
ilFileExplorer::setParamsGet | ( | $a_params_get | ) |
set additional params to be passed in Get-string public
array |
Definition at line 173 of file class.ilFileExplorer.php.
ilFileExplorer::setTargetGet | ( | $a_target_get | ) |
set the varname in Get-string public
string | varname containing Ids to be used in GET-string |
Definition at line 158 of file class.ilFileExplorer.php.
ilFileExplorer::$directory |
Definition at line 60 of file class.ilFileExplorer.php.
ilFileExplorer::$expand_target |
Definition at line 102 of file class.ilFileExplorer.php.
ilFileExplorer::$expanded |
Definition at line 88 of file class.ilFileExplorer.php.
ilFileExplorer::$format_options |
Definition at line 53 of file class.ilFileExplorer.php.
ilFileExplorer::$ilias |
Definition at line 39 of file class.ilFileExplorer.php.
Referenced by ilFileExplorer().
ilFileExplorer::$order_column |
Definition at line 95 of file class.ilFileExplorer.php.
ilFileExplorer::$output |
Definition at line 46 of file class.ilFileExplorer.php.
ilFileExplorer::$output_icons |
Definition at line 109 of file class.ilFileExplorer.php.
ilFileExplorer::$params_get |
Definition at line 81 of file class.ilFileExplorer.php.
ilFileExplorer::$target |
Definition at line 67 of file class.ilFileExplorer.php.
Referenced by formatObject().
ilFileExplorer::$target_get |
Definition at line 74 of file class.ilFileExplorer.php.