58 $this->CachedMultyFS =
get_package(
'cached_multy_fs' ,
'last' , __FILE__ );
108 $Title = $Package[
'package_name' ].
'.'.$Package[
'package_version' ];
110 $Brunch .= $this->CachedMultyFS->get_template( __FILE__ ,
'package_item_start.tpl' );
112 $Brunch = str_replace(
'{title}' , $Title , $Brunch );
116 $Brunch .= $this->CachedMultyFS->get_template( __FILE__ ,
'package_item_end.tpl' );
118 catch( Exception $e )
150 if( isset( $Packages[ 0 ] ) ==
false )
155 $Brunch = $this->CachedMultyFS->get_template( __FILE__ ,
'package_branch_start.tpl' );
157 foreach( $Packages as $i => $Package )
162 return( $Brunch.$this->CachedMultyFS->get_template( __FILE__ ,
'package_branch_end.tpl' ) );
164 catch( Exception $e )
192 $PackageAlgorithms =
get_package(
'core::package_algorithms' ,
'last' , __FILE__ );
193 $Packages = $PackageAlgorithms->get_packages_tree();
195 $this->Output = $this->CachedMultyFS->get_template( __FILE__ ,
'package_start.tpl' );
197 foreach( $Packages as $i => $Package )
199 $this->Output = $this->compile_package_tree_brunch( $this->Output , $Package );
202 $this->Output .= $this->CachedMultyFS->get_template( __FILE__ ,
'package_end.tpl' );
204 catch( Exception $e )
236 if( isset( $MetaFiles[ 0 ] ) ==
false )
241 $Brunch = $this->CachedMultyFS->get_template( __FILE__ ,
'package_meta_start.tpl' );
243 foreach( $MetaFiles as $i => $File )
245 $Title = basename( $File );
247 $Brunch .= $this->CachedMultyFS->get_template( __FILE__ ,
'package_meta_item.tpl' );
249 $Brunch = str_replace(
'{title}' , $Title , $Brunch );
252 return( $Brunch.$this->CachedMultyFS->get_template( __FILE__ ,
'package_meta_end.tpl' ) );
254 catch( Exception $e )
286 if( isset( $ConfigFiles[ 0 ] ) ==
false )
291 $Brunch = $this->CachedMultyFS->get_template( __FILE__ ,
'package_conf_start.tpl' );
293 foreach( $ConfigFiles as $i => $File )
295 $Title = basename( $File );
297 $Brunch .= $this->CachedMultyFS->get_template( __FILE__ ,
'package_conf_item.tpl' );
299 $Brunch = str_replace(
'{title}' , $Title , $Brunch );
302 return( $Brunch.$this->CachedMultyFS->get_template( __FILE__ ,
'package_conf_end.tpl' ) );
304 catch( Exception $e )
340 $Title = $Package[
'package_name' ].
'.'.$Package[
'package_version' ];
342 $Brunch .= $this->CachedMultyFS->get_template( __FILE__ ,
'package_system_item_start.tpl' );
344 $Brunch = str_replace(
'{title}' , $Title , $Brunch );
352 $Brunch .= $this->CachedMultyFS->get_template( __FILE__ ,
'package_system_item_end.tpl' );
354 catch( Exception $e )
386 if( isset( $Packages[ 0 ] ) ==
false )
391 $Brunch = $this->CachedMultyFS->get_template( __FILE__ ,
'package_system_start.tpl' );
393 foreach( $Packages as $i => $Package )
398 return( $Brunch.$this->CachedMultyFS->get_template( __FILE__ ,
'package_system_end.tpl' ) );
400 catch( Exception $e )
428 $PackageAlgorithms =
get_package(
'core::package_algorithms' ,
'last' , __FILE__ );
429 $Packages = $PackageAlgorithms->get_packages_tree();
431 $this->Output = $this->CachedMultyFS->get_template( __FILE__ ,
'system_start.tpl' );
433 foreach( $Packages as $i => $Package )
438 $this->Output .= $this->CachedMultyFS->get_template( __FILE__ ,
'system_end.tpl' );
440 catch( Exception $e )
472 $Context =
get_package(
'gui::context' ,
'last' , __FILE__ );
474 $Context->load_config( dirname( __FILE__ ).
'/conf/cfcx_show_package_tree' );
475 if( $Context->execute( $Options , $this ) )
return( $this->Output );
477 $Context->load_config( dirname( __FILE__ ).
'/conf/cfcx_show_system_tree' );
478 if( $Context->execute( $Options , $this ) )
return( $this->Output );
480 catch( Exception $e )