/**
	 * Get a list of view templates provided by this component.
	 */
	public function getViewList() {
		$views = array();
		$dir = $this->getBaseDir();

		if ($this->hasView()) {
			foreach ($this->_xmlloader->getElementByTagName('view')->getElementsByTagName('tpl') as $t) {
				$filename     = $dir . $t->getAttribute('filename');
				$name         = $t->getAttribute('name');
				$views[$name] = $filename;
			}
		}
		return $views;
	}