hidden = $hidden; return $this; } public function setID($id) { $this->id = $id; return $this; } public function getID() { return $this->id; } public function setControlID($control_id) { $this->controlID = $control_id; return $this; } public function getControlID() { return $this->controlID; } public function setControlStyle($control_style) { $this->controlStyle = $control_style; return $this; } public function getControlStyle() { return $this->controlStyle; } public function setLabel($label) { $this->label = $label; return $this; } /** * Explicitly set an aria-label attribute for accessibility. Only to be used * when no visible label is already set via setLabel(). * @param string $aria_label aria-label text to add to the form control */ public function setAriaLabel($aria_label) { $this->ariaLabel = $aria_label; return $this; } public function getAriaLabel() { return $this->ariaLabel; } public function getLabel() { return $this->label; } /** * Set the Caption * The Caption shows a tip usually nearby the related input field. * @param string|PhutilSafeHTML|null $caption * @return self */ public function setCaption($caption) { $this->caption = $caption; return $this; } /** * Get the Caption * The Caption shows a tip usually nearby the related input field. * @return string|PhutilSafeHTML|null */ public function getCaption() { return $this->caption; } public function setError($error) { $this->error = $error; return $this; } public function getError() { return $this->error; } public function setName($name) { $this->name = $name; return $this; } public function getName() { return $this->name; } public function setValue($value) { $this->value = $value; return $this; } /** * Whether a button is displayed next to the control which allows the user to * copy the value in the form control. Common use cases include * (AphrontFormTextControl) and