Answer the question
In order to leave comments, you need to log in
Who worked with hostcms?
Hello, who works with hostCMS, please help me figure it out!
I have an information system
that has 3 information groups,
each info group has several elements.
Please tell me how can I display a simple list of all information groups in a given information system,
how can I select all elements in a certain information group?
Thank you very much in advance!
Answer the question
In order to leave comments, you need to log in
<?php
// Вывод информационной системы
$Informationsystem_Controller_Show = new Informationsystem_Controller_Show(
Core_Entity::factory('Informationsystem', '15')
);
$Informationsystem_Controller_Show
->informationsystemItems()
->queryBuilder()
->clearOrderBy();
$Informationsystem_Controller_Show
->xsl(
Core_Entity::factory('Xsl')->getByName('СписокНовостейСправаСайт27')
)
->groupsMode('all')
->group(FALSE)
->limit(2)
->show();
?>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question