The next release of the wonderful framework Yii saw the world on August 9th. Already a month has passed, and another release has been released. But a review is a review, and better later than never. Among the ten fixes and about thirty innovations, let's pay attention to the most interesting:
In the rules CUrlManager appeared option defaultParams , which allows you to set default values for GET parameters
Added Russian translations of error message templates.
Added method CActiveRecord :: refreshMetaData () , which updates the meta-data for the AR-class. This is useful if the structure of the table in the database has been changed in the process. Be sure to call CDbSchema :: refresh before this method. Otherwise, you will continue to use the old table structure.
The CCache :: mget () method has been added to support getting multiple values from the cache in one request. Some caches, for example, memcache, apc, support this feature, which allows you to increase productivity by reducing the cost of unnecessary requests to the cache. If a cache does not support such a function, it will be simulated.