Methods
arrayContains(arr, elem)
Helper for browser compatibility. TODO: test indexOf and see what closure compiler translates it too and if it augments the Array prototype if the function is missing. (run tests in IE6)
- Source:
 
Parameters:
| Name | Type | Description | 
|---|---|---|
arr | 
            
            
            
                
Array.<string>
            
             | 
            
            
            |
elem | 
            
            
            
                
string
            
             | 
            
            
            
convertToImageSerieInfo(bump_serie) → {spv.ds.ImageSerieInfo}
Convert internal representation of image serie to the exposed type
- Source:
 
Parameters:
| Name | Type | Description | 
|---|---|---|
bump_serie | 
            
            
            
                
spv.ds.impl.BumpSerie
            
             | 
            
            
            
Returns:
- Type:
 - 
        
spv.ds.ImageSerieInfo 
convertToInternalTextMapCollection(bump) → {InternalTextMapCollection}
- Source:
 
Parameters:
| Name | Type | Description | 
|---|---|---|
bump | 
            
            
            
                
spv.ds.impl.Bump
            
             | 
            
            
            
Returns:
convertToInternalTextMapCollections(init_data) → {Object.<string, InternalTextMapCollection>}
Convert init data to collection of faster text lookup objects
- Source:
 
Parameters:
| Name | Type | Description | 
|---|---|---|
init_data | 
            
            
            
                
spv.ds.impl.SessionInitData
            
             | 
            
            
            
Returns:
- Type:
 - 
        
Object.<string, InternalTextMapCollection> 
getBump(sid, category_id) → {spv.ds.impl.Bump}
- Source:
 
Parameters:
| Name | Type | Description | 
|---|---|---|
sid | 
            
            
            
                
spv.ds.impl.SessionInitData
            
             | 
            
            
            |
category_id | 
            
            
            
                
string
            
             | 
            
            
            
Returns:
- Type:
 - 
        
spv.ds.impl.Bump 
getCategoryIds(sid) → {Array.<string>}
- Source:
 
Parameters:
| Name | Type | Description | 
|---|---|---|
sid | 
            
            
            
                
spv.ds.impl.SessionInitData
            
             | 
            
            
            
Returns:
- Type:
 - 
        
Array.<string>