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())); }
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']; }
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']; } }
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']; }
public function buildView(TableView $view, TableInterface $table, array $options) { parent::buildView($view, $table, $options); $view->vars['attr'] = array(); }