Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
$config = new Zend_Config_Ini(
    APPLICATION_PATH.'/configs/web.ini',
    'development'
);
$db = Zend_Db::factory($config->resources->multidb->webshop);

$query = "select fname, lname, email from vw_prodpart
where product_id IN (57,58,59) and order_status NOT IN ('canceled', 'unpaid', 'pending', 'refund')";

$participants = $db->query($query)->fetchAll();

Technical

Init

Every participant gets an email with a link containing a UUID. The link initializes their feedback session during which the UUID value is mapped to a feedback_id. This id is used for authentication. Only users with a valid and existing UUID code can provide feedback.
See: Core_Model_Feedback::_init()

...