From 01c3a553badbd9b1742fe24f636ec20f92abdf0d Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Sat, 5 May 2018 18:31:43 +0200 Subject: [PATCH] ipl: drop obsoleted components --- library/vendor/ipl/Html/BaseElement.php | 35 --------------- library/vendor/ipl/Html/Container.php | 43 ------------------- library/vendor/ipl/Html/Element.php | 10 ----- library/vendor/ipl/Html/Html.php | 20 --------- library/vendor/ipl/Html/HtmlTag.php | 31 -------------- library/vendor/ipl/Html/Util.php | 57 ------------------------- 6 files changed, 196 deletions(-) delete mode 100644 library/vendor/ipl/Html/BaseElement.php delete mode 100644 library/vendor/ipl/Html/Container.php delete mode 100644 library/vendor/ipl/Html/Element.php delete mode 100644 library/vendor/ipl/Html/HtmlTag.php delete mode 100644 library/vendor/ipl/Html/Util.php diff --git a/library/vendor/ipl/Html/BaseElement.php b/library/vendor/ipl/Html/BaseElement.php deleted file mode 100644 index f275ac02..00000000 --- a/library/vendor/ipl/Html/BaseElement.php +++ /dev/null @@ -1,35 +0,0 @@ -getAttributes(); - } - - /** - * Container constructor. - * - * @param string $tag - * @param Attributes|array $attributes - * - * @deprecated - * - * @return HtmlElement - */ - public function addElement($tag, $attributes = null) - { - $element = Html::tag($tag, $attributes); - $this->add($element); - - return $element; - } -} diff --git a/library/vendor/ipl/Html/Container.php b/library/vendor/ipl/Html/Container.php deleted file mode 100644 index 511d1ecf..00000000 --- a/library/vendor/ipl/Html/Container.php +++ /dev/null @@ -1,43 +0,0 @@ -setContent($content); - } - - if ($attributes !== null) { - $container->setAttributes($attributes); - } - if ($tag !== null) { - $container->setTag($tag); - } - - return $container; - } -} diff --git a/library/vendor/ipl/Html/Element.php b/library/vendor/ipl/Html/Element.php deleted file mode 100644 index 8f3ca1cb..00000000 --- a/library/vendor/ipl/Html/Element.php +++ /dev/null @@ -1,10 +0,0 @@ -add($content); - } - - // @deprecated - public function hasContent() - { - return ! $this->isEmpty(); - } - */ } diff --git a/library/vendor/ipl/Html/HtmlTag.php b/library/vendor/ipl/Html/HtmlTag.php deleted file mode 100644 index 2cc53707..00000000 --- a/library/vendor/ipl/Html/HtmlTag.php +++ /dev/null @@ -1,31 +0,0 @@ -setContent($content); - } - - /** - * @param $content - * @param Attributes|array $attributes - * - * @return HtmlElement - */ - public static function p($content, $attributes = null) - { - return HtmlElement::create('p', $attributes)->setContent($content); - } -} diff --git a/library/vendor/ipl/Html/Util.php b/library/vendor/ipl/Html/Util.php deleted file mode 100644 index 676b514c..00000000 --- a/library/vendor/ipl/Html/Util.php +++ /dev/null @@ -1,57 +0,0 @@ -