Detailed Description
This class controls component.
- Author
- Dodonov A.A.
Definition at line 26 of file ownership_controller.php.
Constructor & Destructor Documentation
Member Function Documentation
Function controlls component.
- Parameters
-
- Exceptions
-
| Exception | - An exception of this type is thrown. |
- Author
- Dodonov A.A.
Definition at line 132 of file ownership_controller.php.
{
try
{
$ContextSet->add_context( dirname( __FILE__ ).'/conf/cfcx_register_owners' );
$ContextSet->execute( $Options , $this , __FILE__ );
}
catch( Exception $e )
{
}
}
Function executes before any page generating actions took place.
- Parameters
-
- Exceptions
-
| Exception | An exception of this type is thrown. |
- Author
- Dodonov A.A.
Definition at line 67 of file ownership_controller.php.
{
try
{
}
catch( Exception $e )
{
}
}
| register_owners |
( |
|
$Options = false | ) |
|
Function registers owners.
- Parameters
-
- Exceptions
-
| Exception | - An exception of this type is thrown. |
- Author
- Dodonov A.A.
Definition at line 97 of file ownership_controller.php.
{
try
{
$OwnershipAccess =
get_package(
'permit::ownership::ownership_access' ,
'last' , __FILE__ );
$UserAlgorithms =
get_package(
'user::user_algorithms' ,
'last' , __FILE__ );
$User = $UserAlgorithms->get_user();
$OwnershipAccess->register_owner(
get_field( $User ,
'id' ) ,
'user' );
}
catch( Exception $e )
{
}
}
The documentation for this class was generated from the following file: