function Controller(){require("alloy/controllers/BaseController").apply(this,Array.prototype.slice.call(arguments)),this.__controllerPath="filterTableRow",arguments[0]?arguments[0].__parentSymbol:null,arguments[0]?arguments[0].$model:null,arguments[0]?arguments[0].__itemTemplate:null;var e=this,l={};e.__views.filterTableRow=Ti.UI.createTableViewRow({backgroundColor:Alloy.CFG.colors.darkBlue,color:Alloy.CFG.colors.white,height:48,className:"filterTableRow",id:"filterTableRow"}),e.__views.filterTableRow&&e.addTopLevelView(e.__views.filterTableRow),e.__views.title=Ti.UI.createLabel({font:{fontSize:16,fontFamily:Alloy.CFG.fonts.default},color:Alloy.CFG.colors.white,left:15,id:"title"}),e.__views.filterTableRow.add(e.__views.title),l.destroy=function(){},_.extend(e,e.__views);var t=require("helpers"),o=arguments[0]||{};switch(o.type){case"section":e.filterTableRow.sectionId=o.id;break;case"competition":e.filterTableRow.competitionId=o.id;break;default:t.e("invalid filter row type")}e.title.text=o.title,_.extend(e,l)}var Alloy=require("alloy"),Backbone=Alloy.Backbone,_=Alloy._;module.exports=Controller;