dolibarr 21.0.0-beta
|
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) &&!getDolGlobalString( 'MAIN_ECM_DISABLE_JS')) if(empty($conf->use_javascript_ajax)||getDolGlobalString('MAIN_ECM_DISABLE_JS')) if((!isset( $mode)||$mode !='noajax') &&is_object( $db)) | treeOutputForAbsoluteDir ($sqltree, $selecteddir, $fullpathselecteddir, $modulepart, $websitekey, $pageid, $preopened, $fullpathpreopened, $depth=0) |
treeOutputForAbsoluteDir | |
This script returns content of a directory for filetree.
Definition in file ajaxdirtree.php.
foreach( $sqltree as $keycursor=> $val) if(!empty($conf->use_javascript_ajax) &&!getDolGlobalString('MAIN_ECM_DISABLE_JS')) if(empty( $conf->use_javascript_ajax)||getDolGlobalString( 'MAIN_ECM_DISABLE_JS')) if((!isset($mode)|| $mode !='noajax') &&is_object($db)) treeOutputForAbsoluteDir | ( | $sqltree, | |
$selecteddir, | |||
$fullpathselecteddir, | |||
$modulepart, | |||
$websitekey, | |||
$pageid, | |||
$preopened, | |||
$fullpathpreopened, | |||
$depth = 0 ) |
treeOutputForAbsoluteDir
array<int,array{id:int,id_mere:int,fulllabel:string,fullpath:string,fullrelativename:string,label:string,description:string,cachenbofdoc:int,date_c:int,fk_user_c:int,statut_c:int,login_c:string,id_children?:int[],level:int}> | $sqltree Sqltree | |
string | $selecteddir | Selected dir |
string | $fullpathselecteddir | Full path of selected dir |
string | $modulepart | Modulepart |
string | $websitekey | Website key |
int | $pageid | Page id |
string | $preopened | Current open dir |
string | $fullpathpreopened | Full path of current open dir |
int | $depth | Depth |
Definition at line 382 of file ajaxdirtree.php.
References $conf, dol_escape_htmltag(), dol_is_dir(), dol_print_date(), tree_showpad(), and treeOutputForAbsoluteDir().
Referenced by treeOutputForAbsoluteDir().