Page MenuHomePhorge

AphrontIntHTTPParameterType.php
No OneTemporary

AphrontIntHTTPParameterType.php

<?php
final class AphrontIntHTTPParameterType
extends AphrontHTTPParameterType {
protected function getParameterValue(AphrontRequest $request, $key) {
return $request->getInt($key);
}
protected function getParameterTypeName() {
return 'int';
}
protected function getParameterFormatDescriptions() {
return array(
pht('An integer.'),
);
}
protected function getParameterExamples() {
return array(
'v=123',
);
}
}

File Metadata

Mime Type
text/x-php
Expires
Jan 19 2025, 22:36 (6 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1129467
Default Alt Text
AphrontIntHTTPParameterType.php (471 B)

Event Timeline