Yii Framework Forum: Gii And Protected Functions - Yii Framework Forum

Jump to content

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

Gii And Protected Functions Rate Topic: -----

#1 User is offline   Denis Seghetti 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 26
  • Joined: 05-January 13

Posted 26 November 2013 - 03:44 AM

Gii build classes full of public functions. I think it would be correct to set as "private" functions like rules() or attributeLabels(). Is it right?
0

#2 User is offline   nineinchnick 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 622
  • Joined: 12-September 11
  • Location:Bialystok, Poland

Posted 26 November 2013 - 10:48 AM

You wouldn't be able to read the labels from the views.
Don't be a dick.
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