~tariq-daouda/shoof-cms/Very-experimental

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php

/**
This is an exemple of submodule, it contains everything (and only that) that a submodule must have.
To create a new submodule copy past this and start from it.
*/
 class KtbMotarjim extends Shoof_Submodule
 {
        private static $instance = false;
	
 	protected function __construct()
 	{
	  parent::__construct();
	  //$this->name = 'Dummy submodule';
	  $this->description = 'This is a dummy submodule, just to show you the skeleton all submodules share';
	}
	
	public static function getInstance()
	{
	   if(!self::$instance)
	     self::$instance = new self();
	   
	   return self::$instance;
	}
 }
 
?>