_init('blog/comment', 'comment_id'); } public function load(Mage_Core_Model_Abstract $object, $value, $field=null) { if (strcmp($value, (int) $value) !== 0) { $field = 'post_id'; } return parent::load($object, $value, $field); } }