PHP Class Sulu\Component\Content\Query\ContentQueryExecutor

Inheritance: implements Sulu\Component\Content\Query\ContentQueryExecutorInterface
Show file Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( Sulu\Component\PHPCR\SessionManager\SessionManagerInterface $sessionManager, Sulu\Component\Content\Mapper\ContentMapperInterface $contentMapper, Symfony\Component\Stopwatch\Stopwatch $stopwatch = null )
execute ( $webspaceKey, $locales, Sulu\Component\Content\Query\ContentQueryBuilderInterface $contentQueryBuilder, $flat = true, $depth, $limit = null, $offset = null, $moveUp = false )

Private Methods

Method Description
createSql2Query ( $sql2, $limit = null, $offset = null ) returns a sql2 query.

Method Details

__construct() public method

public __construct ( Sulu\Component\PHPCR\SessionManager\SessionManagerInterface $sessionManager, Sulu\Component\Content\Mapper\ContentMapperInterface $contentMapper, Symfony\Component\Stopwatch\Stopwatch $stopwatch = null )
$sessionManager Sulu\Component\PHPCR\SessionManager\SessionManagerInterface
$contentMapper Sulu\Component\Content\Mapper\ContentMapperInterface
$stopwatch Symfony\Component\Stopwatch\Stopwatch

execute() public method

public execute ( $webspaceKey, $locales, Sulu\Component\Content\Query\ContentQueryBuilderInterface $contentQueryBuilder, $flat = true, $depth, $limit = null, $offset = null, $moveUp = false )
$contentQueryBuilder Sulu\Component\Content\Query\ContentQueryBuilderInterface