ultimix
jquery_corner_1_0_0 Class Reference

Public Member Functions

 __construct ()
 pre_generation (&$Options)

Data Fields

 $PageJS = false

Detailed Description

Class loads jquery.corner scripts.

Author
Dodonov A.A.

Definition at line 26 of file jquery_corner.php.

Constructor & Destructor Documentation

__construct ( )

Constructor.

Exceptions
ExceptionAn exception of this type is thrown.
Author
Dodonov A.A.

Definition at line 54 of file jquery_corner.php.

{
try
{
$this->PageJS = get_package( 'page::page_js' , 'last' , __FILE__ );
}
catch( Exception $e )
{
$a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
}
}

Member Function Documentation

pre_generation ( $Options)

Function executes before any page generating actions took place.

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

Definition at line 84 of file jquery_corner.php.

{
try
{
$Path = '{http_host}/'._get_package_relative_path_ex( 'jquery::jquery_corner' , 'last' );
$this->PageJS->add_javascript( "$Path/include/js/jquery.corner.js" );
}
catch( Exception $e )
{
$a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
}
}

Field Documentation

$PageJS = false

Cached packages.

Author
Dodonov A.A.

Definition at line 38 of file jquery_corner.php.


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