Hi Community,
I´m newbie in YII, so my question is very simple: in which folder I will save my php file containing a filter or a rule?
Thanks in advance
Page 1 of 1
Folder For Filters Or Rules
#2
Posted 13 February 2013 - 11:31 PM
sanat, on 13 February 2013 - 08:49 PM, said:
Hi Community,
I´m newbie in YII, so my question is very simple: in which folder I will save my php file containing a filter or a rule?
Thanks in advance
I´m newbie in YII, so my question is very simple: in which folder I will save my php file containing a filter or a rule?
Thanks in advance
filter / authorization goes to /protected/controllers folder, eg. SiteController.php
data rule goes to /protected/models, eg. LoginForm.php
check out yii demo blog ...
when i ask, if my question does not make sense, don't blame on me, coz i am new here to learn yii;
when i answer, if my answer does not make sense, don't blame on me, coz i am trying to answer to be answered;
ok, i'm covered to mess up and fooling around, yeehaw ...
when i answer, if my answer does not make sense, don't blame on me, coz i am trying to answer to be answered;
ok, i'm covered to mess up and fooling around, yeehaw ...
Share this topic:
Page 1 of 1

Help














