Detailed Description
This manager helps to manage packages.
- Author
- Dodonov A.A.
Definition at line 26 of file package_manager_controller.php.
Member Function Documentation
Controller of the component.
- Parameters
-
- Exceptions
-
| Exception | - An exception of this type is thrown. |
- Author
- Dodonov A.A.
Definition at line 118 of file package_manager_controller.php.
{
try
{
$Context =
get_package(
'gui::context' ,
'last' , __FILE__ );
$Context->load_config( dirname( __FILE__ ).'/conf/cfcx_delete_package' );
if( $Context->execute( $Options , $this ) )return;
$Context->load_config( dirname( __FILE__ ).'/conf/cfcx_install_package' );
if( $Context->execute( $Options , $this ) )return;
}
catch( Exception $e )
{
}
}
| delete_package |
( |
|
$Options | ) |
|
Function deletes package.
- Parameters
-
- Exceptions
-
| Exception | - An exception of this type is thrown. |
- Author
- Dodonov A.A.
Definition at line 81 of file package_manager_controller.php.
{
try
{
$Security =
get_package(
'security' ,
'last' , __FILE__ );
$PackageName = $Security->get_gp( 'package_name' , 'string' );
$PackageVersion = $Security->get_gp( 'package_version' , 'string' );
}
catch( Exception $e )
{
}
}
| install_package |
( |
|
$Options | ) |
|
Function installs package.
- Parameters
-
- Exceptions
-
| Exception | - An exception of this type is thrown. |
- Author
- Dodonov A.A.
Definition at line 46 of file package_manager_controller.php.
{
try
{
$Security =
get_package(
'security' ,
'last' , __FILE__ );
$PackageAlgoritms =
get_package(
'core::package_algorithms' ,
'last' , __FILE__ );
$MasterPackage = explode( '#' , $Security->get_gp( 'package_selection' , 'string' ) );
$PackageAlgoritms->install_package(
$UploadFileAccess->UploadedFilePath , $MasterPackage[ 0 ] , $MasterPackage[ 1 ]
);
}
catch( Exception $e )
{
}
}
The documentation for this class was generated from the following file: