diff --git a/library/Bpapp/BpNode.php b/library/Bpapp/BpNode.php index bc1b846..76d22c1 100644 --- a/library/Bpapp/BpNode.php +++ b/library/Bpapp/BpNode.php @@ -57,16 +57,22 @@ class BpNode extends Node return $this->operator; } - public function setUrl($url) + public function setInfoUrl($url) { $this->url = $url; + return $this; } - public function hasUrl() + public function hasInfoUrl() { return $this->url !== null; } + public function getInfoUrl() + { + return $this->url; + } + public function setInfoCommand($cmd) { $this->info_command = $cmd; @@ -77,11 +83,6 @@ class BpNode extends Node return $this->info_command !== null; } - public function getUrl() - { - return $this->url; - } - public function getInfoCommand() { return $this->info_command;