You are here

public function SlickViews::getFieldData in Slick Views 7.2

Gets renderable array of field containing rendered and raw data.

2 calls to SlickViews::getFieldData()
SlickViews::buildElements in ./SlickViews.inc
Returns slick contents.
SlickViews::getFieldValue in ./SlickViews.inc
Returns the values for the expected Title, ER, List, Term.

File

./SlickViews.inc, line 326
Slick style plugin for the Views module.

Class

SlickViews
Implements a style type plugin for the Views module.

Code

public function getFieldData($row, $field_name, $multiple = FALSE) {
  $field = $this->view->field[$field_name]->handler_type . '_' . $field_name;
  return $multiple && isset($row->{$field}) ? $row->{$field} : (isset($row->{$field}[0]) ? $row->{$field}[0] : '');
}