Icarus Class: View
Information about an SRS view including templates used to produce that view.
name Attribute may stay unnamed in attribute list.Attribute value must be specified.
printName  
  The print name of the view. Used in the www interface. If there is no print name then the view name is used. This can be handy for giving the view a longer, more meaningful name and also for presenting similar, but different views for different databases with the same name.
format  Attribute has a default value. table
  Use one of the following values. table list
  The view can either be of table or list type. If the view is a table the table headers in a web page are the names of the $LoadAttr's in the associated object loader.
showChunks  Attribute has a default value. y
  Use one of the following values. y n
  If more than 30 (or the number of entries to show) then a list of chunks to go to is shown at the bottom of the www page. Some views dont want those chunks (certainly in the case of some graphical views).
sideBarInfo  
  Use one of the following values. side top none customiseSide customiseTop
  The side bar info contains information and further action submit buttons. Normally this is shown in the yellow column on the side of the web page, but sometime we want it on the top.
showCommon  
  Use one of the following values. y n
  When building a view via the view manager on the SRS web interface, one question is whether to only allow users to select fields which are common to the databanks selected as the "root" databanks of the view.
objLoader LoadClass  
  The loader which the view uses to load the appropriate data from the token tables. Since this is of type path, the specification of the loader currently must take the form $SRSDB.loader_variable_name.
layout  
  Instead of, or as well as, automatically generating the table or list view from the object loader and loaded object, the programmer can insert an icarus script which will be executed when this view is called. The script must be in "DO" form, i.e. layout:@{ icarus script }. A useful way to allow for large scripts is to put the script in a seperate file (e.g. swissentry.il) and define layout as layout:@{ $FileDo:["SRSDB:swissentry.il" shareNames:y]}. The set resulting from the script and the loaded object are available in the variables $set and $entries respectively for use in the icarus script.
printEntryList  Attribute has a default value. y
  Use one of the following values. y n
  If there is a layout script and the programmer does not wish to print out the automatically generated table or view then set this to 0.
toStr
This method either calls the layout script of the view after setting the set or entries to be $set and $entries respectively. A string, the result of the layout script, is returned.
set Set Argument may stayunnamed in argument list. 
The set of entries to print.
entries  
The loaded object to print.
Returns a value