id = $id; $this->name = $name; $this->url = $url; preg_match_all('/\\[\\[(.*?)]]/', $url, $parseUrlResult); $this->parameters = $parseUrlResult[1]; $this->linkTextPreference = $linkTextPreference; $this->backgroundColorPreference = $backgroundColorPreference; $this->textColorPreference = $textColorPreference; $this->encodeUrl = $encodeUrl; $this->productDomains = $productDomains; } public function getId() { return $this->id; } public function getName() { return $this->name; } public function getUrl() { return $this->url; } public function getParameters() { return $this->parameters; } public function getLinkTextPreference() { return $this->linkTextPreference; } public function getBackgroundColorPreference() { return $this->backgroundColorPreference; } public function getTextColorPreference() { return $this->textColorPreference; } public function getEncodeUrl() { return $this->encodeUrl; } public function getProductDomains() { return $this->productDomains; } public function setProductDomains($productDomains) { $this->productDomains = $productDomains; } }