private function getInputData(stdClass $data)
    {
        $output = '';
        $skip = array_merge($this->getAutoFill(), ['id']);

        if( ! empty($data->database) ) {

            if( isset($data->multiLanguage) )
                $path = '/templates/service/controller/multilanguage/input.data.hctpl';
            else
                $path = '/templates/service/controller/basic/input.data.hctpl';

            $tpl = file_get_contents(__DIR__ . '/..' . $path);

            foreach ( $data->database as $tableName => $model )
                if( array_key_exists('columns', $model) && ! empty($model->columns) && isset($model->default) )
                    foreach ( $model->columns as $column ) {
                        if( in_array($column->Field, $skip) )
                            continue;

                        $line = str_replace('{key}', $column->Field, $tpl);
                        $output .= $line;
                    }
        }

        return $output;
    }