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

Method getTemplates

lib/Controller/DatasourceController.php:139–146  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

137 * @return array
138 */
139 #[NoAdminRequired]
140 public function getTemplates() {
141 $result = array();
142 foreach ($this->getDatasources() as $key => $class) {
143 $result[$key] = $class->getTemplate();
144 }
145 return $result;
146 }
147
148 /**
149 * Worksheet suggestions for a file accessible to the current user.

Callers

nothing calls this directly

Calls 2

getDatasourcesMethod · 0.95
getTemplateMethod · 0.45

Tested by

no test coverage detected