1: <?php
2:
3: /**
4: * This file is part of the Nette Framework.
5: *
6: * Copyright (c) 2004, 2010 David Grudl (http://davidgrudl.com)
7: *
8: * This source file is subject to the "Nette license", and/or
9: * GPL license. For more information please see http://nette.org
10: */
11:
12: namespace Nette;
13:
14: use Nette;
15:
16:
17:
18: /**
19: * The Nette Framework.
20: *
21: * @author David Grudl
22: */
23: final class Framework
24: {
25:
26: /**#@+ Nette Framework version identification */
27: const NAME = 'Nette Framework';
28:
29: const VERSION = '2.0-dev';
30:
31: const REVISION = 'dd45b44 released on 2010-10-13';
32: /**#@-*/
33:
34:
35:
36: /**
37: * Static class - cannot be instantiated.
38: */
39: final public function __construct()
40: {
41: throw new \LogicException("Cannot instantiate static class " . get_class($this));
42: }
43:
44:
45:
46: /**
47: * Nette Framework promotion.
48: * @return void
49: */
50: public static function promo()
51: {
52: echo '<a href="http://nette.org" title="Nette Framework - The Most Innovative PHP Framework"><img ',
53: 'src="http://files.nette.org/icons/nette-powered.gif" alt="Powered by Nette Framework" width="80" height="15" /></a>';
54: }
55:
56: }
57: