SOURCE CODE: Uize.Templates.Collection
VIEW REFERENCE

/*
  This is an automatically generated module, compiled from the JavaScript template file:
    Uize.Templates.Collection.js.jst
*/

Uize.module ({
  name:'Uize.Templates.Collection',
  builder:function () {
    var _package = function () {};

    /*** Public Static Methods ***/
      _package.process = function (input) {
        var output = [];
        /* Module Meta Data
          type: Template
          importance: 2
          codeCompleteness: 100
          testCompleteness: 0
          docCompleteness: 100
        */
        /*?
          Introduction
            The =Uize.Templates.Collection= module generates HTML that can be used for instances of the =Uize.Widget.Collection= class.

            *DEVELOPERS:* `Chris van Rensburg`

            The =Uize.Templates.Collection= module is a JavaScript Template Module that is automatically generated by a build script from a companion =Uize.Templates.Collection.js.jst= JavaScript Template (.jst) file.

          Public Static Methods
            Uize.Templates.Collection.process
              Returns a string, being the generated HTML that is to be used by an instance of the =Uize.Widget.Collection= class (or subclass).

              SYNTAX
              ...........................................................
              widgetHtmlSTR = Uize.Templates.Collection.process (inputOBJ);
              ...........................................................

              The value of the =inputOBJ= parameter should be an object of the form...

              ........................
              {
                idPrefix: idPrefixSTR
              }
              ........................

              idPrefix
                A string, specifying the value of the =idPrefix= state property of the widget instance that uses this module to generate its HTML.

          Public Static Properties
            Uize.Templates.Collection.input
              An object, describing the allowed properties of the =inputOBJ= parameter of the =Uize.Templates.Collection.process= static method.
        */
        output.push ('<div id="',input .idPrefix,'-tooltipDragToReorder" class="genericTooltip">Drag and drop selected items to reorganize</div>\r\n<div id="',input .idPrefix,'-tooltipDragging" class="genericTooltip"></div>\r\n<div id="',input .idPrefix,'-insertionMarker" class="collectionInsertionMarker">&nbsp;</div>\r\n<div class="collectionToolbar">\r\n  <a id="',input .idPrefix,'_selectAll" class="button">SELECT ALL</a>\r\n  <a id="',input .idPrefix,'_selectNone" class="button">SELECT NONE</a>\r\n  <a id="',input .idPrefix,'_remove" class="button">REMOVE</a>\r\n</div>\r\n<div id="',input .idPrefix,'-items" class="collectionView">\r\n</div>\r\n\r\n');
        return output.join ('');
      };

    /*** Public Static Properties ***/
      _package.input = {
        idPrefix:'string'
      };

    return _package;
  }
});