ObjectName */ public $Uses = array('BadgeModel'); public function Initialize() { parent::Initialize(); $this->Head = new HeadModule($this); $this->AddJsFile('jquery.js'); $this->AddJsFile('jquery-ui.js'); $this->AddJsFile('jquery.livequery.js'); $this->AddJsFile('jquery.popup.js'); $this->AddJsFile('global.js'); $this->AddCssFile('style.css'); } /** * Render a blank page if no methods were specified in dispatch */ public function Index() { $this->All(); } /** * This renders out the full list of badges */ public function All() { $this->Title(T('Best of Everything')); $Module = new PromotedContentModule(); $Module->Selector = 'Score'; $this->SetData('Module', $Module); $this->Title(T('Best Of')); $this->Render('all'); } }