1 | <?php |
||
35 | class MultipleTreeNode64 extends \yii\db\ActiveRecord |
||
36 | { |
||
37 | /** |
||
38 | * @inheritdoc |
||
39 | */ |
||
40 | 74 | public static function tableName() |
|
44 | /** |
||
45 | * @inheritdoc |
||
46 | */ |
||
47 | 74 | public function behaviors() |
|
48 | { |
||
49 | return [ |
||
50 | 74 | 'tree' => [ |
|
51 | 74 | 'class' => NestedIntervalsBehavior::className(), |
|
|
|||
52 | 74 | 'treeAttribute' => 'tree', |
|
53 | 'range' => [0, 9223372036854775807], |
||
54 | ], |
||
55 | ]; |
||
56 | } |
||
57 | |||
58 | /** |
||
59 | * @inheritdoc |
||
60 | */ |
||
61 | 50 | public function transactions() |
|
62 | { |
||
63 | return [ |
||
64 | 50 | self::SCENARIO_DEFAULT => self::OP_ALL, |
|
65 | ]; |
||
66 | } |
||
67 | |||
68 | /** |
||
69 | * @return NodeQuery |
||
70 | */ |
||
71 | 74 | public static function find() |
|
75 | } |
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.