One More Parameter In The Model() Static Method

Do you believe it would be a convenience to have another parameter in the model static method ( model() ) by which to be able to declare a scenario such as :


MyModel::model('create')->update();

Usually update/insert is done for new objects or objects got from database so it makes little difference in this case.

Also the model static method is being dropped in yii 2.0 as I recall.

Correct. I just read it a couple of days ago so please disregard