JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
This browser version is no longer supported. Please upgrade to a supported browser.
Learn More
Dismiss
Yii Infrastructure
Saved to Drive
Request edit access
Sign in
File
Edit
View
Tools
Help
Accessibility
Debug
Gemini created these notes. They can contain errors so should be double-checked.
How Gemini takes notes
Drag image to reposition
Outline
Outline
Document tabs
Yii Infrastructure
0
Headings you add to the document will appear here.
文件结构、程序结构及配置
入口文件index.php流程
CApplication构造流程
Request组件初始化
Run 方法流程
Yii核心参考
Yii extends YiiBase
CWebApplication继承树
Abstract CApplication
CModule
CComponent
getter与setter
Behavior扩展(多重继承)
事件注册与调用
相关参考:
CEvent extends CComponent
CEnumerable
CWebApplication配置项
CWebApplication继承树中的所有公共属性
CWebApplication
CApplication
CModule
CWebApplication继承树上实现的setter
CWebApplication
CApplication
CModule
CWebApplication继承树上实现的事件
配置URL为Path模式,去掉index.php
Controller与Action的执行
Controller的创建与执行
Controller实例创建流程
Controller run执行流程
Action的创建与执行
404错误处理
找不到Controller
ErrorHandler组件配置
找不到Action
Controller可被覆写的方法
Filter
InlineFilter:Controller::filterFilterName形式
实现自定义ClassFilter
Render输出
Auth Manager & Access Control
User
CWebUser(即核心组件user)配置项:
CWebUser主要方法
UserIdentity
AuthManager
Access Control
在Controller中配置Action Access规则
Controller中需实现的方法
Logging
Changes by
Yii Infrastructure
Afrikaans
Azərbaycan
Bahasa Indonesia
Bahasa Melayu
Català
Čeština
Cymraeg
Dansk
Deutsch
Schweizer Hochdeutsch
Eesti
English (Canada)
English (United Kingdom)
English (United States)
Español
Español (Latinoamérica)
Euskara
Filipino
Français
Français (Canada)
Galego
Hrvatski
Isizulu
Íslenska
Italiano
Kiswahili
Latviešu
Lietuvių
Magyar
Malti
မြန်မာစာ
Nederlands
Norsk (Nynorsk)
Norsk (Bokmål)
Polski
Português (Brasil)
Português (Portugal)
Română
Slovenčina
Slovenščina
Suomi
Svenska
Tiếng Việt
Türkçe
беларуская
Български
Қазақ
Монгол
Русский
Српски
Українська
Ελληνικά
հայերեն
עברית
اردو
العربية
فارسی
नेपाली
मराठी
हिन्दी
বাংলা
ਪੰਜਾਬੀ
ગુજરાતી
தமிழ்
తెలుగు
ಕನ್ನಡ
മലയാളം
සිංහල
ไทย
ລາວ
ქართულად
አማርኛ
ខ្មែរ
中文(中国)
中文(台灣)
中文(香港)
日本語
한국어
N
ew
►
O
pen
Ctrl+O
Make a
c
opy
Save as Google Docs
(
U
)
S
hare
►
E
mail
►
D
ownload
►
Approvals
New
(
F2
)
Unlock
(
J
)
R
ename
M
ove
Add shortcut to Drive
(
,
)
Move
t
o trash
Version
h
istory
►
Ma
k
e available offline
Details
(
B
)
Securit
y
limitations
L
anguage
►
Pa
g
e setup
Print pre
v
iew
P
rint
Ctrl+P
U
ndo
Ctrl+Z
R
edo
Ctrl+Y
Cu
t
Ctrl+X
C
opy
Ctrl+C
Copy as Markdown
(
V
)
P
aste
Ctrl+V
Paste with
o
ut formatting
Ctrl+Shift+V
Paste from Markdown
(
Q
)
Select
a
ll
Ctrl+A
M
ode
►
Comments
(
D
)
►
Expand tabs &
o
utlines sidebar
Ctrl+Alt+A Ctrl+Alt+H
Co
l
lapse tabs & outlines sidebar
Ctrl+Alt+A Ctrl+Alt+H
Text
w
idth
►
Show
p
rint layout
Show outli
n
e
S
how non-printing characters
Ctrl+Shift+P
Show
i
ncreased menu spacing
Show mar
k
ups
Z
oom
►
F
u
ll screen
S
pelling and grammar
►
W
ord count
Ctrl+Shift+C
Review s
u
ggested edits
Ctrl+Alt+O Ctrl+Alt+U
Co
m
pare documents
Citations
(
K
)
Line numbers
(
F1
)
Explo
r
e
Ctrl+Alt+Shift+I
L
inked objects
D
ictionary
Ctrl+Shift+Y
T
ranslate document
V
oice typing
Ctrl+Shift+S
N
o
tification settings
P
references
A
c
cessibility
Activity dashboard
(
Z
)
Activit
y
dashboard
Search the
m
enus
Alt+/
Docs
H
elp
T
raining
U
pdates
Help Docs imp
r
ove
Report
a
buse
P
rivacy Policy
Term
s
of Service
K
eyboard shortcuts
Ctrl+/
Verbalize to
s
creen reader
►
E
d
its
►
C
omments
►
Foot
n
ote
►
H
eadings
►
G
raphics
►
L
ist
►
Lin
k
►
T
able
►
Sect
i
on
►
T
a
bs
►
M
isspelling
►
F
o
rmatting
►
B
ookmarks
►
Show liv
e
edits
Ctrl+Alt+Shift+R
Turn on screen reader support
Link copied to clipboard
To enable screen reader support, press Ctrl+Alt+Z To learn about keyboard shortcuts, press Ctrl+slash
None
Date
Dropdown
File
People
Choose emoji
Clear emoji
Add subtab
Delete
Duplicate
Rename
Choose emoji
Copy link
Show outline
Hide outline
Move up
Move down
Move into
►
Document details
Unable to get the details at this time.
More fonts
Amatic SC
Caveat
Comfortaa
Courier New
EB Garamond
Lexend
Lobster
Lora
Merriweather
Montserrat
Nunito
Oswald
Pacifico
Playfair Display
Roboto
Roboto Mono
Roboto Serif
Sans Serif
Serif
Spectral
Building blocks
Save time and optimize your workflow with building blocks
Building blocks are reusable, customizable, and integrated with Workspace
Featured
Communication
Meetings
Project management
Contact lists
Public on the web
Anyone on the Internet can find and access. No sign-in required.
Copy link
Copy link to this time
Quick sharing actions
Original email
R
eply with this file
O
pen original message
Compose new message
Em
a
il this file
E
mail collaborators
Email
d
raft
« Close preview
Print
Since you last viewed
Since you last approved
Since approval started