改名
This commit is contained in:
@@ -174,6 +174,9 @@ use {$model_namespace}\\{$managerName};
|
|||||||
{
|
{
|
||||||
$_path = str_replace(CONTROLLER_PATH, '', $path['path']);
|
$_path = str_replace(CONTROLLER_PATH, '', $path['path']);
|
||||||
$_path = lcfirst(rtrim($_path, '/')) . '/' . lcfirst($className);
|
$_path = lcfirst(rtrim($_path, '/')) . '/' . lcfirst($className);
|
||||||
|
|
||||||
|
$_path = ltrim($_path,'/');
|
||||||
|
|
||||||
return '
|
return '
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string
|
||||||
@@ -227,6 +230,8 @@ use {$model_namespace}\\{$managerName};
|
|||||||
$_path = str_replace(CONTROLLER_PATH, '', $path['path']);
|
$_path = str_replace(CONTROLLER_PATH, '', $path['path']);
|
||||||
$_path = lcfirst(rtrim($_path, '/')) . '/' . lcfirst($className);
|
$_path = lcfirst(rtrim($_path, '/')) . '/' . lcfirst($className);
|
||||||
|
|
||||||
|
$_path = ltrim($_path,'/');
|
||||||
|
|
||||||
return '
|
return '
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string
|
||||||
@@ -262,6 +267,8 @@ use {$model_namespace}\\{$managerName};
|
|||||||
$_path = str_replace(CONTROLLER_PATH, '', $path['path']);
|
$_path = str_replace(CONTROLLER_PATH, '', $path['path']);
|
||||||
$_path = lcfirst(rtrim($_path, '/')) . '/' . lcfirst($className);
|
$_path = lcfirst(rtrim($_path, '/')) . '/' . lcfirst($className);
|
||||||
|
|
||||||
|
$_path = ltrim($_path,'/');
|
||||||
|
|
||||||
return '
|
return '
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string
|
||||||
@@ -297,6 +304,8 @@ use {$model_namespace}\\{$managerName};
|
|||||||
$_path = str_replace(CONTROLLER_PATH, '', $path['path']);
|
$_path = str_replace(CONTROLLER_PATH, '', $path['path']);
|
||||||
$_path = lcfirst(rtrim($_path, '/')) . '/' . lcfirst($className);
|
$_path = lcfirst(rtrim($_path, '/')) . '/' . lcfirst($className);
|
||||||
|
|
||||||
|
$_path = ltrim($_path,'/');
|
||||||
|
|
||||||
return '
|
return '
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string
|
||||||
@@ -327,6 +336,8 @@ use {$model_namespace}\\{$managerName};
|
|||||||
$_path = str_replace(CONTROLLER_PATH, '', $path['path']);
|
$_path = str_replace(CONTROLLER_PATH, '', $path['path']);
|
||||||
$_path = lcfirst(rtrim($_path, '/')) . '/' . lcfirst($className);
|
$_path = lcfirst(rtrim($_path, '/')) . '/' . lcfirst($className);
|
||||||
|
|
||||||
|
$_path = ltrim($_path,'/');
|
||||||
|
|
||||||
return '
|
return '
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string
|
||||||
@@ -362,6 +373,9 @@ use {$model_namespace}\\{$managerName};
|
|||||||
$_path = str_replace(CONTROLLER_PATH, '', $path['path']);
|
$_path = str_replace(CONTROLLER_PATH, '', $path['path']);
|
||||||
$_path = lcfirst(rtrim($_path, '/')) . '/' . lcfirst($className);
|
$_path = lcfirst(rtrim($_path, '/')) . '/' . lcfirst($className);
|
||||||
|
|
||||||
|
|
||||||
|
$_path = ltrim($_path,'/');
|
||||||
|
|
||||||
return '
|
return '
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string
|
||||||
|
|||||||
Reference in New Issue
Block a user