mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-14 21:30:17 +08:00
@@ -100,7 +100,11 @@ class ApiRenderer extends \yii\apidoc\templates\html\ApiRenderer
|
|||||||
$baseUrl = 'https://github.com/yiisoft/yii2/blob/master';
|
$baseUrl = 'https://github.com/yiisoft/yii2/blob/master';
|
||||||
switch ($this->getTypeCategory($type)) {
|
switch ($this->getTypeCategory($type)) {
|
||||||
case 'yii':
|
case 'yii':
|
||||||
$url = '/framework/' . str_replace('\\', '/', substr($type->name, 4)) . '.php';
|
if ($type->name == 'Yii') {
|
||||||
|
$url = '/framework/Yii.php';
|
||||||
|
} else {
|
||||||
|
$url = '/framework/' . str_replace('\\', '/', substr($type->name, 4)) . '.php';
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case 'app':
|
case 'app':
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user