parameters: (self, budget_line, matrixbox=0)
return_statement: return [[i[0] for i in node_item_list if i[0] in variation_category_list]]
docstring: The cell range added by this variation
docstring_summary: The cell range added by this variation
docstring_tokens: The cell range added by this variation
function: def getCellRangeForBudgetLine(self, budget_line, matrixbox=0):
      """The cell range added by this variation
      """
      base_category = self.getProperty('variation_base_category')
      prefix = ''
      if base_category:
        prefix = '%s/' % base_category
  
      node_item_list = [('%s%s' % (prefix, node.getRelativeUrl()),
                         self._getNodeTitle(node))
                             for node in self._getNodeList(budget_line)]
      variation_category_list = budget_line.getVariationCategoryList()
      if matrixbox:
        return [[i for i in node_item_list if i[0] in variation_category_list]]
      return [[i[0] for i in node_item_list if i[0] in variation_category_list]]
function_tokens: def getCellRangeForBudgetLine ( self , budget_line , matrixbox = 0 ) : base_category = self . getProperty ( 'variation_base_category' ) prefix = '' if base_category : prefix = '%s/' % base_category node_item_list = [ ( '%s%s' % ( prefix , node . getRelativeUrl ( ) ) , self . _getNodeTitle ( node ) ) for node in self . _getNodeList ( budget_line ) ] variation_category_list = budget_line . getVariationCategoryList ( ) if matrixbox : return [ [ i for i in node_item_list if i [ 0 ] in variation_category_list ] ] return [ [ i [ 0 ] for i in node_item_list if i [ 0 ] in variation_category_list ] ]