ultimix

- Main Page
- Data Structures
- Files
- Examples

- Data Structures
- Data Structure Index
- Data Fields

Public Member Functions | Data Fields
system_structure_controller_1_0_0 Class Reference

## Public Member Functions
| __construct ()
| update ($id, $Params, $Options)
| create ($Params, $Options)
| controller ($Options)

## Data Fields
| $UserAlgorithms = false
| $PageComposer = false
| $Security = false
| $Settings = false
| $CachedFS = false
| $String = false

## Detailed Description

Controller.

Author
  Dodonov A.A.

Definition at line 26 of file system_structure_controller.php.

## Constructor & Destructor Documentation

__construct | ( |  | ) |

Constructor.

Author
  Dodonov A.A.

Definition at line 55 of file system_structure_controller.php.

{
try
{
$this->UserAlgorithms = get_package( 'user::user_algorithms' , 'last' , __FILE__ );
$this->PageComposer = get_package( 'page::page_composer' , 'last' , __FILE__ );
$this->Security = get_package( 'security' , 'last' , __FILE__ );
$this->Settings = get_package_object( 'settings::settings' , 'last' , __FILE__ );
$this->CachedFS = get_package( 'cached_multy_fs' , '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

controller | ( |  | $Options | ) |

Function controls component.

Parameters

  $Options | - Settings.

Exceptions

  Exception | - An exception of this type is thrown.

Author
  Dodonov A.A.

Definition at line 170 of file system_structure_controller.php.

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

create | ( |  | $Params,
|  |  | $Options
| ) |  |

Function creates record.

Parameters

  $Params | - record creation parameters.
  $Options | - Settings.

Exceptions

  Exception | - An exception of this type is thrown.

Author
  Dodonov A.A.

Definition at line 136 of file system_structure_controller.php.

{
try
{
$Access = get_package( 'system_structure::system_structure_access' , 'last' , __FILE__ );
$Access->create_system_structure(
$Params->system_structure_page , $Params->system_structure_root_page ,
$Params->system_structure_navigation
);
}
catch( Exception $e )
{
$a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
}
}

update | ( |  | $id,
|  |  | $Params,
|  |  | $Options
| ) |  |

Function updates record.

Parameters

  $id | - id of the updates record.
  $Params | - record creation parameters.
  $Options | - Settings.

Exceptions

  Exception | - An exception of this type is thrown.

Author
  Dodonov A.A.

Definition at line 98 of file system_structure_controller.php.

{
try
{
$Access = get_package( 'system_structure::system_structure_access' , 'last' , __FILE__ );
$Access->update(
$id , $Params->system_structure_page , $Params->system_structure_root_page ,
$Params->system_structure_navigation
);
}
catch( Exception $e )
{
$a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
}
}

## Field Documentation

$CachedFS = false

Definition at line 42 of file system_structure_controller.php.

$PageComposer = false

Definition at line 39 of file system_structure_controller.php.

$Security = false

Definition at line 40 of file system_structure_controller.php.

$Settings = false

Definition at line 41 of file system_structure_controller.php.

$String = false

Definition at line 43 of file system_structure_controller.php.

$UserAlgorithms = false

Cached objects.

Author
  Dodonov A.A.

Definition at line 38 of file system_structure_controller.php.

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

- packages/system_structure/packages/system_structure_controller/system_structure_controller.php