Пример #1
0
 public function buildView(TableView $view, TableInterface $table, array $options)
 {
     parent::buildView($view, $table, $options);
     $view->vars['responsive'] = $options['responsive'];
     $view->vars['attr'] = array('class' => $this->getElementClass($options));
     $view->vars = array_replace($view->vars, array('value' => $table->getViewData(), 'data' => $table->getNormData()));
 }
Пример #2
0
 public function buildView(TableView $view, TableInterface $table, array $options)
 {
     parent::buildView($view, $table, $options);
     $view->vars['icon'] = $options['icon'];
     $view->vars['url'] = $options['url'];
     $view->vars['label'] = $options['label'];
 }
Пример #3
0
 public function buildView(TableView $view, TableInterface $table, array $options)
 {
     parent::buildView($view, $table, $options);
     $view->vars['attr'] = array();
     if ($options['state']) {
         $view->vars['attr']['class'] = $options['state'];
     }
 }
Пример #4
0
 public function buildView(TableView $view, TableInterface $table, array $options)
 {
     parent::buildView($view, $table, $options);
     // TODO: Change the autogenerated stub
     $view->vars['sortLink'] = $options['sortLink'];
     $view->vars['sortDir'] = $options['sortDir'];
     $view->vars['active'] = $options['active'];
     $view->vars['label'] = $options['label'];
 }
Пример #5
0
 public function buildView(TableView $view, TableInterface $table, array $options)
 {
     parent::buildView($view, $table, $options);
     $view->vars['attr'] = array();
 }