Page MenuHomePhorge

PhabricatorCheckboxesEditField.php
No OneTemporary

Size
737 B
Referenced Files
None
Subscribers
None

PhabricatorCheckboxesEditField.php

<?php
final class PhabricatorCheckboxesEditField
extends PhabricatorEditField {
private $options;
protected function newControl() {
$options = $this->getOptions();
return id(new AphrontFormCheckboxControl())
->setOptions($options);
}
protected function newConduitParameterType() {
return new ConduitStringListParameterType();
}
protected function newHTTPParameterType() {
return new AphrontStringListHTTPParameterType();
}
public function setOptions(array $options) {
$this->options = $options;
return $this;
}
public function getOptions() {
if ($this->options === null) {
throw new PhutilInvalidStateException('setOptions');
}
return $this->options;
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, May 13, 10:35 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
104356
Default Alt Text
PhabricatorCheckboxesEditField.php (737 B)

Event Timeline