From ccc1a0418cbb7927cba2def2b6a98e5065933adf Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 23 Jul 2018 13:12:09 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=20au?= =?UTF-8?q?tocomplete?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index f29abf6..9498baa 100644 --- a/README.md +++ b/README.md @@ -89,21 +89,7 @@ use paulzi\nestedsets\NestedSetsBehavior; * @property integer $rgt * @property integer $depth * - * @method getParents($depth = null) - * @method getParent() - * @method getRoot() - * @method getDescendants($depth = null, $andSelf = false, $backOrder = false) - * @method getChildren() - * @method getLeaves($depth = null) - * @method getPrev() - * @method getNext() - * @method populateTree($depth = null) - * @method isRoot() - * @method isLeaf() - * @method makeRoot() - * @method prependTo($node) - * @method appendTo($node) - * @method deleteWithChildren() + * @minix NestedSetsBehavior */ class Sample extends \yii\db\ActiveRecord @@ -111,7 +97,7 @@ class Sample extends \yii\db\ActiveRecord public function behaviors() { return [ [ - 'class' => NestedSetsBehavior::className(), + 'class' => NestedSetsBehavior::class, // 'treeAttribute' => 'tree', ], ];