Detailed Description
Class for rapid buttons creation.
- Author
- Dodonov A.A.
Definition at line 26 of file public_common_state_startup.php.
Constructor & Destructor Documentation
Constructor.
- Exceptions
-
| Exception | - An exception of this type is thrown. |
- Author
- Dodonov A.A.
Definition at line 71 of file public_common_state_startup.php.
{
try
{
$PackageName = 'gui::context_set::common_state_startup::common_state_startup_utilities';
$this->StartupUtilities =
get_package( $PackageName ,
'last' , __FILE__ );
$this->DefaultControllers =
get_package(
'gui::context_set::default_controllers' ,
'last' , __FILE__ );
$this->DefaultViews =
get_package(
'gui::context_set::default_views' ,
'last' , __FILE__ );
$this->Security =
get_package(
'security' ,
'last' , __FILE__ );
$this->Trace =
get_package(
'trace' ,
'last' , __FILE__ );
}
catch( Exception $e )
{
}
}
Member Function Documentation
| dependent_records_form_state_startup |
( |
& |
$ContextSet, |
|
|
& |
$Options |
|
) |
| |
Function starts dependent records form sate.
- Parameters
-
| $ContextSet | - Set of contexts. |
| $Options | - Execution parameters. |
- Returns
- true if the state was processed.
- Exceptions
-
| Exception | - An exception of this type is thrown. |
- Author
- Dodonov A.A.
Definition at line 205 of file public_common_state_startup.php.
{
try
{
$this->Trace->start_group( "{lang:dependent_records_form_state}" );
$Result = false;
if( intval( $Options->get_setting( 'dependent_records' , 0 ) ) )
{
$Result = $this->StartupUtilities->try_run_view_state(
$ContextSet , $Options , 'dependent_records'
);
}
else
{
$this->StartupUtilities->trace_no_need_to_run_state_message(
'dependent_records_form' , $this->Prefix , ''
);
}
$this->Trace->end_group();
return( $Result );
}
catch( Exception $e )
{
}
}
| last_records_form_state_startup |
( |
& |
$ContextSet, |
|
|
& |
$Options |
|
) |
| |
Function starts last records form sate.
- Parameters
-
| $ContextSet | - Set of contexts. |
| $Options | - Execution parameters. |
- Returns
- true if the state was processed.
- Exceptions
-
| Exception | - An exception of this type is thrown. |
- Author
- Dodonov A.A.
Definition at line 151 of file public_common_state_startup.php.
{
try
{
$this->Trace->start_group( "{lang:last_records_form_state}" );
$Result = false;
if( intval( $Options->get_setting( 'last_records' , 0 ) ) )
{
$Result = $this->StartupUtilities->try_run_view_state( $ContextSet , $Options , 'last_records' );
}
else
{
$this->StartupUtilities->trace_no_need_to_run_state_message(
'last_records_form' , $this->Prefix , ''
);
}
$this->Trace->end_group();
return( $Result );
}
catch( Exception $e )
{
}
}
| run_public_commmon_states |
( |
& |
$ContextSet, |
|
|
& |
$Options |
|
) |
| |
Function starts all states.
- Parameters
-
| $ContextSet | - Set of contexts. |
| $Options | - Execution parameters. |
- Returns
- true if the state was processed.
- Exceptions
-
| Exception | - An exception of this type is thrown. |
- Author
- Dodonov A.A.
Definition at line 306 of file public_common_state_startup.php.
{
try
{
return( false );
}
catch( Exception $e )
{
}
}
| set_constants |
( |
& |
$ContextSet, |
|
|
& |
$Options |
|
) |
| |
Function sets all necessary parameters.
- Parameters
-
| $ContextSet | - Set of contexts. |
| $Options | - Execution parameters. |
- Exceptions
-
| Exception | - An exception of this type is thrown. |
- Author
- Dodonov A.A.
Definition at line 111 of file public_common_state_startup.php.
{
try
{
$this->Prefix = $ContextSet->Prefix;
$this->DefaultControllers->set_constants( $ContextSet , $Options );
$this->DefaultViews->set_constants( $ContextSet , $Options );
}
catch( Exception $e )
{
}
}
Field Documentation
| $DefaultControllers = false |
| $StartupUtilities = false |
The documentation for this class was generated from the following file: