Page MenuHomestyx hydra

PhabricatorTextConfigType.php
No OneTemporary

PhabricatorTextConfigType.php

<?php
abstract class PhabricatorTextConfigType
extends PhabricatorConfigType {
public function isValuePresentInRequest(
PhabricatorConfigOption $option,
AphrontRequest $request) {
$value = parent::readValueFromRequest($option, $request);
return (bool)strlen($value);
}
protected function newCanonicalValue(
PhabricatorConfigOption $option,
$value) {
return (string)$value;
}
protected function newHTTPParameterType() {
return new AphrontStringHTTPParameterType();
}
protected function newControl(PhabricatorConfigOption $option) {
return new AphrontFormTextControl();
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, Nov 24, 12:22 PM (10 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
399347
Default Alt Text
PhabricatorTextConfigType.php (632 B)

Event Timeline