You are here

public function EntityPagerSetup::getFields in Entity Pager 7

Get Fields.

Get the fields returned from a View.

Return value

array Get the fields that are returned by the View.

File

includes/EntityPagerSetup.inc, line 281
General setup base Class for Entity Pager module.

Class

EntityPagerSetup
Class EntityPagerSetup.

Code

public function getFields() {
  $view = $this
    ->getView();
  return $view->query->pager->display->handler->handlers['field'];
}