a:17:{s:9:"#provides";s:17:"dojox.form.Rating";s:9:"#resource";s:14:"form/Rating.js";s:9:"#requires";a:1:{i:0;a:3:{i:0;s:6:"common";i:1;s:22:"dijit.form._FormWidget";i:2;s:5:"dijit";}}s:17:"dojox.form.Rating";a:4:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:22:"dijit.form._FormWidget";}s:4:"call";a:1:{i:0;s:22:"dijit.form._FormWidget";}}s:7:"summary";s:114:"A widget for rating using stars. required: Boolean TODO: Can be true or false, default is false. required: false,";s:9:"classlike";b:1;}s:32:"dojox.form.Rating.templateString";a:2:{s:9:"prototype";s:17:"dojox.form.Rating";s:7:"summary";s:0:"";}s:26:"dojox.form.Rating.numStars";a:3:{s:9:"prototype";s:17:"dojox.form.Rating";s:4:"type";s:13:"Integer/Float";s:7:"summary";s:42:"The number of stars to show, default is 3.";}s:23:"dojox.form.Rating.value";a:3:{s:9:"prototype";s:17:"dojox.form.Rating";s:4:"type";s:13:"Integer/Float";s:7:"summary";s:31:"The current value of the Rating";}s:29:"dojox.form.Rating.constructor";a:2:{s:9:"prototype";s:17:"dojox.form.Rating";s:7:"summary";s:0:"";}s:28:"dojox.form.Rating.postCreate";a:4:{s:9:"prototype";s:17:"dojox.form.Rating";s:4:"type";s:8:"Function";s:6:"source";s:61:" this.inherited(arguments); this._renderStars(this.value);";s:7:"summary";s:0:"";}s:26:"dojox.form.Rating._onMouse";a:6:{s:9:"prototype";s:17:"dojox.form.Rating";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:3:"evt";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:228:" this.inherited(arguments); if(this._hovering){ var hoverValue = +dojo.attr(evt.target, "value"); this.onMouseOver(evt, hoverValue); this._renderStars(hoverValue, true); }else{ this._renderStars(this.value); }";s:7:"private";b:1;s:7:"summary";s:0:"";}s:30:"dojox.form.Rating._renderStars";a:6:{s:9:"prototype";s:17:"dojox.form.Rating";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:5:"value";a:1:{s:4:"type";s:0:"";}s:5:"hover";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:377:" dojo.query(".dojoxRatingStar", this.domNode).forEach(function(star, i){ if(i + 1 > value){ dojo.removeClass(star, "dojoxRatingStarHover"); dojo.removeClass(star, "dojoxRatingStarChecked"); }else{ dojo.removeClass(star, "dojoxRatingStar" + (hover ? "Checked" : "Hover")); dojo.addClass(star, "dojoxRatingStar" + (hover ? "Hover" : "Checked")); } });";s:7:"summary";s:40:"Render the stars depending on the value.";s:7:"private";b:1;}s:29:"dojox.form.Rating.onStarClick";a:2:{s:9:"prototype";s:17:"dojox.form.Rating";s:7:"summary";s:0:"";}s:29:"dojox.form.Rating.onMouseOver";a:4:{s:9:"prototype";s:17:"dojox.form.Rating";s:4:"type";s:8:"Function";s:6:"source";s:89:" // summary: Connect here, the value is passed to this function as the second parameter!";s:7:"summary";s:75:"Connect here, the value is passed to this function as the second parameter!";}s:30:"dojox.form.Rating.setAttribute";a:5:{s:9:"prototype";s:17:"dojox.form.Rating";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:3:"key";a:1:{s:4:"type";s:6:"String";}s:5:"value";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:179:" this.inherited("setAttribute", arguments); if (key=="value"){ this._renderStars(this.value); this.onChange(this.value); // Do I really have to call this by hand? :-( }";s:7:"summary";s:96:"When calling setAttribute("value", 4), set the value and render the stars accordingly.";}s:4:"this";a:2:{s:6:"mixins";a:1:{s:6:"normal";a:1:{i:0;s:6:"params";}}s:7:"summary";s:0:"";}s:10:"dojox.form";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:5:"dojox";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}