PHP код типовой динамической страницы такой:
<?php
$menu_id = Core_Array::get(Core_Page::instance()->widgetParams, 'menuId');
$linkedObject = Core_Entity::factory('Structure_Property_List', 'siteId');
$aProperties = $linkedObject->Properties->findAll();
$aProperty_Dirs = $linkedObject->Property_Dirs->findAll();
$xsl = Core_Array::get(Core_Page::instance()->widgetParams, 'xsl');
$Structure_Controller_Show = new Structure_Controller_Show(Core_Entity::factory('Site', CURRENT_SITE));
$Structure_Controller_Show
->xsl(Core_Entity::factory('Xsl')
->getByName($xsl))
->showShopGroups(true)
->menu($menu_id)
->showProperties(true)
->show();
?>