kernel/lib/Form/Input.php
public function fetch() : string
    {
        $sContent = '';

        if ($this->getType() === 'text' || $this->getType() === 'password' || $this->getType() === 'file'
            || $this->getType() === 'tel' || $this->getType() === 'url' || $this->getType() === 'email'
            || $this->getType() === 'search' || $this->getType() === 'date' || $this->getType() === 'time'
            || $this->getType() === 'datetime' || $this->getType() === 'month' || $this->getType() === 'week'
            || $this->getType() === 'number' || $this->getType() === 'range' || $this->getType() === 'color') {

            $sContent .= '<label>'.$this->getLabel().'</label> ';
        }

        $sContent .= '<input type="'.$this->getType().'" name="'.$this->getName().'" id="'.$this->getName().'"';

        if ($this->getValue() !== null) { $sContent .= ' value="'.$this->getValue().'"'; }

        $sContent .= '/>';

        return $sContent;
    }
public function fetch() : string
    {
        $sContent = '';

        if ($this->getType() === 'text' || $this->getType() === 'password' || $this->getType() === 'file'
            || $this->getType() === 'tel' || $this->getType() === 'url' || $this->getType() === 'email'
            || $this->getType() === 'search' || $this->getType() === 'date' || $this->getType() === 'time'
            || $this->getType() === 'datetime' || $this->getType() === 'month' || $this->getType() === 'week'
            || $this->getType() === 'number' || $this->getType() === 'range' || $this->getType() === 'color') {

            $sContent .= '<label>'.$this->getLabel().'</label> ';
        }

        $sContent .= '<input type="'.$this->getType().'" name="'.$this->getName().'" id="'.$this->getName().'"';

        if ($this->getValue() !== null) { $sContent .= ' value="'.$this->getValue().'"'; }

        $sContent .= '/>';

        return $sContent;
    }
public function fetch ( ) : string { $ sContent = '' ; if ( $ this -> getType ( ) === 'text' || $ this -> getType ( ) === 'password' || $ this -> getType ( ) === 'file' || $ this -> getType ( ) === 'tel' || $ this -> getType ( ) === 'url' || $ this -> getType ( ) === 'email' || $ this -> getType ( ) === 'search' || $ this -> getType ( ) === 'date' || $ this -> getType ( ) === 'time' || $ this -> getType ( ) === 'datetime' || $ this -> getType ( ) === 'month' || $ this -> getType ( ) === 'week' || $ this -> getType ( ) === 'number' || $ this -> getType ( ) === 'range' || $ this -> getType ( ) === 'color' ) { $ sContent .= '<label>' . $ this -> getLabel ( ) . '</label> ' ; } $ sContent .= '<input type="' . $ this -> getType ( ) . '" name="' . $ this -> getName ( ) . '" id="' . $ this -> getName ( ) . '"' ; if ( $ this -> getValue ( ) !== null ) { $ sContent .= ' value="' . $ this -> getValue ( ) . '"' ; } $ sContent .= '/>' ; return $ sContent ; }
get the <html>

@access public
@return string
get the <html >