* get all data source templates * * @return array */
()
| 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; |
nothing calls this directly
no test coverage detected