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 --- .../Options/Groups/OptionsPropertyMainGroup.php | 35 ----- .../Options/Groups/OptionsPropertyRootGroup.php | 35 ----- .../Options/Groups/OptionsPropertySubgroup.php | 66 --------- .../Properties/Options/Items/BoolPropertyItem.php | 35 ----- .../Properties/Options/Items/DocPropertyItem.php | 35 ----- .../Options/Items/HiddenPropertyItem.php | 35 ----- .../Options/Items/MessageOnlyPropertyItem.php | 35 ----- .../Options/Items/NumberPropertyItem.php | 35 ----- .../Properties/Options/Items/RadioPropertyItem.php | 35 ----- .../Options/Items/SelectPropertyItem.php | 35 ----- .../Properties/Options/Items/TextPropertyItem.php | 35 ----- .../Properties/Options/OptionsPropertyGroup.php | 109 -------------- .../Properties/Options/OptionsPropertyItem.php | 136 ----------------- .../Properties/Options/OptionsPropertyOneItem.php | 161 --------------------- 14 files changed, 822 deletions(-) delete mode 100644 srcs/phpmyadmin/libraries/classes/Properties/Options/Groups/OptionsPropertyMainGroup.php delete mode 100644 srcs/phpmyadmin/libraries/classes/Properties/Options/Groups/OptionsPropertyRootGroup.php delete mode 100644 srcs/phpmyadmin/libraries/classes/Properties/Options/Groups/OptionsPropertySubgroup.php delete mode 100644 srcs/phpmyadmin/libraries/classes/Properties/Options/Items/BoolPropertyItem.php delete mode 100644 srcs/phpmyadmin/libraries/classes/Properties/Options/Items/DocPropertyItem.php delete mode 100644 srcs/phpmyadmin/libraries/classes/Properties/Options/Items/HiddenPropertyItem.php delete mode 100644 srcs/phpmyadmin/libraries/classes/Properties/Options/Items/MessageOnlyPropertyItem.php delete mode 100644 srcs/phpmyadmin/libraries/classes/Properties/Options/Items/NumberPropertyItem.php delete mode 100644 srcs/phpmyadmin/libraries/classes/Properties/Options/Items/RadioPropertyItem.php delete mode 100644 srcs/phpmyadmin/libraries/classes/Properties/Options/Items/SelectPropertyItem.php delete mode 100644 srcs/phpmyadmin/libraries/classes/Properties/Options/Items/TextPropertyItem.php delete mode 100644 srcs/phpmyadmin/libraries/classes/Properties/Options/OptionsPropertyGroup.php delete mode 100644 srcs/phpmyadmin/libraries/classes/Properties/Options/OptionsPropertyItem.php delete mode 100644 srcs/phpmyadmin/libraries/classes/Properties/Options/OptionsPropertyOneItem.php (limited to 'srcs/phpmyadmin/libraries/classes/Properties/Options') diff --git a/srcs/phpmyadmin/libraries/classes/Properties/Options/Groups/OptionsPropertyMainGroup.php b/srcs/phpmyadmin/libraries/classes/Properties/Options/Groups/OptionsPropertyMainGroup.php deleted file mode 100644 index 99d3546..0000000 --- a/srcs/phpmyadmin/libraries/classes/Properties/Options/Groups/OptionsPropertyMainGroup.php +++ /dev/null @@ -1,35 +0,0 @@ -_subgroupHeader; - } - - /** - * Sets the subgroup header - * - * @param PropertyItem $subgroupHeader subgroup header - * - * @return void - */ - public function setSubgroupHeader($subgroupHeader) - { - $this->_subgroupHeader = $subgroupHeader; - } -} diff --git a/srcs/phpmyadmin/libraries/classes/Properties/Options/Items/BoolPropertyItem.php b/srcs/phpmyadmin/libraries/classes/Properties/Options/Items/BoolPropertyItem.php deleted file mode 100644 index 7441243..0000000 --- a/srcs/phpmyadmin/libraries/classes/Properties/Options/Items/BoolPropertyItem.php +++ /dev/null @@ -1,35 +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(); - } -} diff --git a/srcs/phpmyadmin/libraries/classes/Properties/Options/OptionsPropertyItem.php b/srcs/phpmyadmin/libraries/classes/Properties/Options/OptionsPropertyItem.php deleted file mode 100644 index 829f6d9..0000000 --- a/srcs/phpmyadmin/libraries/classes/Properties/Options/OptionsPropertyItem.php +++ /dev/null @@ -1,136 +0,0 @@ -_name = $name; - } - if ($text) { - $this->_text = $text; - } - } - - /* ~~~~~~~~~~~~~~~~~~~~ Getters and Setters ~~~~~~~~~~~~~~~~~~~~ */ - - /** - * Gets the name - * - * @return string - */ - public function getName() - { - return $this->_name; - } - - /** - * Sets the name - * - * @param string $name name - * - * @return void - */ - public function setName($name) - { - $this->_name = $name; - } - - /** - * Gets the text - * - * @return string - */ - public function getText() - { - return $this->_text; - } - - /** - * Sets the text - * - * @param string $text text - * - * @return void - */ - public function setText($text) - { - $this->_text = $text; - } - - /** - * Gets the force parameter - * - * @return string - */ - public function getForce() - { - return $this->_force; - } - - /** - * Sets the force parameter - * - * @param string $force force parameter - * - * @return void - */ - public function setForce($force) - { - $this->_force = $force; - } - - /** - * Returns the property type ( either "options", or "plugin" ). - * - * @return string - */ - public function getPropertyType() - { - return "options"; - } -} diff --git a/srcs/phpmyadmin/libraries/classes/Properties/Options/OptionsPropertyOneItem.php b/srcs/phpmyadmin/libraries/classes/Properties/Options/OptionsPropertyOneItem.php deleted file mode 100644 index 2ffca61..0000000 --- a/srcs/phpmyadmin/libraries/classes/Properties/Options/OptionsPropertyOneItem.php +++ /dev/null @@ -1,161 +0,0 @@ -_force_one; - } - - /** - * Sets the force parameter - * - * @param bool $force force parameter - * - * @return void - */ - public function setForce($force) - { - $this->_force_one = $force; - } - - /** - * Gets the values - * - * @return array - */ - public function getValues() - { - return $this->_values; - } - - /** - * Sets the values - * - * @param array $values values - * - * @return void - */ - public function setValues(array $values) - { - $this->_values = $values; - } - - /** - * Gets MySQL documentation pointer - * - * @return string - */ - public function getDoc() - { - return $this->_doc; - } - - /** - * Sets the doc - * - * @param string $doc MySQL documentation pointer - * - * @return void - */ - public function setDoc($doc) - { - $this->_doc = $doc; - } - - /** - * Gets the length - * - * @return int - */ - public function getLen() - { - return $this->_len; - } - - /** - * Sets the length - * - * @param int $len length - * - * @return void - */ - public function setLen($len) - { - $this->_len = $len; - } - - /** - * Gets the size - * - * @return int - */ - public function getSize() - { - return $this->_size; - } - - /** - * Sets the size - * - * @param int $size size - * - * @return void - */ - public function setSize($size) - { - $this->_size = $size; - } -} -- cgit