original_string: public function addFormField($type, $params = array()) {
      $namespace = "\\iJos\\iForms\\Fields\\" . ucfirst($type);
      $field = new $namespace( $params );
      array_push($this -> form_fields, $field);
    }
code: public function addFormField($type, $params = array()) {
      $namespace = "\\iJos\\iForms\\Fields\\" . ucfirst($type);
      $field = new $namespace( $params );
      array_push($this -> form_fields, $field);
    }
code_tokens: public function addFormField ( $ type , $ params = array ( ) ) { $ namespace = "\\iJos\\iForms\\Fields\\" . ucfirst ( $ type ) ; $ field = new $ namespace ( $ params ) ; array_push ( $ this -> form_fields , $ field ) ; }
docstring: Add a Field to the curent form
  
  @param string $type
  @param array $params
docstring_tokens: Add a Field to the curent form