Detailed Description
Class loads audio player scripts.
- Author
- Dodonov A.A.
Definition at line 26 of file jquery_media.php.
Constructor & Destructor Documentation
Constructor.
- Exceptions
-
| Exception | An exception of this type is thrown. |
- Author
- Dodonov A.A.
Definition at line 56 of file jquery_media.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_media |
( |
& |
$Settings | ) |
|
Function processes macro 'timer'.
- Parameters
-
| $Settings | - Compilation parameters. |
- Returns
- Code.
- Exceptions
-
| Exception | - An exception of this type is thrown. |
- Author
- Dodonov A.A.
Definition at line 163 of file jquery_media.php.
{
try
{
$Code = $this->CachedMultyFS->get_template( __FILE__ , 'media.tpl' );
$Vars = $this->get_vars( $Settings );
$Code = $this->String->print_record( $Code , $Vars );
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 jquery_media.php.
{
try
{
$Path = '{http_host}/'._get_package_relative_path_ex( 'jquery::jquery_media' , 'last' );
$this->PageJS->add_javascript( "$Path/include/js/jquery.media.js" );
$this->PageJS->add_javascript( "$Path/include/js/jquery.media.autorun.js" );
}
catch( Exception $e )
{
}
}
Field Documentation
The documentation for this class was generated from the following file: