В примере раздела Installing and configuring не хватает еще одной закрывающей скобки
First you need to configure model as follows:
[php]
public function behaviors()
{
return array(
'NestedSetBehavior'=>array(
'class'=>'ext.yiiext.behaviors.model.trees.NestedSetBehavior',
'leftAttribute'=>'lft',
'rightAttribute'=>'rgt',
'levelAttribute'=>'level',
);
}
В примере раздела Installing and configuring не хватает еще одной закрывающей скобки First you need to configure model as follows: [php] public function behaviors() { return array( 'NestedSetBehavior'=>array( 'class'=>'ext.yiiext.behaviors.model.trees.NestedSetBehavior', 'leftAttribute'=>'lft', 'rightAttribute'=>'rgt', 'levelAttribute'=>'level', ); }