V
V
Vanes Ri_Lax2015-06-04 07:23:25
CMS
Vanes Ri_Lax, 2015-06-04 07:23:25

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

1 answer(s)
E
Eugene, 2015-06-19
@Eugeny1987

<?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();
              ?>

and in general to you here www.hostcms.ru/forums/2
and here www.hostcms.ru/documentation

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question