ultimix
package_markup_1_0_0 Class Reference

Public Member Functions

 __construct ()
 compile_package_dialog (&$Settings)

Data Fields

 $BlockSettings = false
 $String = false

Detailed Description

Class processes package macro.

Author
Dodonov A.A.

Definition at line 26 of file package_markup.php.

Constructor & Destructor Documentation

__construct ( )

Constructor.

Author
Dodonov A.A.

Definition at line 52 of file package_markup.php.

{
try
{
$this->BlockSettings = get_package_object( 'settings::settings' , 'last' , __FILE__ );
$this->String = get_package( 'string' , 'last' , __FILE__ );
}
catch( Exception $e )
{
$a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
}
}

Member Function Documentation

compile_package_dialog ( $Settings)

Function compiles macro 'package_dialog'.

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

Definition at line 88 of file package_markup.php.

{
try
{
$Settings->set_setting( 'id' , 'package_dialog' );
$Settings->set_setting( 'title' , 'package_dialog' );
$PackageName = 'core::package_manager';
$Settings->set_setting( 'package_name' , $PackageName );
$Settings->set_setting( 'show_package_tree' , '1' );
return( '{view_dialog:'.$Settings->get_all_settings().'}' );
}
catch( Exception $e )
{
$a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
}
}

Field Documentation

$BlockSettings = false

Cached objects.

Author
Dodonov A.A.

Definition at line 39 of file package_markup.php.

$String = false

Definition at line 40 of file package_markup.php.


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