original_string: public static function setDutchSsn(\MUtil_Model_ModelAbstract $model, \Zend_Translate_Adapter $translator, $fieldName = 'grs_ssn')
      {
          $bsn = new \MUtil_Validate_Dutch_Burgerservicenummer();
  
          $model->set($fieldName,
                  'size', 10,
                  'maxlength', 12,
                  'filter', new \MUtil_Filter_Dutch_Burgerservicenummer(),
                  'validators[bsn]', $bsn);
  
          if (APPLICATION_ENV !== 'production') {
              $num = mt_rand(100000000, 999999999);
  
              while (! $bsn->isValid($num)) {
                  $num++;
              }
  
              $model->set($fieldName, 'description', sprintf($translator->_('Random Example BSN: %s'), $num));
          } else {
              $model->set($fieldName, 'description', $translator->_('Enter a 9-digit SSN number.'));
          }
      }
code: public static function setDutchSsn(\MUtil_Model_ModelAbstract $model, \Zend_Translate_Adapter $translator, $fieldName = 'grs_ssn')
      {
          $bsn = new \MUtil_Validate_Dutch_Burgerservicenummer();
  
          $model->set($fieldName,
                  'size', 10,
                  'maxlength', 12,
                  'filter', new \MUtil_Filter_Dutch_Burgerservicenummer(),
                  'validators[bsn]', $bsn);
  
          if (APPLICATION_ENV !== 'production') {
              $num = mt_rand(100000000, 999999999);
  
              while (! $bsn->isValid($num)) {
                  $num++;
              }
  
              $model->set($fieldName, 'description', sprintf($translator->_('Random Example BSN: %s'), $num));
          } else {
              $model->set($fieldName, 'description', $translator->_('Enter a 9-digit SSN number.'));
          }
      }
code_tokens: public static function setDutchSsn ( \ MUtil_Model_ModelAbstract $ model , \ Zend_Translate_Adapter $ translator , $ fieldName = 'grs_ssn' ) { $ bsn = new \ MUtil_Validate_Dutch_Burgerservicenummer ( ) ; $ model -> set ( $ fieldName , 'size' , 10 , 'maxlength' , 12 , 'filter' , new \ MUtil_Filter_Dutch_Burgerservicenummer ( ) , 'validators[bsn]' , $ bsn ) ; if ( APPLICATION_ENV !== 'production' ) { $ num = mt_rand ( 100000000 , 999999999 ) ; while ( ! $ bsn -> isValid ( $ num ) ) { $ num ++ ; } $ model -> set ( $ fieldName , 'description' , sprintf ( $ translator -> _ ( 'Random Example BSN: %s' ) , $ num ) ) ; } else { $ model -> set ( $ fieldName , 'description' , $ translator -> _ ( 'Enter a 9-digit SSN number.' ) ) ; } }
docstring: Set the field values for a dutch social security number
  
  @param \MUtil_Model_ModelAbstract $model
  @param \Zend_Translate_Adapter $translator
  @param string $fieldName
docstring_tokens: Set the field values for a dutch social security number