Closed GoogleCodeExporter closed 9 years ago
This is not how HtmlSimpleColumn
works. The userFunction
("getYear
" in your example) is meant to be a function on the $data
that's passed to getCellText
. This $data
is of type MusicItem
.
getYear
is not an existing method on MusicItem
. You could add it. The implementation of that method would pull the actual date/year from the ID3 tag information ($getId3FileInfo
in MusicItem
, and there's plenty of examples in MusicItem
of how to access the ID3 tag information).
Look into the getid3/getid3/
folder to know which ID3 tag information may be available. You may want to look in module.tag.id3v....php
.
Original issue reported on code.google.com by
ptrista...@gmail.com
on 18 Feb 2015 at 7:44