You are here

public function DriverBase::phpData in Forena Reports 8

1 call to DriverBase::phpData()
DriverBase::data in src/FrxPlugin/Driver/DriverBase.php
Return data based on block definition.

File

src/FrxPlugin/Driver/DriverBase.php, line 425
Class that defines default methods for access control in an DriverBase

Class

DriverBase

Namespace

Drupal\forena\FrxPlugin\Driver

Code

public function phpData($o, $parameters) {
  $data = NULL;
  if (is_object($o) && is_callable(array(
    $o,
    'data',
  ))) {
    $data = $o
      ->data($parameters);
  }
  return $data;
}