setIdentifier($guid); $this->setUrl($url); $this->setTitle($title); $this->setHeight($height); $this->setWidth($width); } /** Get Widget instance url * @return String widget instance url */ public function getUrl() { return $this->url; } /** Set widget instance url * * @param String new url for instance */ private function setUrl($url) { $this->url = $url; } /** Get widget guid value * @return String guid of widget */ public function getIdentifier() { return $this->guid; } /** Set widget guid value * * @param String guid value */ private function setIdentifier($guid) { $this->guid = $guid; } /** Get widget title * @return String widget title */ public function getTitle() { return $this->title; } /** Set widget title * * @param String new widget title */ public function setTitle($title) { $this->title = $title; } /** Get widget height * @return Integer widget height */ public function getHeight() { return (int) $this->height; } /** Set widget height * @param Integer new widget height */ public function setHeight($height) { $this->height = (int) $height; } /** Get wiget width * @return Integer widget width */ public function getWidth() { return (int) $this->width; } /** Set widget width * * @param Integer new widget width */ public function setWidth($width) { $this->width = (int) $width; } } ?>