ultimix
auto_view_1_0_0 Class Reference

Public Member Functions

 __construct ()
 pre_generation (&$Options)
 set_path ($thePackagePath)
 view ($Options)

Data Fields

 $PackagePath
 $Output

Detailed Description

View.

Author
Dodonov A.A.

Definition at line 26 of file auto_view.php.

Constructor & Destructor Documentation

__construct ( )

Constructor.

Author
Dodonov A.A.

Definition at line 62 of file auto_view.php.

{
try
{
}
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 91 of file auto_view.php.

{
try
{
$PageJS = get_package( 'page::page_js' , 'last' , __FILE__ );
$PackagePath = _get_package_relative_path_ex( 'page::auto_view' , '1.0.0' );
$PageJS->add_javascript( "{http_host}/$PackagePath/include/js/auto_view.js" );
}
catch( Exception $e )
{
$a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
}
}
set_path (   $thePackagePath)

Setting path to the replacing path.

Parameters
$thePackagePath- Path to the package.
Exceptions
Exception- An exception of this type is thrown.
Author
Dodonov A.A.

Definition at line 123 of file auto_view.php.

{
try
{
$this->PackagePath = $thePackagePath;
}
catch( Exception $e )
{
$a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
}
}
view (   $Options)

Function draws component.

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

Definition at line 153 of file auto_view.php.

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

Field Documentation

$Output

Display function's result.

Author
Dodonov A.A.

Definition at line 50 of file auto_view.php.

$PackagePath

Path to the replacing package.

Author
Dodonov A.A.

Definition at line 38 of file auto_view.php.


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