alexpimnev, спасибо.
на выходе получилось так:
// Статьи из последнего номера
if (Core::moduleIsActive('informationsystem')) {
$informationsystem_id = 15;
$oInformationsystem_Group = Core_Entity::factory('Informationsystem_Group');
$oInformationsystem_Group
->queryBuilder()
->where('active', '=', 1)
->where('informationsystem_id', '=', $informationsystem_id)
->where('deleted', '=', 0)
->limit(1)
->clearOrderBy()
->orderBy('id', 'DESC');
$aInformationsystem_Group = $oInformationsystem_Group->findAll();
if (isset($aInformationsystem_Group[0])) {
$Informationsystem_Controller_Show = new Informationsystem_Controller_Show(
Core_Entity::factory('Informationsystem', $informationsystem_id)
);
$Informationsystem_Controller_Show
->xsl(
Core_Entity::factory('Xsl')->getByName('СтатьиНаГлавной')
)
->groupsMode('none')
->itemsForbiddenTags(array('text'))
->group(intval($aInformationsystem_Group[0]->id))
->limit(20)
->informationsystemItems()
->queryBuilder()
->clearOrderBy()
->orderBy('informationsystem_items.datetime', 'DESC');
$Informationsystem_Controller_Show->show();
}
}
Может есть решение изящнее?