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

Method getTemplates

lib/Controller/DatasourceController.php:134–141  ·  view source on GitHub ↗

* get all data source templates * * @return array */

()

Source from the content-addressed store, hash-verified

132 * @return array
133 */
134 #[NoAdminRequired]
135 public function getTemplates() {
136 $result = array();
137 foreach ($this->getDatasources() as $key => $class) {
138 $result[$key] = $class->getTemplate();
139 }
140 return $result;
141 }
142
143 /**
144 * Get the data from a data source;

Callers

nothing calls this directly

Calls 2

getDatasourcesMethod · 0.95
getTemplateMethod · 0.45

Tested by

no test coverage detected