original_string: public static function getSqlValueForEnum($colname, $enumVal)
      {
          $values = RemoteAppPeer::getValueSet($colname);
          if (!in_array($enumVal, $values)) {
              throw new PropelException(sprintf('Value "%s" is not accepted in this enumerated column', $colname));
          }
  
          return array_search($enumVal, $values);
      }
code: public static function getSqlValueForEnum($colname, $enumVal)
      {
          $values = RemoteAppPeer::getValueSet($colname);
          if (!in_array($enumVal, $values)) {
              throw new PropelException(sprintf('Value "%s" is not accepted in this enumerated column', $colname));
          }
  
          return array_search($enumVal, $values);
      }
code_tokens: public static function getSqlValueForEnum ( $ colname , $ enumVal ) { $ values = RemoteAppPeer :: getValueSet ( $ colname ) ; if ( ! in_array ( $ enumVal , $ values ) ) { throw new PropelException ( sprintf ( 'Value "%s" is not accepted in this enumerated column' , $ colname ) ) ; } return array_search ( $ enumVal , $ values ) ; }
docstring: Gets the SQL value for the ENUM column value
  
  @param string $colname ENUM column name.
  @param string $enumVal ENUM value.
  
  @return int SQL value
docstring_tokens: Gets the SQL value for the ENUM column value