parameters: (self)
return_statement: return stat_column_list
docstring: Return the stat columns. Fall back to all the columns if empty.
docstring_summary: Return the stat columns. Fall back to all the columns if empty.
docstring_tokens: Return the stat columns . Fall back to all the columns if empty .
function: def getStatColumnList(self):
      """Return the stat columns. Fall back to all the columns if empty.
      """
      stat_columns = self.field.get_value('stat_columns')
      if stat_columns:
        stat_column_list = [(str(c[0]), unicode(c[1], self.getEncoding())) for c in stat_columns]
      else:
        stat_column_list = [(c[0], c[0]) for c in self.getAllColumnList()]
      return stat_column_list
function_tokens: def getStatColumnList ( self ) : stat_columns = self . field . get_value ( 'stat_columns' ) if stat_columns : stat_column_list = [ ( str ( c [ 0 ] ) , unicode ( c [ 1 ] , self . getEncoding ( ) ) ) for c in stat_columns ] else : stat_column_list = [ ( c [ 0 ] , c [ 0 ] ) for c in self . getAllColumnList ( ) ] return stat_column_list