|
@@ 96-114 (lines=19) @@
|
| 93 |
|
->with('ezurl.id', 'ezurl_object_link.url_id') |
| 94 |
|
->willReturn('ezurl.id=ezurl_object_link.url_id'); |
| 95 |
|
} |
| 96 |
|
if ($includeAttributeJoin) { |
| 97 |
|
$expr |
| 98 |
|
->expects($this->at($execAt++)) |
| 99 |
|
->method('eq') |
| 100 |
|
->with('ezurl_object_link.contentobject_attribute_id', 'ezcontentobject_attribute.id') |
| 101 |
|
->willReturn('ezurl_object_link.contentobject_attribute_id = ezcontentobject_attribute.id'); |
| 102 |
|
$expr |
| 103 |
|
->expects($this->at($execAt++)) |
| 104 |
|
->method('eq') |
| 105 |
|
->with('ezurl_object_link.contentobject_attribute_version', 'ezcontentobject_attribute.version') |
| 106 |
|
->willReturn('ezurl_object_link.contentobject_attribute_version = ezcontentobject_attribute.version'); |
| 107 |
|
$expr |
| 108 |
|
->expects($this->at($execAt++)) |
| 109 |
|
->method('lAnd') |
| 110 |
|
->with( |
| 111 |
|
'ezurl_object_link.contentobject_attribute_id = ezcontentobject_attribute.id', |
| 112 |
|
'ezurl_object_link.contentobject_attribute_version = ezcontentobject_attribute.version' |
| 113 |
|
)->willReturn('ezurl_object_link.contentobject_attribute_id = ezcontentobject_attribute.id AND ezurl_object_link.contentobject_attribute_version = ezcontentobject_attribute.version'); |
| 114 |
|
} |
| 115 |
|
|
| 116 |
|
if ($includeTreeJoin) { |
| 117 |
|
$expr |
|
@@ 116-134 (lines=19) @@
|
| 113 |
|
)->willReturn('ezurl_object_link.contentobject_attribute_id = ezcontentobject_attribute.id AND ezurl_object_link.contentobject_attribute_version = ezcontentobject_attribute.version'); |
| 114 |
|
} |
| 115 |
|
|
| 116 |
|
if ($includeTreeJoin) { |
| 117 |
|
$expr |
| 118 |
|
->expects($this->at($execAt++)) |
| 119 |
|
->method('eq') |
| 120 |
|
->with('ezcontentobject_tree.contentobject_id', 'ezcontentobject_attribute.contentobject_id') |
| 121 |
|
->willReturn('ezcontentobject_tree.contentobject_id = ezcontentobject_attribute.contentobject_id'); |
| 122 |
|
$expr |
| 123 |
|
->expects($this->at($execAt++)) |
| 124 |
|
->method('eq') |
| 125 |
|
->with('ezcontentobject_tree.contentobject_version', 'ezcontentobject_attribute.version') |
| 126 |
|
->willReturn('ezcontentobject_tree.contentobject_version = ezcontentobject_attribute.version'); |
| 127 |
|
$expr |
| 128 |
|
->expects($this->at($execAt++)) |
| 129 |
|
->method('lAnd') |
| 130 |
|
->with( |
| 131 |
|
'ezcontentobject_tree.contentobject_id = ezcontentobject_attribute.contentobject_id', |
| 132 |
|
'ezcontentobject_tree.contentobject_version = ezcontentobject_attribute.version' |
| 133 |
|
)->willReturn('ezcontentobject_tree.contentobject_id = ezcontentobject_attribute.contentobject_id AND ezcontentobject_tree.contentobject_version = ezcontentobject_attribute.version'); |
| 134 |
|
} |
| 135 |
|
|
| 136 |
|
$expr |
| 137 |
|
->expects($this->at($execAt)) |