Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
ab4cdd37
Commit
ab4cdd37
authored
Nov 19, 2014
by
花生
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update structure-modules.md
little fix
parent
c5733811
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
structure-modules.md
docs/guide-zh-CN/structure-modules.md
+1
-1
No files found.
docs/guide-zh-CN/structure-modules.md
View file @
ab4cdd37
...
@@ -30,7 +30,7 @@ forum/
...
@@ -30,7 +30,7 @@ forum/
### 模块类 <a name="module-classes"></a>
### 模块类 <a name="module-classes"></a>
每个模块都有一个继承
[
[yii\base\Module
]
]的模块类,该类文件直接放在模块的
[
[yii\base\Module::basePath|base path
]
]目录下,
每个模块都有一个继承
[
[yii\base\Module
]
]的模块类,该类文件直接放在模块的
[
[yii\base\Module::basePath|base path
]
]目录下,
并且能被
[
自动加载
](
concept-autoloading.md
)
。当一个模块被访问,和
[
application instances
](
structure-applications.md
)
并且能被
[
自动加载
](
concept-autoloading.md
)
。当一个模块被访问,和
[
应用主体实例
](
structure-applications.md
)
类似会创建该模块类唯一实例,模块实例用来帮模块内代码共享数据和组件。
类似会创建该模块类唯一实例,模块实例用来帮模块内代码共享数据和组件。
以下示例一个模块类大致定义:
以下示例一个模块类大致定义:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment