You are here

public function FrxDataSource::phpData in Forena Reports 7.3

Same name and namespace in other branches
  1. 7.4 FrxDataSource.inc \FrxDataSource::phpData()

File

./FrxDataSource.inc, line 419
Class that defines default methods for access control in an FrxDataSource

Class

FrxDataSource
@file Class that defines default methods for access control in an FrxDataSource

Code

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