dolibarr 18.0.6
ajaxdirtree.php File Reference

This script returns content of a directory for filetree. More...

Go to the source code of this file.

Functions

foreach($sqltree as $keycursor=> $val) if(!empty( $conf->use_javascript_ajax) &&empty( $conf->global->MAIN_ECM_DISABLE_JS)) if(empty($conf->use_javascript_ajax)||!empty($conf->global->MAIN_ECM_DISABLE_JS)) if((!isset( $mode)||$mode !='noajax') &&is_object( $db)) treeOutputForAbsoluteDir ($sqltree, $selecteddir, $fullpathselecteddir, $modulepart, $websitekey, $pageid, $preopened, $fullpathpreopened, $depth=0)
 treeOutputForAbsoluteDir
 

Detailed Description

This script returns content of a directory for filetree.

Definition in file ajaxdirtree.php.

Function Documentation

◆ treeOutputForAbsoluteDir()

foreach( $sqltree as $keycursor=> $val) if(!empty($conf->use_javascript_ajax) &&empty($conf->global->MAIN_ECM_DISABLE_JS)) if(empty( $conf->use_javascript_ajax)||!empty( $conf->global->MAIN_ECM_DISABLE_JS)) if((!isset($mode)|| $mode !='noajax') &&is_object($db)) treeOutputForAbsoluteDir ( $sqltree,
$selecteddir,
$fullpathselecteddir,
$modulepart,
$websitekey,
$pageid,
$preopened,
$fullpathpreopened,
$depth = 0 )

treeOutputForAbsoluteDir

Parameters
array$sqltreeSqltree
string$selecteddirSelected dir
string$fullpathselecteddirFull path of selected dir
string$modulepartModulepart
string$websitekeyWebsite key
int$pageidPage id
string$preopenedCurrent open dir
string$fullpathpreopenedFull path of current open dir
int$depthDepth
Returns
void

Definition at line 369 of file ajaxdirtree.php.

References dol_escape_htmltag(), dol_is_dir(), dol_print_date(), tree_showpad(), and treeOutputForAbsoluteDir().

Referenced by treeOutputForAbsoluteDir().