FRED™
3.0
FRED™: Framework for Rapid and Easy Development
File.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Rsi\Fred\Controller\View\Html\Widget
;
4
5
class
File
extends
\Rsi\Fred\Controller\View\Html\Widget{
6
7
protected
$_inputType
=
'file'
;
8
9
protected
function
attribs
(){
10
$attribs = parent::attribs();
11
if
($this->_widget->multi) $attribs[
'multiple'
] =
true
;
12
return
$attribs;
13
}
14
15
public
function
render
($value = null,$raw =
false
){
16
$this->_widget->expect(
'rotate'
);
17
if
($this->_widget->multi) $this->_name .=
'[]'
;
18
return
parent::render();
//value not allowed
19
}
20
21
}
Rsi\Fred\Controller\View\Html\Widget\File\$_inputType
$_inputType
Definition:
File.php:7
Rsi\Fred\Controller\View\Html\Widget\File
Definition:
File.php:5
Rsi\Fred\Controller\View\Html\Widget\File\render
render($value=null, $raw=false)
Definition:
File.php:15
Rsi\Fred\Controller\View\Html\Widget\File\attribs
attribs()
Definition:
File.php:9
Rsi\Fred\Controller\View\Html\Widget
Definition:
Char.php:3
src
Rsi
Fred
Controller
View
Html
Widget
File.php
Generated on Sun Aug 2 2020 19:43:57 for FRED™ by
1.8.13