Skip to content

Releases: Rundiz/nested-set

v1.0.2

03 Mar 06:22
@ve3 ve3
ba75cd6
Compare
Choose a tag to compare
  • Fix listTaxonomyBuildTreeWithChildren() did not return array.

v1.0.1

18 Sep 16:50
@ve3 ve3
4823972
Compare
Choose a tag to compare
  • 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 the getNewPosition() method.
  • The argument $where was added in the getTreeWithChildren() method.
  • The argument $where was added in the rebuild() 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.

v0.1

27 Aug 12:21
@ve3 ve3
Compare
Choose a tag to compare

The beginning