Closed patricknelson closed 9 years ago
FYI @wilr I'm noticing that I'm not calling alterDataList in all the appropriate spots. I'll move my...
$this->extend("alterDataList", $instances, $class);
... lower down so it gets called properly after the instances
is set outside of that group of if
statements. Sorry I missed that.
Ok -- put that into a separate commit. Give this a shot and let me know what you think!
Bump @wilr did you get a chance to review yet? It shouldn't be a dramatic shift as the only major difference is the incorporation of new methods into the API. No official deprecation notices (i.e. via user_notice
), just using old school @deprecated
and etc.
All good. Thanks @patricknelson. Tests pass so happy for this to be merged.
Fix (or adding new functionality) for #90
I also did some minor touch up of return documentation and return values. In this case, I just setup an empty string return at the end of
get_frequency_for_class()
. I'd do more but that would be much more out of scope for this issue/PR plus I don't have much time to look into that.Anyway, here's an example for how you'd make use of this feature:
config.yaml
mysite/code/GoogleSitemapCustomExtension.php