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';
|
||||
switch ($this->getTypeCategory($type)) {
|
||||
case 'yii':
|
||||
if ($type->name == 'Yii') {
|
||||
$url = '/framework/Yii.php';
|
||||
} else {
|
||||
$url = '/framework/' . str_replace('\\', '/', substr($type->name, 4)) . '.php';
|
||||
}
|
||||
break;
|
||||
case 'app':
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user