For example this meta tag
Quote
<meta content="en" name="language" />
should be transformed into
Quote
<meta name="language" content="en" />
qiang mentioned in one of my feature requests:
Quote
We usually only change private variables to protected or public per user request with
sufficient reasons. We may choose to refactor the code, instead, if that works better.
sufficient reasons. We may choose to refactor the code, instead, if that works better.
In this case I don't think at all it's a sufficient reason and also I don't think the way Yii generates the meta tags will be changed upon request (because it's already very short and clear code).
So my question is (as a OOP and framework beginner), what's the reason for all the private attributes that could be protected in order to make things more extendable? I know what I'm trying to accomplish in this case is very trivial and one may don't understand the need for it. But that's not the case, I think a framework should give the developer the freedom to extend everything IF it's easy possible to implement. A protected attribute is very easy so I don't get it.
Anyone? Maybe qiang himself?

Help
















