lib/gii/cascadeTypeModule/Generator.php
public function fixIndexName($name, $table, $keys)
    {
        if (strpos($name, '_') === false) {
            return $name;
        }
        $niceName = preg_replace('/object/', '', $table->name);
        $niceName = lcfirst(Inflector::id2camel($niceName, '_'));
        $indices = [];
        foreach ($keys as $key) {
            $indices[] = Inflector::id2camel(substr($key, 0, strpos($key, '_id')), '_');
        }

        return $niceName . implode('', $indices);
    }
public function fixIndexName($name, $table, $keys)
    {
        if (strpos($name, '_') === false) {
            return $name;
        }
        $niceName = preg_replace('/object/', '', $table->name);
        $niceName = lcfirst(Inflector::id2camel($niceName, '_'));
        $indices = [];
        foreach ($keys as $key) {
            $indices[] = Inflector::id2camel(substr($key, 0, strpos($key, '_id')), '_');
        }

        return $niceName . implode('', $indices);
    }
[[@doctodo method_description:fixIndexName]].

@param [[@doctodo param_type:name]]  $name  [[@doctodo param_description:name]]
@param [[@doctodo param_type:table]] $table [[@doctodo param_description:table]]
@param [[@doctodo param_type:keys]]  $keys  [[@doctodo param_description:keys]]

@return [[@doctodo return_type:fixIndexName]] [[@doctodo return_description:fixIndexName]]