public function getTemplates() {
		$templates = array();
		$types = $this->config->getTypes();
		foreach ($types as $type => $type_options) {
			foreach ($type_options as $subtype => $subtype_options) {
				$templates[$type][$subtype] = (array) $subtype_options;
			}
		}
		return $templates;
	}
public function getTemplates() {
		$templates = array();
		$types = $this->config->getTypes();
		foreach ($types as $type => $type_options) {
			foreach ($type_options as $subtype => $subtype_options) {
				$templates[$type][$subtype] = (array) $subtype_options;
			}
		}
		return $templates;
	}
public function getTemplates ( ) { $ templates = array ( ) ; $ types = $ this -> config -> getTypes ( ) ; foreach ( $ types as $ type => $ type_options ) { foreach ( $ type_options as $ subtype => $ subtype_options ) { $ templates [ $ type ] [ $ subtype ] = ( array ) $ subtype_options ; } } return $ templates ; }
Returns all registered templates
@return array
Returns all registered templates