MCPcopy Create free account
hub / github.com/Rello/analytics / readData

Method readData

lib/Datasource/IDatasource.php:85–85  ·  view source on GitHub ↗

* Read the Data * * return needs to be an array * [ * 'header' => $header, //array('column header 1', 'column header 2','column header 3') * 'dimensions' => array_slice($header, 0, count($header) - 1), * 'data' => $data, * 'error' => 0, // INT 0 = no error * 'cache' => [ // optional datasource controlled cache meta

($option)

Source from the content-addressed store, hash-verified

83 * @since 3.1.0
84 */
85 public function readData($option): array;
86}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected