original_string: public function getCategories($conditions = array(), $options = array())
      {
          $conditions += array(
              'status' => 1,
              'type' => 'catalog',
              'store_id' => $this->store_id
          );
  
          $options += array(
              'entity' => 'category',
              'imagestyle' => $this->configTheme('image_style_category_child', 3));
  
          $categories = $this->category->getTree($conditions);
          $this->prepareEntityItems($categories, $options);
          return $categories;
      }
code: public function getCategories($conditions = array(), $options = array())
      {
          $conditions += array(
              'status' => 1,
              'type' => 'catalog',
              'store_id' => $this->store_id
          );
  
          $options += array(
              'entity' => 'category',
              'imagestyle' => $this->configTheme('image_style_category_child', 3));
  
          $categories = $this->category->getTree($conditions);
          $this->prepareEntityItems($categories, $options);
          return $categories;
      }
code_tokens: public function getCategories ( $ conditions = array ( ) , $ options = array ( ) ) { $ conditions += array ( 'status' => 1 , 'type' => 'catalog' , 'store_id' => $ this -> store_id ) ; $ options += array ( 'entity' => 'category' , 'imagestyle' => $ this -> configTheme ( 'image_style_category_child' , 3 ) ) ; $ categories = $ this -> category -> getTree ( $ conditions ) ; $ this -> prepareEntityItems ( $ categories , $ options ) ; return $ categories ; }
docstring: Returns an array of prepared categories
  @param array $conditions
  @param array $options
  @return array
docstring_tokens: Returns an array of prepared categories