Пробую так
$Informationsystem_Controller_Show = new Informationsystem_Controller_Show(
Core_Entity::factory('Informationsystem', 20)
);
$Informationsystem_Controller_Show
->xsl(Core_Entity::factory('Xsl')->getByName('СписокХитовНаГлавной'))
->groupsMode('none')
->itemsForbiddenTags(array('text'))
->group(FALSE)
->limit(3)
->itemsProperties(TRUE);
$Informationsystem_Controller_Show
->queryBuilder()
->clearOrderBy()
->orderBy('RAND()');
$Informationsystem_Controller_Show->show();
и вот так
$Informationsystem_Controller_Show = new Informationsystem_Controller_Show(
Core_Entity::factory('Informationsystem', 20)
);
$Informationsystem_Controller_Show
->xsl(Core_Entity::factory('Xsl')->getByName('СписокХитовНаГлавной'))
->groupsMode('none')
->itemsForbiddenTags(array('text'))
->group(FALSE)
->limit(3)
->itemsProperties(TRUE)
->queryBuilder()
->clearOrderBy()
->orderBy('RAND()')
->show();
выдает подобную ошибку
Цитата:
Exception: The method 'queryBuilder' does not exist in 'Informationsystem_Controller_Show'
29 modules/core/exception.php
93 modules/core/servant/properties.php
17 templates/template13/template.htm
73 modules/template/model.php
100 modules/core/page.php
75 templates/template1/template.htm
73 modules/template/model.php
100 modules/core/page.php
363 modules/core/command/controller/default.php
171 modules/core/router/route.php
202 index.php
как быть? голва не варит уже