public function addFormField($type, $params = array()) {
    $namespace = "\\iJos\\iForms\\Fields\\" . ucfirst($type);
    $field = new $namespace( $params );
    array_push($this -> form_fields, $field);
  }