ultimix
jslib_1_0_0 Class Reference

Public Member Functions

 pre_generation ($Options)
 view ($Options)

Detailed Description

Class loads java script libraries.

Author
Dodonov A.A.

Definition at line 26 of file jslib.php.

Member Function Documentation

pre_generation (   $Options)

Function executes before any page generating actions took place.

Parameters
$Options- Settings.
Exceptions
Exception- An exception of this type is thrown.
Author
Dodonov A.A.

Definition at line 78 of file jslib.php.

{
try
{
$Path = $this->get_path();
$PageJS = get_package( 'page::page_js' , 'last' , __FILE__ );
$PageJS->add_javascript( "$Path/ajax_gate.js" );
$PageJS->add_javascript( "$Path/core.js" );
$PageJS->add_javascript( "$Path/double_panel.js" );
$PageJS->add_javascript( "$Path/forms.js" );
$PageJS->add_javascript( "$Path/grids.js" );
$PageJS->add_javascript( "$Path/inplace.js" );
$PageJS->add_javascript( "$Path/iterator.js" );
$PageJS->add_javascript( "$Path/string_utilities.js" );
$PageJS->add_javascript( "$Path/utilities.js" );
$PageJS->add_javascript( "$Path/windows.js" );
}
catch( Exception $e )
{
$a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
}
}
view (   $Options)

View for the scripting library.

Parameters
$Options- not used.
Exceptions
Exception- An exception of this type is thrown.
Author
Dodonov A.A.

Definition at line 119 of file jslib.php.

{
try
{
return( '' );
}
catch( Exception $e )
{
$a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
}
}

The documentation for this class was generated from the following file: