From e591d56a09ca75cfdf4c17f2aa08ecd70d8f6c44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dariusz=20G=C3=B3recki?= Date: Fri, 28 Jan 2011 15:23:21 +0100 Subject: [PATCH] Finish release v1.3.6 --- EMongoDocument.php | 3 ++- EMongoModifier.php | 6 +++--- README.mkd | 1 + doc/input/en/advanced.partial-batch-update.txt | 3 +-- doc/input/en/changelog.txt | 1 + 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/EMongoDocument.php b/EMongoDocument.php index 749d4421..d00ef35e 100644 --- a/EMongoDocument.php +++ b/EMongoDocument.php @@ -695,13 +695,14 @@ public function update(array $attributes=null, $modify = false) /** * Atomic, in-place update method. * + * @since v1.3.6 * @param EMongoModifier $modifier updating rules to apply * @param EMongoCriteria $criteria condition to limit updating rules * @return bool */ public function updateAll($modifier, $criteria=null) { Yii::trace(get_class($this).'.updateAll()','ext.MongoDb.EMongoDocument'); - if($modifier->canApply === true) + if($modifier->canApply === true) { $this->applyScopes($criteria); if(version_compare(Mongo::VERSION, '1.0.5','>=') === true) diff --git a/EMongoModifier.php b/EMongoModifier.php index 4a8d4192..a43dbab3 100644 --- a/EMongoModifier.php +++ b/EMongoModifier.php @@ -24,12 +24,12 @@ * For modifiers list {@see EMongoModifier::$modifiers} * * @author Philippe Gaultier - * @since xxx + * @since v1.3.6 */ class EMongoModifier extends CComponent { /** - * @since xxx + * @since v1.3.6 * @var array $modifiers supported modifiers */ public static $modifiers = array( @@ -66,7 +66,7 @@ class EMongoModifier extends CComponent * ); * * @param array $modifier basic definition of modifiers - * @since xxx + * @since v1.3.6 */ public function __construct($modifier=null) { diff --git a/README.mkd b/README.mkd index 16a034fb..90adfb42 100644 --- a/README.mkd +++ b/README.mkd @@ -19,6 +19,7 @@ This is the 1.3.6 release - Documentation corrects - **Added `EMongoPartialDocument` class, that supports full-featured partial loading of documents from DB** - **Added fixtures manager, that can replace the Yii default one, and work with Mongo model** +- **Ability to do massive [partial updates of multiple documents][advanced.partial-batch-update]** ## The Key Feature List: diff --git a/doc/input/en/advanced.partial-batch-update.txt b/doc/input/en/advanced.partial-batch-update.txt index e1acc439..5443189a 100644 --- a/doc/input/en/advanced.partial-batch-update.txt +++ b/doc/input/en/advanced.partial-batch-update.txt @@ -1,10 +1,9 @@ Title: Massive Partial Updates -ShortTitle: Massive Partial updates Author: Philippe Gaultier --- -Since the `v1.x.x` You can perform *partial updates* of multiple documents. +Since the `v1.3.6` You can perform *partial updates* of multiple documents. ~~~ [php] diff --git a/doc/input/en/changelog.txt b/doc/input/en/changelog.txt index f294003f..1e745aad 100644 --- a/doc/input/en/changelog.txt +++ b/doc/input/en/changelog.txt @@ -11,6 +11,7 @@ New features in 1.3.6 - Documentation corrects - **Added `EMongoPartialDocument` class, that supports full-featured partial loading of documents from DB** - **Added fixtures manager, that can replace the Yii default one, and work with Mongo model** +- **Ability to do massive [partial updates of multiple documents][advanced.partial-batch-update]** New features in 1.3.5