original_string: public function get_field_select($table, $return, $select, array $params=null, $strictness=IGNORE_MISSING) {
          if ($select) {
              $select = "WHERE $select";
          }
          try {
              return $this->get_field_sql("SELECT $return FROM {" . $table . "} $select", $params, $strictness);
          } catch (dml_missing_record_exception $e) {
              // create new exception which will contain correct table name
              throw new dml_missing_record_exception($table, $e->sql, $e->params);
          }
      }
code: public function get_field_select($table, $return, $select, array $params=null, $strictness=IGNORE_MISSING) {
          if ($select) {
              $select = "WHERE $select";
          }
          try {
              return $this->get_field_sql("SELECT $return FROM {" . $table . "} $select", $params, $strictness);
          } catch (dml_missing_record_exception $e) {
              // create new exception which will contain correct table name
              throw new dml_missing_record_exception($table, $e->sql, $e->params);
          }
      }
code_tokens: public function get_field_select ( $ table , $ return , $ select , array $ params = null , $ strictness = IGNORE_MISSING ) { if ( $ select ) { $ select = "WHERE $select" ; } try { return $ this -> get_field_sql ( "SELECT $return FROM {" . $ table . "} $select" , $ params , $ strictness ) ; } catch ( dml_missing_record_exception $ e ) { // create new exception which will contain correct table name throw new dml_missing_record_exception ( $ table , $ e -> sql , $ e -> params ) ; } }
docstring: Get a single field value from a table record which match a particular WHERE clause.
  
  @param string $table the table to query.
  @param string $return the field to return the value of.
  @param string $select A fragment of SQL to be used in a where clause returning one row with one column
  @param array $params array of sql parameters
  @param int $strictness IGNORE_MISSING means compatible mode, false returned if record not found, debug message if more found;
  IGNORE_MULTIPLE means return first, ignore multiple records found(not recommended);
  MUST_EXIST means throw exception if no record or multiple records found
  @return mixed the specified value false if not found
  @throws dml_exception A DML specific exception is thrown for any errors.
docstring_tokens: Get a single field value from a table record which match a particular WHERE clause .