Yii Framework Forum: Folder For Filters Or Rules - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Folder For Filters Or Rules Rate Topic: -----

#1 User is offline   sanat 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 34
  • Joined: 26-September 12
  • Location:Caracas, Venezuela

Posted 13 February 2013 - 08:49 PM

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
0

#2 User is offline   rootbear 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 222
  • Joined: 17-June 11

Posted 13 February 2013 - 11:31 PM

View Postsanat, 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


filter / authorization goes to /protected/controllers folder, eg. SiteController.php
data rule goes to /protected/models, eg. LoginForm.php

check out yii demo blog ...
I enjoy the Yii.sy coding life here.
0

#3 User is offline   sanat 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 34
  • Joined: 26-September 12
  • Location:Caracas, Venezuela

Posted 14 February 2013 - 04:31 PM

Thanks Rootbear
Thanks Community
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users