Detailed Description
This manager helps to create pages.
- Author
- Dodonov A.A.
Definition at line 26 of file page_manager_controller.php.
Member Function Documentation
Function controls component.
- Parameters
-
- Exceptions
-
| Exception | - An exception of this type is thrown. |
- Author
- Dodonov A.A.
Definition at line 115 of file page_manager_controller.php.
{
try
{
$ContextSet =
get_package(
'gui::context_set' ,
'last' , __FILE__ );
$ContextSet->add_context( dirname( __FILE__ ).'/conf/cfcxs_packages_form' );
$ContextSet->add_context( dirname( __FILE__ ).'/conf/cfcxs_permitions_form' );
$ContextSet->execute( $Options , $this , __FILE__ );
}
catch( Exception $e )
{
}
}
| update_packages |
( |
|
$Options | ) |
|
Function edits record.
- Parameters
-
- Exceptions
-
| Exception | - An exception of this type is thrown. |
- Author
- Dodonov A.A.
Definition at line 46 of file page_manager_controller.php.
{
try
{
$Security =
get_package(
'security' ,
'last' , __FILE__ );
$PageName = $Security->get_p( 'page_record_id' , 'command' );
$PageAccess =
get_package(
'page::page_access' ,
'last' , __FILE__ );
$PageAccess->set_package_appliance( $PageName , $Security->get_p( 'page_packages' , 'unsafe_string' ) );
}
catch( Exception $e )
{
}
}
| update_permitions |
( |
|
$Options | ) |
|
Function edits record.
- Parameters
-
- Exceptions
-
| Exception | - An exception of this type is thrown. |
- Author
- Dodonov A.A.
Definition at line 80 of file page_manager_controller.php.
{
try
{
$Security =
get_package(
'security' ,
'last' , __FILE__ );
$PageName = $Security->get_p( 'page_record_id' , 'command' );
$PermitAccess =
get_package(
'permit::permit_access' ,
'last' , __FILE__ );
$Permitions = $Security->get_p( 'page_permitions' , 'unsafe_string' );
$PermitAccess->set_permits_for_page( $PageName , $Permitions );
}
catch( Exception $e )
{
}
}
The documentation for this class was generated from the following file: