original_string: protected function controlAccessProduct()
      {
  
          if (empty($this->data_product['store_id']) || $this->data_product['store_id'] != $this->store_id) {
              $this->outputHttpStatus(403);
          }
  
          if (empty($this->data_product['status']) && !$this->access('product')) {
              $this->outputHttpStatus(403);
          }
      }
code: protected function controlAccessProduct()
      {
  
          if (empty($this->data_product['store_id']) || $this->data_product['store_id'] != $this->store_id) {
              $this->outputHttpStatus(403);
          }
  
          if (empty($this->data_product['status']) && !$this->access('product')) {
              $this->outputHttpStatus(403);
          }
      }
code_tokens: protected function controlAccessProduct ( ) { if ( empty ( $ this -> data_product [ 'store_id' ] ) || $ this -> data_product [ 'store_id' ] != $ this -> store_id ) { $ this -> outputHttpStatus ( 403 ) ; } if ( empty ( $ this -> data_product [ 'status' ] ) && ! $ this -> access ( 'product' ) ) { $ this -> outputHttpStatus ( 403 ) ; } }
docstring: Controls access to the product
docstring_tokens: Controls access to the product