From 5bf66662a9bdd62c5bccab15e607cd95cfb8fcab Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 27 Jul 2020 10:05:23 +0200 Subject: Removed wordpress and phpmyadmin, my server doesn't handle it well and it brings shame on my familly --- .../Properties/Options/OptionsPropertyGroup.php | 109 --------------------- 1 file changed, 109 deletions(-) delete mode 100644 srcs/phpmyadmin/libraries/classes/Properties/Options/OptionsPropertyGroup.php (limited to 'srcs/phpmyadmin/libraries/classes/Properties/Options/OptionsPropertyGroup.php') diff --git a/srcs/phpmyadmin/libraries/classes/Properties/Options/OptionsPropertyGroup.php b/srcs/phpmyadmin/libraries/classes/Properties/Options/OptionsPropertyGroup.php deleted file mode 100644 index 2ff5c75..0000000 --- a/srcs/phpmyadmin/libraries/classes/Properties/Options/OptionsPropertyGroup.php +++ /dev/null @@ -1,109 +0,0 @@ -getProperties() == null - && in_array($property, $this->getProperties(), true) - ) { - return; - } - $this->_properties[] = $property; - } - - /** - * Removes a property from the group of properties - * - * @param OptionsPropertyItem $property the property instance to be removed - * from the group - * - * @return void - */ - public function removeProperty($property) - { - $this->_properties = array_diff( - $this->getProperties(), - [$property] - ); - } - - - /* ~~~~~~~~~~~~~~~~~~~~ Getters and Setters ~~~~~~~~~~~~~~~~~~~~ */ - - /** - * Gets the instance of the class - * - * @return OptionsPropertyGroup - */ - public function getGroup() - { - return $this; - } - - /** - * Gets the group of properties - * - * @return array - */ - public function getProperties() - { - return $this->_properties; - } - - /** - * Gets the number of properties - * - * @return int - */ - public function getNrOfProperties() - { - if ($this->_properties === null) { - return 0; - } - return count($this->_properties); - } - - /** - * Countable interface implementation. - * - * @return int - */ - public function count() - { - return $this->getNrOfProperties(); - } -} -- cgit