
Version 1.0.9
A few hours ago, the release of the next, as always long-awaited, release of the Yii framework 1.0.9 was announced.
As always, briefly consider a few noteworthy innovations.
References in the text lead to appropriate places in the documentation.
And here is the link to changelog .
As always, briefly consider a few noteworthy innovations.
- Added CActiveRecord :: beforeFind method and onBeforeFind event.
- Added CActiveRecord :: deleteAllByAttributes method for more convenient and flexible deletion
- Increased lazy loading speed by avoiding JOINs where possible.
- It is allowed to use the slash character in the address suffix when the strict parsing mode is enabled
- Added CApplication :: timeZone property
- Improved AR speed by skipping events if there are no listeners for these events.
- Added methods CLocale :: getMonthNames and CLocale :: getWeekDayNames , which return the names of the months and days of the week, respectively. Moreover, they return in a different form: extended, shortened, and in the form of an abbreviation.
- The CDbCriteria :: addCondition () method has been added , which allows you to attach new conditions to existing ones.
References in the text lead to appropriate places in the documentation.
And here is the link to changelog .