示例#1
0
 public function __construct($names, $values, $tabNames, $tabValues, $lineno, $tag = null)
 {
     $nodes['values'] = $values;
     $i = 0;
     foreach ($tabValues as $tabValue) {
         $nodes['tab_values_' . $i++] = new Twig_Node($tabValue);
     }
     parent::__construct($nodes, array('names' => $names, 'tab_names' => $tabNames), $lineno, $tag);
 }
示例#2
0
 public function __construct($names, $values, $lineno, $tag = null)
 {
     parent::__construct(array('values' => $values), array('names' => $names), $lineno, $tag);
 }