ultimix
gallery_view_1_0_0 Class Reference

Public Member Functions

 pre_generation ($Options)
 view ($Options)

Data Fields

 $Output

Detailed Description

View class.

Author
Dodonov A.A.

Definition at line 26 of file gallery_view.php.

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 58 of file gallery_view.php.

{
try
{
$PageJS = get_package( 'page::page_js' , 'last' , __FILE__ );
$PackagePath = _get_package_relative_path_ex( 'gallery::gallery_view' , '1.0.0::1.0.0' );
$PageJS->add_javascript( "{http_host}/$PackagePath/include/js/gallery_view.js" );
$Lang = get_package( 'lang' , 'last' , __FILE__ );
$Lang->include_strings_js( 'gallery::gallery_view' );
}
catch( Exception $e )
{
$a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
}
}
view (   $Options)

Function draws component.

Parameters
$Options- Settings.
Returns
HTML code of the компонента.
Exceptions
ExceptionAn exception of this type is thrown.
Author
Dodonov A.A.

Definition at line 97 of file gallery_view.php.

{
try
{
$ContextSet = get_package( 'gui::context_set' , 'last' , __FILE__ );
$ContextSet->execute( $Options , $this , __FILE__ );
return( $this->Output );
}
catch( Exception $e )
{
$a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
}
}

Field Documentation

$Output

Variable stores generated HTML.

Author
Dodonov A.A.

Definition at line 38 of file gallery_view.php.


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