Esempio n. 1
0
 function it_delegates_action_rendering_to_the_helper(GridHelper $gridHelper, GridView $gridView, Action $action)
 {
     $gridHelper->renderAction($gridView, $action, null)->willReturn('<a href="#">Greet!</a>');
     $this->renderAction($gridView, $action)->shouldReturn('<a href="#">Greet!</a>');
 }
Esempio n. 2
0
 /**
  * @param GridView $gridView
  * @param Action $action
  * @param mixed $data
  */
 public function renderFilter(GridView $gridView, Filter $filter)
 {
     return $this->gridHelper->renderFilter($gridView, $filter);
 }