ultimix

- Main Page
- Data Structures
- Files
- Examples

- Data Structures
- Data Structure Index
- Data Fields

Public Member Functions | Data Fields
page_composer_view_1_0_0 Class Reference

## Public Member Functions
| __construct ()
| view ($Options)

## Data Fields
| $PageMarkupUtilities = false

## Detailed Description

Page composer.

Note
  There must be only one template per page, but each page may has each own template.

Author
  Dodonov A.A.

Definition at line 30 of file page_composer_view.php.

## Constructor & Destructor Documentation

__construct | ( |  | ) |

Constructor.

Exceptions

  Exception | - An exception of this type is thrown.

Author
  Dodonov A.A.

Definition at line 58 of file page_composer_view.php.

{
try
{
$this->PageMarkupUtilities = get_package_object(
'page::page_markup::page_markup_utilities' , 'last' , __FILE__
);
}
catch( Exception $e )
{
$a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
}
}

## Member Function Documentation

view | ( |  | $Options | ) |

Function draws component.

Parameters

  $Options | - Settings.

Returns
  HTML code of the компонента.

Exceptions

  Exception | An exception of this type is thrown.

Author
  Dodonov A.A.

Definition at line 94 of file page_composer_view.php.

{
try
{
if( $Options->get_setting( 'direct_view' , false ) )
{
$Options->load_from_http();
return( $this->PageMarkupUtilities->direct_view( $Options ) );
}
if( $Options->get_setting( 'direct_controller' , false ) )
{
$Options->load_from_http();
$this->PageMarkupUtilities->direct_controller( $Options );
return;
}
}
catch( Exception $e )
{
$a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
}
}

## Field Documentation

$PageMarkupUtilities = false

Cached object.

Author
  Dodonov A.A.

Definition at line 42 of file page_composer_view.php.

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

- packages/page/packages/page_composer_view/page_composer_view.php