Играемся с шаблоном
This commit is contained in:
parent
e4343f28b5
commit
6ad9a04a25
@ -1,11 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
# Date: 30.09.2020 (09:42)
|
# Date: 30.09.2020 (09:42)
|
||||||
|
|
||||||
abstract class Template
|
class Template
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* Template constructor.
|
||||||
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
//Ничего не генерируем, обращаемся к статике сразу.
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function header($title = null)
|
public static function header($title = null)
|
||||||
|
Loading…
Reference in New Issue
Block a user