public function getGroupList() { $grouplist = VividProductGroupList::getGroupList(); $this->set("grouplist", $grouplist); }
public function groups() { $grouplist = VividProductGroupList::getGroupList(); $this->set("grouplist", $grouplist); $pkg = Package::getByHandle('vivid_store'); $packagePath = $pkg->getRelativePath(); $this->addHeaderItem(Core::make('helper/html')->css($packagePath . '/css/vividStoreDashboard.css')); $this->addFooterItem(Core::make('helper/html')->javascript($packagePath . '/js/vividStoreFunctions.js')); }
public function groups() { $grouplist = VividProductGroupList::getGroupList(); $this->set("grouplist", $grouplist); $this->requireAsset('css', 'vividStoreDashboard'); $this->requireAsset('javascript', 'vividStoreFunctions'); }