1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-05 03:18:25 +01:00
phorge-phorge/src/view/form/control/AphrontFormFileControl.php

20 lines
410 B
PHP
Raw Normal View History

2011-01-22 18:33:00 -08:00
<?php
final class AphrontFormFileControl extends AphrontFormControl {
2011-01-22 18:33:00 -08:00
protected function getCustomControlClass() {
return 'aphront-form-file-text';
}
protected function renderInput() {
return phutil_render_tag(
'input',
array(
'type' => 'file',
'name' => $this->getName(),
'disabled' => $this->getDisabled() ? 'disabled' : null,
));
}
}