Show Menu

Yii model methods

yafter­con­struct
yafter­delete
yafterfind
yaftersave
yafter­val­idate
yattri­but­elabels
ybefor­edelete
ybefor­efind
ybefor­esave
ybefor­eva­lidate
ybehaviors
ydefau­ltscope
yrelations
yrules
yscope
yscopes
yvalidator
 

Yii controller methods

yacces­srules
yaction
yactions
yafter­action
yafter­render
ybefor­eaction
ybefor­erender
ybehaviors
yfilters

Yii generic methods

yinit
yrun
 

Yii function calls

ya Yii::app()
ybu Yii::a­pp(­)->­baseUrl
yca Yii::a­pp(­)->­use­r->­che­ckA­ccess()
yd CVarDu­mpe­r::­dump()
ym ${mode­lCl­ass­}::­model()
yt Yii::t()
yu Yii::a­pp(­)->user
yurl Yii::a­pp(­)->­cre­ate­Url()

Yii view templates

ybegin­widget $this-­>be­gin­Widget
ybu Yii::a­pp(­)->­baseUrl
ywidget $this-­>wi­dge­t(...)
 

Share This Cheat Sheet!

Favourited by 2 Members:

webdevo Dranzz

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.