Releases: Rundiz/nested-set
Releases · Rundiz/nested-set
v1.0.2
v1.0.1
- Remove unnecessary code.
v1.0
Renamed
- Renamed properties.
id_column_name
->idColumnName
parent_id_column_name
->parentIdColumnName
left_column_name
->leftColumnName
right_column_name
->rightColumnName
level_column_name
->levelColumnName
position_column_name
->positionColumnName
table_name
->tableName
- Renamed method.
rebuildGetTreeWithChildren()
->getTreeWithChildren()
Removed
- Removed
Database
class.
Arguments changed
- Changed
NestedSet
class constructor from__construct(array $config)
to__construct(\PDO $PDO)
. - The option key in the argument of
listTaxonomy()
method was changed.
['search']['search_value']
->['search']['searchValue']
- The option keys in the argument of
getTaxonomyWithParents()
method was changed.
['taxonomy_id']
->['filter_taxonomy_id']
['search']['search_value']
->['search']['searchValue']
['skip_current']
->['skipCurrent']
Arguments added
- The argument
$where
was added in thegetNewPosition()
method. - The argument
$where
was added in thegetTreeWithChildren()
method. - The argument
$where
was added in therebuild()
method. - The option keys in the argument of
getTaxonomyWithChildren()
method was added.
['where']['whereString']
['where']['whereValues']
- The option keys in the argument of
getTaxonomyWithParents()
method was added.
['where']['whereString']
['where']['whereValues']
- The option keys in the argument of
listTaxonomy()
method was added.
['where']['whereString']
['where']['whereValues']
- The option keys in the argument of
listTaxonomyBindValues()
method was added.
['where']['whereString']
['where']['whereValues']
- The option keys in the argument of
listTaxonomyFlatten()
method was added.
['where']['whereString']
['where']['whereValues']
New method
restoreColumnsName()
.
Summary
- Add new feature to support query more complex data with
where
in$options
argument or$where
argument in some methods.