예제 #1
0
파일: Node.php 프로젝트: lostcause/baum
 /**
  * Rebuilds the structure of the current Nested Set.
  *
  * @param  bool $force
  *
  * @return void
  */
 public static function rebuild($force = false)
 {
     $builder = new SetBuilder(new static());
     $builder->rebuild($force);
 }
예제 #2
0
파일: Node.php 프로젝트: zorx/baum
 /**
  * Rebuilds the structure of the current Nested Set.
  *
  * @return void
  */
 public static function rebuild()
 {
     $builder = new SetBuilder(new static());
     $builder->rebuild();
 }