Простите меня, туплю. Но что я делаю не так?
$slider = new Informationsystem_Controller_Show(
Core_Entity::factory('Informationsystem', 19)
);
$slider
->xsl(
Core_Entity::factory('Xsl')->getById('244')
)
->groupsMode('all')
//->itemsForbiddenTags(array('text'))
->group(FALSE)
->limit(10)
->informationsystemItems()
->queryBuilder()
->leftJoin('informationsystem_item_properties', 'informationsystem_items.informationsystem_id', '=', 'informationsystem_item_properties.informationsystem_id')
->leftJoin('property_value_strings', 'informationsystem_items.id', '=', 'property_value_strings.entity_id',
array(
array('AND' => array('informationsystem_item_properties.property_id', '=', Core_QueryBuilder::expression('`property_value_strings`.`property_id`')))
)
)
// Идентификатор дополнительного свойства
->where('informationsystem_item_properties.property_id', '=', 61)
// Значание дополнительного свойства
->groupBy('informationsystem_items.id')
// Количество свойств
->having(Core_Querybuilder::expression('COUNT(DISTINCT `informationsystem_item_properties`.`property_id`)'), '=', 1);
$slider->show();