/** * Populate the history of entries for the form field if the storage module handles history. * @param I2CE_FormField $form_field * @return boolean */ public function FF_populateHistory($form_field) { if ($form_field instanceof I2CE_FormField_STRING_PASS) { return false; } if ($form_field->hasAttribute('populated_history') && $form_field->getAttribute('populated_history')) { return true; } $storageMechanism = self::getStorageMechanism($form_field->getContainer()->getName()); if (!$storageMechanism) { return false; } $form_field->setAttribute('populated_history', 1); return $storageMechanism->FF_populateHistory($form_field); }