/** * Constructor TreeViewFolder * @param string $value folder node text * @param string $path_folder path to the folder */ function __construct($value, $path_folder) { parent::__construct($value, '', false, $path_folder); }
/** * Constructor TreeViewFile * @param string $value file node text * @param string $path_file path to the file * @param string $link file node link */ function __construct($value, $path_file = '', $link = '') { parent::__construct($value, $link, true, $path_file); }