Yii Framework Forum: Logic In Mvc - Yii Framework Forum

Jump to content

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

Logic In Mvc Rate Topic: -----

#1 User is offline   bpiviqd 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 10
  • Joined: 25-June 14

Posted 04 July 2014 - 03:17 AM

If there is a case like this,

There is A, B role in web forum. Role A can only see 1,2,3. Role B can only see 4,5,6.

Is that is called bussiness logic? And where should I put that, in model, view or in controller?
0

#2 User is offline   afnwork 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 24
  • Joined: 09-May 12

Posted 04 July 2014 - 04:17 AM

... or Filter ;)
0

#3 User is offline   bpiviqd 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 10
  • Joined: 25-June 14

Posted 04 July 2014 - 05:24 AM

ok thanks, I'll read that
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