Content deleted Content added
use getter methods and override them for the Status class instead of overriding the exportHtml method |
implement Row:getData (needs bug-fixing) |
||
Line 124:
obj.isSmall = data.isSmall
return obj
end
function Row:getData(articleHistoryObj)
if self.data == false then
return nil
elseif self.data then
return self.data
end
if not self.makeData then
self.data = false
return nil
end
local data = self.makeData(articleHistoryObj)
self.data = data or false
return data
end
|