Esempio n. 1
0
 /**
  *  Set the composite Schema with new Table order
  *
  *  @access public
  *  @param CompositeInterface $composite
  *  @param array $order the node list
  */
 public function sortComposite(CompositeInterface $composite, array $order)
 {
     $composite->clearChildren();
     foreach ($order as $node) {
         $composite->addChild($node->getValue());
     }
 }