wCMF 4.1
Guides
Getting started
Architecture
Model
Persistence
Presentation
Configuration
Security
I18n & l10n
Tests
Versions
4.1.x
4.0.x
API
Classes
Hierarchy
Code
Support
home
travis
build
iherwig
wcmf
src
wcmf
lib
persistence
UnionQueryProvider.php
1
<?php
2
/**
3
* wCMF - wemove Content Management Framework
4
* Copyright (C) 2005-2020 wemove digital solutions GmbH
5
*
6
* Licensed under the terms of the MIT License.
7
*
8
* See the LICENSE file distributed with this work for
9
* additional information.
10
*/
11
namespace
wcmf\lib\persistence
;
12
13
/**
14
* UnionQueryProvider is used to provide queries to a union query.
15
*
16
* @author ingo herwig <ingo@wemove.com>
17
*/
18
interface
UnionQueryProvider
{
19
20
/**
21
* Get identifiers for the contained queries
22
* @return Array of string
23
*/
24
public
function
getIds
();
25
26
/**
27
* Execute a single query
28
* @param $queryId
29
* @param $buildDepth
30
* @param $orderby
31
* @param $pagingInfo
32
* @return Array of PersistentObject instances
33
*/
34
public
function
execute
($queryId, $buildDepth, $orderby, $pagingInfo);
35
}
36
?>
wcmf\lib\persistence\UnionQueryProvider\execute
execute($queryId, $buildDepth, $orderby, $pagingInfo)
Execute a single query.
wcmf\lib\persistence\UnionQueryProvider\getIds
getIds()
Get identifiers for the contained queries.
wcmf\lib\persistence
Persistence layer related interfaces and classes.
Definition:
namespaces.php:42
wcmf\lib\persistence\UnionQueryProvider
UnionQueryProvider is used to provide queries to a union query.
Definition:
UnionQueryProvider.php:18