protected function setDataCategoriesEditPage()
    {
        $op = array('store_id' => $this->getData('page.store_id', $this->store->getDefault()));
        $categories = $this->getCategoryOptionsByStore($this->category, $this->category_group, $op);
        $this->setData('categories', $categories);
    }
protected function setDataCategoriesEditPage()
    {
        $op = array('store_id' => $this->getData('page.store_id', $this->store->getDefault()));
        $categories = $this->getCategoryOptionsByStore($this->category, $this->category_group, $op);
        $this->setData('categories', $categories);
    }
protected function setDataCategoriesEditPage ( ) { $ op = array ( 'store_id' => $ this -> getData ( 'page.store_id' , $ this -> store -> getDefault ( ) ) ) ; $ categories = $ this -> getCategoryOptionsByStore ( $ this -> category , $ this -> category_group , $ op ) ; $ this -> setData ( 'categories' , $ categories ) ; }
Adds list of categories on the page edit form
Adds list of categories on the page edit form