Whitebeam Template Reference Documentation

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

Whitebeam Template Reference Documentation

System Template

count()

Gets a count of file fragments matching the search criteria.

See Also

rb.file.get()   

Syntax

number = rb.file.count(fileSearch)

Parameters

The 'count' method takes 1 parameter:

Name Type/Value Range/Length Description
fileSearchstruct fileSearchTypesee definition

Results

The 'count' method returns number:

Type/Value Range/Length Description
number 0.. Number of files satisfying search criteria.

Remarks

This method pre-determines the number of file fragments to expect from get. NOTE: the result is the number of fragments. If you want to know how many unique fileIDs exist then leave bit 1 of allData clear.

Whitebeam release 1.3.36
(loadtime : 61ms)