ILIAS
Release_4_1_x_branch Revision 61804
|
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 12 of file class.ilFileExplorer.php.
ilFileExplorer::addFilter | ( | $a_item | ) |
adds item to the filter public
string | object type to add |
Definition at line 538 of file class.ilFileExplorer.php.
ilFileExplorer::checkFilter | ( | $a_item | ) |
check if item is in filter private
string |
Definition at line 656 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 185 of file class.ilFileExplorer.php.
ilFileExplorer::createLines | ( | $a_depth | ) |
Creates lines for explorer view private.
integer |
Definition at line 455 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 420 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 575 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 336 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 348 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 277 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 518 of file class.ilFileExplorer.php.
Referenced by setOutput().
ilFileExplorer::getOutput | ( | ) |
Creates output recursive method public.
Definition at line 301 of file class.ilFileExplorer.php.
References formatHeader(), and formatObject().
ilFileExplorer::ilFileExplorer | ( | $a_directory, | |
$a_target | |||
) |
Constructor public.
string | scriptname |
Definition at line 96 of file class.ilFileExplorer.php.
References $ilias.
ilFileExplorer::is_in_array | ( | $a_start, | |
$a_depth | |||
) |
DESCRIPTION MISSING private.
integer | |
integer |
Definition at line 495 of file class.ilFileExplorer.php.
Referenced by createLines().
ilFileExplorer::outputIcons | ( | $a_icons | ) |
output icons
boolean | $a_icons | output icons true/false |
Definition at line 195 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 617 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 175 of file class.ilFileExplorer.php.
ilFileExplorer::setFiltered | ( | $a_bool | ) |
active/deactivate the filter public
boolean |
Definition at line 644 of file class.ilFileExplorer.php.
ilFileExplorer::setFrameTarget | ( | $a_target | ) |
set target frame or not frame?
string | public |
Definition at line 445 of file class.ilFileExplorer.php.
ilFileExplorer::setOrderColumn | ( | $a_column | ) |
set the order column public
string | name of order column |
Definition at line 128 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 209 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 153 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 138 of file class.ilFileExplorer.php.
ilFileExplorer::$directory |
Definition at line 40 of file class.ilFileExplorer.php.
ilFileExplorer::$expand_target |
Definition at line 82 of file class.ilFileExplorer.php.
ilFileExplorer::$expanded |
Definition at line 68 of file class.ilFileExplorer.php.
ilFileExplorer::$format_options |
Definition at line 33 of file class.ilFileExplorer.php.
ilFileExplorer::$ilias |
Definition at line 19 of file class.ilFileExplorer.php.
Referenced by ilFileExplorer().
ilFileExplorer::$order_column |
Definition at line 75 of file class.ilFileExplorer.php.
ilFileExplorer::$output |
Definition at line 26 of file class.ilFileExplorer.php.
ilFileExplorer::$output_icons |
Definition at line 89 of file class.ilFileExplorer.php.
ilFileExplorer::$params_get |
Definition at line 61 of file class.ilFileExplorer.php.
ilFileExplorer::$target |
Definition at line 47 of file class.ilFileExplorer.php.
Referenced by formatObject().
ilFileExplorer::$target_get |
Definition at line 54 of file class.ilFileExplorer.php.