diff --git a/Models/ContactElement.php b/Models/ContactElement.php index 4684a4f..1968d46 100644 --- a/Models/ContactElement.php +++ b/Models/ContactElement.php @@ -34,9 +34,6 @@ class ContactElement private int $type = 0; - private $subtype = 0; - - private $value = ''; /** * Description. * @@ -57,36 +54,32 @@ class ContactElement return $this->id; } + /** + * Set type + * + * @param int $type Type + * + * @return void + * + * @since 1.0.0 + */ public function setType(int $type) : void { $this->type = $type; } + /** + * Get type + * + * @return int + * + * @since 1.0.0 + */ public function getType() : int { return $this->type; } - public function setSubtype(int $type) : void - { - $this->subtype = $type; - } - - public function getSubtype() : int - { - return $this->subtype; - } - - public function getValue() : string - { - return $this->value; - } - - public function setValue(string $value) : void - { - $this->value = $value; - } - /** * Get description * diff --git a/Theme/Backend/Components/AccountGroupSelector/BaseView.php b/Theme/Backend/Components/AccountGroupSelector/BaseView.php index 6f215ae..e358182 100644 --- a/Theme/Backend/Components/AccountGroupSelector/BaseView.php +++ b/Theme/Backend/Components/AccountGroupSelector/BaseView.php @@ -46,6 +46,13 @@ class BaseView extends View $this->addData('popup', $view); } + /** + * Get selector id + * + * @return string + * + * @since 1.0.0 + */ public function getId() : string { return $this->id; @@ -63,6 +70,13 @@ class BaseView extends View return $this->name; } + /** + * Is required? + * + * @return bool + * + * @since 1.0.0 + */ public function isRequired() : bool { return $this->isRequired; diff --git a/Theme/Backend/Components/AccountGroupSelector/PopupView.php b/Theme/Backend/Components/AccountGroupSelector/PopupView.php index 2f47281..8f355b5 100644 --- a/Theme/Backend/Components/AccountGroupSelector/PopupView.php +++ b/Theme/Backend/Components/AccountGroupSelector/PopupView.php @@ -41,11 +41,27 @@ class PopupView extends View $this->setTemplate('/Modules/Profile/Theme/Backend/Components/AccountGroupSelector/popup'); } + /** + * Set popup id + * + * @param string $id Id + * + * @return void + * + * @since 1.0.0 + */ public function setId(string $id) : void { $this->id = $id; } + /** + * Get popup id + * + * @return string + * + * @since 1.0.0 + */ public function getId() : string { return $this->id;