ultimix

- Main Page
- Data Structures
- Files
- Examples

- Data Structures
- Data Structure Index
- Data Fields

Public Member Functions | Data Fields
jquery_simplemodal_1_4_2 Class Reference

## Public Member Functions
| __construct ()
| pre_generation (&$Options)

## Data Fields
| $PageCSS = false
| $PageJS = false

## Detailed Description

Class loads simplemodal scripts.

Author
  Dodonov A.A.

Definition at line 26 of file jquery_simplemodal.php.

## Constructor & Destructor Documentation

__construct | ( |  | ) |

Constructor.

Exceptions

  Exception | An exception of this type is thrown.

Author
  Dodonov A.A.

Definition at line 55 of file jquery_simplemodal.php.

{
try
{
$this->PageCSS = get_package( 'page::page_css' , 'last' , __FILE__ );
$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

  Exception | An exception of this type is thrown.

Author
  Dodonov A.A.

Definition at line 86 of file jquery_simplemodal.php.

{
try
{
$Path = '{http_host}/'._get_package_relative_path_ex( 'jquery::jquery_simplemodal' , 'last' );
$this->PageJS->add_javascript( "$Path/include/js/jquery.simplemodal.1.4.2.min.js" );
$this->PageCSS->add_stylesheet( "$Path/res/css/basic.css" , false );
}
catch( Exception $e )
{
$a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
}
}

## Field Documentation

$PageCSS = false

Cached packages.

Author
  Dodonov A.A.

Definition at line 38 of file jquery_simplemodal.php.

$PageJS = false

Definition at line 39 of file jquery_simplemodal.php.

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

- packages/jquery/packages/jquery_simplemodal/jquery_simplemodal.php