Angel Guevara

Results 48 comments of Angel Guevara

For example I need all my links on the nav to contain a CSS class. Its exactly the same use case for `ActiveForm::fieldConfig` property.

@samdark i understand, thats just an example. Besides as I said `ActiveForm::fieldConfig` do exists for the same reason.

i was checking this, the attribute name is `generateLabelsFromComments`. if we include the option to genereate doc from comments it won't be intuitive by that name, specially for the commands....

@samdark can we have something like that shipped in gii?

@samdark can we have this for 2.0.7?

@cebe what do you think on https://github.com/yiisoft/yii2-gii/pull/70/files#diff-4704dd066f5268da66c24cb6ef42b0e3R66 ? Should we make a huge `switch` with a case for every possible type of validator?

@samdark i made a commit with a mock up on how the switch will look like. what do you think about it? and how do you wanna add it to...

@samdark @cebe I think its ready to get tested http://pastie.org/10669273 here is an example of what I get with one of my most complex models

> how to expand this to your own validators. with your suggestion of the static property i don't know how to do it myself

i was thinking on having 2 templates. default template (the one being used right now) and php7 template. That way when the code is being generated the user can choose...