original_string: private function prefixModelAttributes($input, $model)
      {
          foreach (array_keys(get_object_vars($model)) as $attr) {
              $input = preg_replace('/\\b' . $attr . '\\b/', $this->table . ".$attr", $input);
          }
          return $input;
      }
code: private function prefixModelAttributes($input, $model)
      {
          foreach (array_keys(get_object_vars($model)) as $attr) {
              $input = preg_replace('/\\b' . $attr . '\\b/', $this->table . ".$attr", $input);
          }
          return $input;
      }
code_tokens: private function prefixModelAttributes ( $ input , $ model ) { foreach ( array_keys ( get_object_vars ( $ model ) ) as $ attr ) { $ input = preg_replace ( '/\\b' . $ attr . '\\b/' , $ this -> table . ".$attr" , $ input ) ; } return $ input ; }
docstring: Prefix model attributes with the associated table name.
  
  @param string $input     Input string.
  @param object $model     Model instance.
  
  @return string           String with table-prefixed attributes.
docstring_tokens: Prefix model attributes with the associated table name .