src/Services/InputMaker.php
public function getGeneratorMethod($type)
    {
        switch ($type) {
            case in_array($type, $this->inputGroups['hidden']):
                return 'makeHidden';

            case in_array($type, $this->inputGroups['text']):
                return 'makeText';

            case in_array($type, $this->inputGroups['select']):
                return 'makeSelected';

            case in_array($type, $this->inputGroups['checkbox']):
                return 'makeCheckbox';

            case in_array($type, $this->inputGroups['radio']):
                return 'makeRadio';

            case in_array($type, $this->inputGroups['relationship']):
                return 'makeRelationship';

            default:
                return 'makeHTMLInputString';
        }
    }
public function getGeneratorMethod($type)
    {
        switch ($type) {
            case in_array($type, $this->inputGroups['hidden']):
                return 'makeHidden';

            case in_array($type, $this->inputGroups['text']):
                return 'makeText';

            case in_array($type, $this->inputGroups['select']):
                return 'makeSelected';

            case in_array($type, $this->inputGroups['checkbox']):
                return 'makeCheckbox';

            case in_array($type, $this->inputGroups['radio']):
                return 'makeRadio';

            case in_array($type, $this->inputGroups['relationship']):
                return 'makeRelationship';

            default:
                return 'makeHTMLInputString';
        }
    }
public function getGeneratorMethod ( $ type ) { switch ( $ type ) { case in_array ( $ type , $ this -> inputGroups [ 'hidden' ] ) : return 'makeHidden' ; case in_array ( $ type , $ this -> inputGroups [ 'text' ] ) : return 'makeText' ; case in_array ( $ type , $ this -> inputGroups [ 'select' ] ) : return 'makeSelected' ; case in_array ( $ type , $ this -> inputGroups [ 'checkbox' ] ) : return 'makeCheckbox' ; case in_array ( $ type , $ this -> inputGroups [ 'radio' ] ) : return 'makeRadio' ; case in_array ( $ type , $ this -> inputGroups [ 'relationship' ] ) : return 'makeRelationship' ; default : return 'makeHTMLInputString' ; } }
Get the generator method.

@param string $type

@return string
Get the generator method .