ChangeUserVar

The Contact Form DB ChangeUserVar class.

Defined (1)

The class is defined in the following location(s).

/phpunit/CFDBFilterParserTest.php  
  1. class ChangeUserVar implements CFDBValueConverter { 
  2. public function convert($value) { 
  3. switch ($value) { 
  4. case '$user_login' : 
  5. return 'admin'; 
  6. case '$user_email' : 
  7. return 'mike@simpson-software-studio.com'; 
  8. default: 
  9. return $value;