<?php

class TestModule extends \Tools\AModule
{
	private $installed;
	private $hooked;

	public function __construct()
	{
		$this->installed = false;
	}

	public function install()
	{
		$this->installed = false;
		$this->installHook();
		return true;
	}

	public function installHook()
	{
		$this->registerHook("testHook");
	}

	public function isInstalled()
	{
		return $this->installed;
	}

	public function doAction($ev)
	{
		var_dump($ev);
	}

	public function doShortCode($code, $params)
	{
	}

	public function getParentName()
	{ return parent::getName(); }

	public function getName()
	{ return "realName"; }

	public function getDescription()
	{ return "My description"; }
}

return new TestModule();

