Global.helma.Search.Document.prototype.getFields ()
Returns the fields of a document object.

  • Returns
    An array containing all fields in this document object.
Sourcecode in /home/hannes/helma/modules/helma/Search.js:
1125:   helma.Search.Document.prototype.getFields = function() {
1126:       var e = this.getDocument().fields();
1127:       var result = [];
1128:       while (e.hasMoreElements()) {
1129:           result.push(this.getField(e.nextElement().name()));
1130:       }
1131:       return result;
1132:   }