original_string: public function getStoreCategoriesAjax()
      {
          if (!$this->access('category')) {
              return array('error' => $this->text('No access'));
          }
  
          $options = array(
              'store_id' => $this->getPosted('store_id', $this->store->getDefault())
          );
  
          return $this->getCategoryOptionsByStore($this->category, $this->category_group, $options);
      }
code: public function getStoreCategoriesAjax()
      {
          if (!$this->access('category')) {
              return array('error' => $this->text('No access'));
          }
  
          $options = array(
              'store_id' => $this->getPosted('store_id', $this->store->getDefault())
          );
  
          return $this->getCategoryOptionsByStore($this->category, $this->category_group, $options);
      }
code_tokens: public function getStoreCategoriesAjax ( ) { if ( ! $ this -> access ( 'category' ) ) { return array ( 'error' => $ this -> text ( 'No access' ) ) ; } $ options = array ( 'store_id' => $ this -> getPosted ( 'store_id' , $ this -> store -> getDefault ( ) ) ) ; return $ this -> getCategoryOptionsByStore ( $ this -> category , $ this -> category_group , $ options ) ; }
docstring: Returns an array of store categories
  @return array
docstring_tokens: Returns an array of store categories