Commits

Jon Langevin  committed ca69246

Added todo

  • Participants
  • Parent commits f362fa4

Comments (0)

Files changed (1)

File Document.php

     public function setAttributes($values, $safeOnly = true) {
         if (!is_array($values))
             return;
+        /**
+         * @todo Intersect keys from $values against attribute names, to properly mark attributes as modified
+         */
         $this->_modifiedAttributes += $safeOnly ? $this->getSafeAttributeNames() : $this->attributeNames();
         return parent::setAttributes($values, $safeOnly);
     }