From 2001b2445eb580cf179a388d20b02df5cd60540c Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Sun, 30 Nov 2014 11:56:14 +0100 Subject: [PATCH] BpNode: rename url to infoUrl --- library/Bpapp/BpNode.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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;