summaryrefslogblamecommitdiffstats
path: root/modules-available/dnbd3/inc/dnbd3.inc.php
blob: 905bdc68bf87d76c25149ee80e0c70f80be946be (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                           
<?php

class Dnbd3 {

	const PROP_ENABLED = 'dnbd3.enabled';

	public static function isEnabled()
	{
		return Property::get(self::PROP_ENABLED, 0) ? true : false;
	}

	public static function setEnabled($bool)
	{
		Property::set(self::PROP_ENABLED, $bool ? 1 : 0);
	}

}