@@ -3,8 +3,6 @@ |
||
3 | 3 | |
4 | 4 | use Doctrine\DBAL\Connection as DbConnection; |
5 | 5 | use Doctrine\DBAL\Query\QueryBuilder; |
6 | -use StefanoLockTable\Adapter\AdapterInterface as LockSqlBuilderInterface; |
|
7 | -use StefanoLockTable\Factory as LockSqlBuilderFactory; |
|
8 | 6 | use StefanoTree\NestedSet\NodeInfo; |
9 | 7 | use StefanoTree\NestedSet\Options; |
10 | 8 |
@@ -161,6 +161,9 @@ discard block |
||
161 | 161 | $dbAdapter->update($options->getTableName(), $bind, $where); |
162 | 162 | } |
163 | 163 | |
164 | + /** |
|
165 | + * @param integer $scope |
|
166 | + */ |
|
164 | 167 | public function getRoots($scope=null) |
165 | 168 | { |
166 | 169 | $options = $this->getOptions(); |
@@ -469,6 +472,11 @@ discard block |
||
469 | 472 | } |
470 | 473 | } |
471 | 474 | |
475 | + /** |
|
476 | + * @param string $column |
|
477 | + * @param integer $first |
|
478 | + * @param integer $second |
|
479 | + */ |
|
472 | 480 | protected function getWhereBetween($column, $first, $second) |
473 | 481 | { |
474 | 482 | $dbAdapter = $this->getDbAdapter(); |
@@ -1,8 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace StefanoTree\NestedSet\Adapter; |
3 | 3 | |
4 | -use StefanoLockTable\Adapter\AdapterInterface as LockSqlBuilderInterface; |
|
5 | -use StefanoLockTable\Factory as LockSqlBuilderFactory; |
|
6 | 4 | use StefanoTree\NestedSet\NodeInfo; |
7 | 5 | use StefanoTree\NestedSet\Options; |
8 | 6 | use Zend_Db_Adapter_Abstract as ZendDbAdapter; |
@@ -2,8 +2,6 @@ |
||
2 | 2 | namespace StefanoTree\NestedSet\Adapter; |
3 | 3 | |
4 | 4 | use StefanoDb\Adapter\Adapter as DbAdapter; |
5 | -use StefanoLockTable\Adapter\AdapterInterface as LockSqlBuilderInterface; |
|
6 | -use StefanoLockTable\Factory as LockSqlBuilderFactory; |
|
7 | 5 | use StefanoTree\NestedSet\NodeInfo; |
8 | 6 | use StefanoTree\NestedSet\Options; |
9 | 7 | use Zend\Db; |