aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-06-21 19:01:46 +0200
committerThomas Lange <code@nerdmind.de>2021-06-21 19:01:46 +0200
commitec424df850d6e5acc85d49ebd67703cf11f5a8d4 (patch)
tree0569c35635f1f9d6bf5484d9f5ef58ad5bbd50f3
parentba7c1b55fb22e893f39f0519e135d881353088fc (diff)
downloadblog-ec424df850d6e5acc85d49ebd67703cf11f5a8d4.tar.gz
blog-ec424df850d6e5acc85d49ebd67703cf11f5a8d4.tar.xz
blog-ec424df850d6e5acc85d49ebd67703cf11f5a8d4.zip
Remove getArguments method from Item class
-rw-r--r--core/namespace/Item.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/core/namespace/Item.php b/core/namespace/Item.php
index 92eb0e8..74b5688 100644
--- a/core/namespace/Item.php
+++ b/core/namespace/Item.php
@@ -51,26 +51,6 @@ abstract class Item implements ItemInterface {
}
#===============================================================================
- # Return parsed arguments
- #===============================================================================
- public function getArguments(): array {
- if($argv = $this->Attribute->get('argv')) {
- foreach(explode('|', $argv) as $delimeter) {
- $part = explode('=', $delimeter);
-
- $argumentK = $part[0] ?? NULL;
- $argumentV = $part[1] ?? TRUE;
-
- if(preg_match('#^[[:word:]]+$#', $argumentK)) {
- $arguments[strtoupper($argumentK)] = $argumentV;
- }
- }
- }
-
- return $arguments ?? [];
- }
-
- #===============================================================================
# Return previous item ID
#===============================================================================
public function getPrevID(): int {