Added FileForm
This commit is contained in:
parent
0c4ab031b1
commit
c632e2e463
1 changed files with 25 additions and 0 deletions
25
src/Forms/FileForm.php
Normal file
25
src/Forms/FileForm.php
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
|
||||
namespace PhangoApp\PhaModels\Forms;
|
||||
|
||||
use PhangoApp\PhaModels\Forms\BaseForm;
|
||||
|
||||
/**
|
||||
* Basic class for create forms
|
||||
*/
|
||||
|
||||
class FileForm extends BaseForm{
|
||||
|
||||
public function __construct($name, $value='')
|
||||
{
|
||||
|
||||
parent::__construct($name, $value);
|
||||
|
||||
$this->type='file';
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue