Detailed Description
Class loads jquery library.
- Author
- Dodonov A.A.
Definition at line 26 of file jstree.php.
Constructor & Destructor Documentation
Constructor.
- Exceptions
-
| Exception | An exception of this type is thrown. |
- Author
- Dodonov A.A.
Definition at line 56 of file jstree.php.
{
try
{
$this->CachedMultyFS =
get_package(
'cached_multy_fs' ,
'last' , __FILE__ );
$this->PageJS =
get_package(
'page::page_js' ,
'last' , __FILE__ );
$this->String =
get_package(
'string' ,
'last' , __FILE__ );
}
catch( Exception $e )
{
}
}
Member Function Documentation
| compile_tree_control_buttons |
( |
& |
$Settings | ) |
|
Function compiles macro 'tree_control_buttons'.
- Parameters
-
- Returns
- HTML code.
- Exceptions
-
| Exception | - An exception of this type is thrown. |
- Author
- Dodonov A.A.
Definition at line 132 of file jstree.php.
{
try
{
$Code = $this->CachedMultyFS->get_template( __FILE__ , 'tree_control_buttons.tpl' );
$Selector = $Settings->get_setting( 'tree_control_selector' , '.tree_control' );
$Code = str_replace( '{tree_control_selector}' , $Selector , $Code );
$DirectCategory = $Settings->get_setting( 'direct_category' , '14' );
$Code = str_replace( '{direct_category}' , $DirectCategory , $Code );
$Code = $this->String->print_record( $Code , $Settings );
return( $Code );
}
catch( Exception $e )
{
}
}
| pre_generation |
( |
|
$Options | ) |
|
Function executes before any page generating actions took place.
- Parameters
-
- Exceptions
-
| Exception | An exception of this type is thrown. |
- Author
- Dodonov A.A.
Definition at line 88 of file jstree.php.
{
try
{
$Path = "{http_host}/$Path/include/js";
$this->PageJS->add_javascript( "$Path/jquery.jstree.js" );
$this->PageJS->add_javascript( "$Path/jquery.jstree.buttons.js" );
$this->PageJS->add_javascript( "$Path/jquery.jstree.autorun.default.js" );
$this->PageJS->add_javascript( "$Path/jquery.jstree.extractor.js" );
$this->PageJS->add_javascript( "$Path/jquery.jstree.autorun.default.js" );
$Lang->include_strings_js( 'gui::jstree' );
}
catch( Exception $e )
{
}
}
Field Documentation
Cached packages.
- Author
- Dodonov A.A.
Definition at line 38 of file jstree.php.
The documentation for this class was generated from the following file: