From 687e65f251f32e24968b7b9a238ec6747e42035b Mon Sep 17 00:00:00 2001 From: lopar Date: Wed, 28 Oct 2020 14:32:57 +0200 Subject: [PATCH] =?UTF-8?q?=D0=A4=D1=83=D0=BD=D0=BA=D1=86=D0=B8=D1=8F=20?= =?UTF-8?q?=D0=BE=D1=82=D0=BE=D0=B1=D1=80=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F=20=D0=B7=D0=B0=D0=B3=D0=BE=D0=BB=D0=BE=D0=B2=D0=BA=D0=B0?= =?UTF-8?q?=20=D0=BB=D0=BE=D0=BA=D0=B0=D1=86=D0=B8=D0=B8=20=D0=B8=20=D0=BA?= =?UTF-8?q?=D0=BD=D0=BE=D0=BF=D0=BA=D0=B8=20=D0=B2=D1=8B=D1=85=D0=BE=D0=B4?= =?UTF-8?q?=D0=B0=20=D0=BD=D0=B0=20=D1=83=D0=BB=D0=B8=D1=86=D1=83.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- classes/Template.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/classes/Template.php b/classes/Template.php index 2c0801a..2d9b418 100644 --- a/classes/Template.php +++ b/classes/Template.php @@ -32,4 +32,19 @@ HTML_HEADER; } return $head; } + + /** + * @param string $buildingName название здания + * @param string $streetName служебное название улицы на которой стоит здание для кнопки возврата. + * @return string + */ + public static function buildingTop(string $buildingName, string $streetName): void + { + echo << + + +

$buildingName

+HTML; + } } \ No newline at end of file