209 def key(self, column): |
209 def key(self, column): |
210 """ |
210 """ |
211 Public method generating the key for this item. |
211 Public method generating the key for this item. |
212 |
212 |
213 @param column the column to sort on (integer) |
213 @param column the column to sort on (integer) |
|
214 @return key of the item (string) |
214 """ |
215 """ |
215 if column == 0: |
216 if column == 0: |
216 return self.arrayElementKey |
217 return self.arrayElementKey |
217 else: |
218 else: |
218 return VariableItem.key(self, column) |
219 return VariableItem.key(self, column) |
247 def key(self, column): |
248 def key(self, column): |
248 """ |
249 """ |
249 Public method generating the key for this item. |
250 Public method generating the key for this item. |
250 |
251 |
251 @param column the column to sort on (integer) |
252 @param column the column to sort on (integer) |
|
253 @return key of the item (string) |
252 """ |
254 """ |
253 if column == 0: |
255 if column == 0: |
254 return self.arrayElementKey |
256 return self.arrayElementKey |
255 else: |
257 else: |
256 return SpecialVarItem.key(self, column) |
258 return SpecialVarItem.key(self, column) |