src/Generators/HtmlGenerator.php
public function makeHTMLInputString($config)
    {
        $custom = $this->getCustom($config);
        $multiple = $this->isMultiple($config, 'multiple');
        $multipleArray = $this->isMultiple($config, '[]');
        $floatingNumber = $this->getFloatingNumber($config);
        $population = $this->getPopulation($config);

        if (is_array($config['objectValue']) && $config['type'] === 'file') {
            $population = '';
        }

        $inputString = '<input '.$this->processCustom($custom).' id="'.$this->getId($config).'" class="'.$config['class'].'" type="'.$config['type'].'" name="'.$config['name'].$multipleArray.'" '.$floatingNumber.' '.$multiple.' '.$population.' placeholder="'.$config['placeholder'].'">';

        return $inputString;
    }
public function makeHTMLInputString($config)
    {
        $custom = $this->getCustom($config);
        $multiple = $this->isMultiple($config, 'multiple');
        $multipleArray = $this->isMultiple($config, '[]');
        $floatingNumber = $this->getFloatingNumber($config);
        $population = $this->getPopulation($config);

        if (is_array($config['objectValue']) && $config['type'] === 'file') {
            $population = '';
        }

        $inputString = '<input '.$this->processCustom($custom).' id="'.$this->getId($config).'" class="'.$config['class'].'" type="'.$config['type'].'" name="'.$config['name'].$multipleArray.'" '.$floatingNumber.' '.$multiple.' '.$population.' placeholder="'.$config['placeholder'].'">';

        return $inputString;
    }
public function makeHTMLInputString ( $ config ) { $ custom = $ this -> getCustom ( $ config ) ; $ multiple = $ this -> isMultiple ( $ config , 'multiple' ) ; $ multipleArray = $ this -> isMultiple ( $ config , '[]' ) ; $ floatingNumber = $ this -> getFloatingNumber ( $ config ) ; $ population = $ this -> getPopulation ( $ config ) ; if ( is_array ( $ config [ 'objectValue' ] ) && $ config [ 'type' ] === 'file' ) { $ population = '' ; } $ inputString = '<input ' . $ this -> processCustom ( $ custom ) . ' id="' . $ this -> getId ( $ config ) . '" class="' . $ config [ 'class' ] . '" type="' . $ config [ 'type' ] . '" name="' . $ config [ 'name' ] . $ multipleArray . '" ' . $ floatingNumber . ' ' . $ multiple . ' ' . $ population . ' placeholder="' . $ config [ 'placeholder' ] . '">' ; return $ inputString ; }
Generate a standard HTML input string.

@param array $config Config array

@return string
Generate a standard HTML input string .