original_string: public static function addModelField(TableMap $tableMap, ModelCriteria &$query, $field, $value = null)
      {
          if ($column = self::checkFieldExists($tableMap, $field)) {
              self::addQueryFilter($column, $query, $value);
          }
      }
code: public static function addModelField(TableMap $tableMap, ModelCriteria &$query, $field, $value = null)
      {
          if ($column = self::checkFieldExists($tableMap, $field)) {
              self::addQueryFilter($column, $query, $value);
          }
      }
code_tokens: public static function addModelField ( TableMap $ tableMap , ModelCriteria & $ query , $ field , $ value = null ) { if ( $ column = self :: checkFieldExists ( $ tableMap , $ field ) ) { self :: addQueryFilter ( $ column , $ query , $ value ) ; } }
docstring: Method that adds the fields for the model into the API Query
  @param TableMap $tableMap
  @param ModelCriteria $query
  @param string $field
  @param mixed $value
docstring_tokens: Method that adds the fields for the model into the API Query