@@ -51,7 +51,8 @@ public static function getQueries(QueryObjectModelFactoryInterface $factory)
51
51
$ factory ->selector ('file ' , 'nt:file ' ),
52
52
$ factory ->selector ('folder ' , 'nt:folder ' ),
53
53
Constants::JCR_JOIN_TYPE_INNER ,
54
- $ factory ->equiJoinCondition ('file ' , 'prop1 ' , 'folder ' , 'prop2 ' )),
54
+ $ factory ->equiJoinCondition ('file ' , 'prop1 ' , 'folder ' , 'prop2 ' )
55
+ ),
55
56
null ,
56
57
[],
57
58
[]
@@ -65,7 +66,8 @@ public static function getQueries(QueryObjectModelFactoryInterface $factory)
65
66
$ factory ->selector ('file ' , 'nt:file ' ),
66
67
$ factory ->selector ('folder ' , 'nt:folder ' ),
67
68
Constants::JCR_JOIN_TYPE_LEFT_OUTER ,
68
- $ factory ->equiJoinCondition ('file ' , 'prop1 ' , 'folder ' , 'prop2 ' )),
69
+ $ factory ->equiJoinCondition ('file ' , 'prop1 ' , 'folder ' , 'prop2 ' )
70
+ ),
69
71
null ,
70
72
[],
71
73
[]
@@ -79,7 +81,8 @@ public static function getQueries(QueryObjectModelFactoryInterface $factory)
79
81
$ factory ->selector ('file ' , 'nt:file ' ),
80
82
$ factory ->selector ('folder ' , 'nt:folder ' ),
81
83
Constants::JCR_JOIN_TYPE_RIGHT_OUTER ,
82
- $ factory ->equiJoinCondition ('file ' , 'prop1 ' , 'folder ' , 'prop2 ' )),
84
+ $ factory ->equiJoinCondition ('file ' , 'prop1 ' , 'folder ' , 'prop2 ' )
85
+ ),
83
86
null ,
84
87
[],
85
88
[]
@@ -98,7 +101,8 @@ public static function getQueries(QueryObjectModelFactoryInterface $factory)
98
101
),
99
102
$ factory ->selector ('folder2 ' , 'nt:folder ' ),
100
103
Constants::JCR_JOIN_TYPE_INNER ,
101
- $ factory ->equiJoinCondition ('file ' , 'prop1 ' , 'folder ' , 'prop2 ' )),
104
+ $ factory ->equiJoinCondition ('file ' , 'prop1 ' , 'folder ' , 'prop2 ' )
105
+ ),
102
106
null ,
103
107
[],
104
108
[]
@@ -116,7 +120,8 @@ public static function getQueries(QueryObjectModelFactoryInterface $factory)
116
120
$ factory ->selector ('file ' , 'nt:file ' ),
117
121
$ factory ->selector ('folder ' , 'nt:folder ' ),
118
122
Constants::JCR_JOIN_TYPE_INNER ,
119
- $ factory ->sameNodeJoinCondition ('file ' , 'folder ' )),
123
+ $ factory ->sameNodeJoinCondition ('file ' , 'folder ' )
124
+ ),
120
125
null ,
121
126
[],
122
127
[]
@@ -130,7 +135,8 @@ public static function getQueries(QueryObjectModelFactoryInterface $factory)
130
135
$ factory ->selector ('file ' , 'nt:file ' ),
131
136
$ factory ->selector ('folder ' , 'nt:folder ' ),
132
137
Constants::JCR_JOIN_TYPE_INNER ,
133
- $ factory ->sameNodeJoinCondition ('file ' , 'folder ' , '/home ' )),
138
+ $ factory ->sameNodeJoinCondition ('file ' , 'folder ' , '/home ' )
139
+ ),
134
140
null ,
135
141
[],
136
142
[]
@@ -148,7 +154,8 @@ public static function getQueries(QueryObjectModelFactoryInterface $factory)
148
154
$ factory ->selector ('child ' , 'nt:file ' ),
149
155
$ factory ->selector ('parent ' , 'nt:folder ' ),
150
156
Constants::JCR_JOIN_TYPE_INNER ,
151
- $ factory ->childNodeJoinCondition ('child ' , 'parent ' )),
157
+ $ factory ->childNodeJoinCondition ('child ' , 'parent ' )
158
+ ),
152
159
null ,
153
160
[],
154
161
[]
@@ -166,7 +173,8 @@ public static function getQueries(QueryObjectModelFactoryInterface $factory)
166
173
$ factory ->selector ('descendant ' , 'nt:file ' ),
167
174
$ factory ->selector ('ancestor ' , 'nt:folder ' ),
168
175
Constants::JCR_JOIN_TYPE_INNER ,
169
- $ factory ->descendantNodeJoinCondition ('descendant ' , 'ancestor ' )),
176
+ $ factory ->descendantNodeJoinCondition ('descendant ' , 'ancestor ' )
177
+ ),
170
178
null ,
171
179
[],
172
180
[]
@@ -322,7 +330,8 @@ public static function getQueries(QueryObjectModelFactoryInterface $factory)
322
330
$ factory ->selector ('file ' , 'nt:file ' ),
323
331
$ factory ->andConstraint (
324
332
$ factory ->propertyExistence ('file ' , 'prop1 ' ),
325
- $ factory ->propertyExistence ('file ' , 'prop2 ' )),
333
+ $ factory ->propertyExistence ('file ' , 'prop2 ' )
334
+ ),
326
335
[],
327
336
[]
328
337
)
@@ -338,7 +347,8 @@ public static function getQueries(QueryObjectModelFactoryInterface $factory)
338
347
$ factory ->selector ('file ' , 'nt:file ' ),
339
348
$ factory ->orConstraint (
340
349
$ factory ->propertyExistence ('file ' , 'prop1 ' ),
341
- $ factory ->propertyExistence ('file ' , 'prop2 ' )),
350
+ $ factory ->propertyExistence ('file ' , 'prop2 ' )
351
+ ),
342
352
[],
343
353
[]
344
354
)
@@ -353,7 +363,8 @@ public static function getQueries(QueryObjectModelFactoryInterface $factory)
353
363
$ factory ->createQuery (
354
364
$ factory ->selector ('file ' , 'nt:file ' ),
355
365
$ factory ->notConstraint (
356
- $ factory ->propertyExistence ('file ' , 'prop1 ' )),
366
+ $ factory ->propertyExistence ('file ' , 'prop1 ' )
367
+ ),
357
368
[],
358
369
[]
359
370
)
@@ -370,7 +381,8 @@ public static function getQueries(QueryObjectModelFactoryInterface $factory)
370
381
$ factory ->comparison (
371
382
$ factory ->nodeName ('file ' ),
372
383
Constants::JCR_OPERATOR_LIKE ,
373
- $ factory ->literal ('literal2 ' )),
384
+ $ factory ->literal ('literal2 ' )
385
+ ),
374
386
[],
375
387
[]
376
388
)
@@ -472,7 +484,8 @@ public static function getQueries(QueryObjectModelFactoryInterface $factory)
472
484
$ factory ->comparison (
473
485
$ factory ->propertyValue ('file ' , 'prop ' ),
474
486
Constants::JCR_OPERATOR_LIKE ,
475
- $ factory ->literal ('literal ' )),
487
+ $ factory ->literal ('literal ' )
488
+ ),
476
489
[],
477
490
[]
478
491
)
@@ -485,7 +498,8 @@ public static function getQueries(QueryObjectModelFactoryInterface $factory)
485
498
$ factory ->comparison (
486
499
$ factory ->propertyValue ('sel ' , 'prop ' ),
487
500
Constants::JCR_OPERATOR_GREATER_THAN ,
488
- $ factory ->literal (new \DateTime ('2013-04-15 +02:00 ' ))),
501
+ $ factory ->literal (new \DateTime ('2013-04-15 +02:00 ' ))
502
+ ),
489
503
[],
490
504
[]
491
505
)
@@ -502,7 +516,8 @@ public static function getQueries(QueryObjectModelFactoryInterface $factory)
502
516
$ factory ->comparison (
503
517
$ factory ->length ($ factory ->propertyValue ('file ' , 'prop ' )),
504
518
Constants::JCR_OPERATOR_LIKE ,
505
- $ factory ->literal ('literal ' )),
519
+ $ factory ->literal ('literal ' )
520
+ ),
506
521
[],
507
522
[]
508
523
)
@@ -519,7 +534,8 @@ public static function getQueries(QueryObjectModelFactoryInterface $factory)
519
534
$ factory ->comparison (
520
535
$ factory ->nodeName ('file ' ),
521
536
Constants::JCR_OPERATOR_LIKE ,
522
- $ factory ->literal ('literal ' )),
537
+ $ factory ->literal ('literal ' )
538
+ ),
523
539
[],
524
540
[]
525
541
)
@@ -536,7 +552,8 @@ public static function getQueries(QueryObjectModelFactoryInterface $factory)
536
552
$ factory ->comparison (
537
553
$ factory ->nodeLocalName ('file ' ),
538
554
Constants::JCR_OPERATOR_LIKE ,
539
- $ factory ->literal ('literal ' )),
555
+ $ factory ->literal ('literal ' )
556
+ ),
540
557
[],
541
558
[]
542
559
)
@@ -553,7 +570,8 @@ public static function getQueries(QueryObjectModelFactoryInterface $factory)
553
570
$ factory ->comparison (
554
571
$ factory ->fullTextSearchScore ('file ' ),
555
572
Constants::JCR_OPERATOR_LIKE ,
556
- $ factory ->literal ('literal ' )),
573
+ $ factory ->literal ('literal ' )
574
+ ),
557
575
[],
558
576
[]
559
577
)
@@ -570,7 +588,8 @@ public static function getQueries(QueryObjectModelFactoryInterface $factory)
570
588
$ factory ->comparison (
571
589
$ factory ->lowerCase ($ factory ->nodeName ('file ' )),
572
590
Constants::JCR_OPERATOR_LIKE ,
573
- $ factory ->literal ('literal ' )),
591
+ $ factory ->literal ('literal ' )
592
+ ),
574
593
[],
575
594
[]
576
595
)
@@ -587,7 +606,8 @@ public static function getQueries(QueryObjectModelFactoryInterface $factory)
587
606
$ factory ->comparison (
588
607
$ factory ->upperCase ($ factory ->nodeName ('file ' )),
589
608
Constants::JCR_OPERATOR_LIKE ,
590
- $ factory ->literal ('literal ' )),
609
+ $ factory ->literal ('literal ' )
610
+ ),
591
611
[],
592
612
[]
593
613
)
@@ -604,7 +624,8 @@ public static function getQueries(QueryObjectModelFactoryInterface $factory)
604
624
$ factory ->comparison (
605
625
$ factory ->upperCase ($ factory ->nodeName ('file ' )),
606
626
Constants::JCR_OPERATOR_LIKE ,
607
- $ factory ->bindVariable ('var ' )),
627
+ $ factory ->bindVariable ('var ' )
628
+ ),
608
629
[],
609
630
[]
610
631
)
0 commit comments