Extending a Helper

Permalink
I'm trying to extend the Validation/Strings helper to add a couple functions of my own, but I'm not quite sure how. I thought all I needed to do was:

<?php
class SiteValidationStringsHelper extends ValidationStringsHelper {
//my functions
}
?>


But it doesn't seem to work. When I call Loader::helper('validation/strings') and then call one of my functions, it gives me an error saying the function is undefined. Anyone know the correct syntax for doing this?

Benji
 
Benji replied on at Permalink Reply
Benji
Oops, nevermind. It works.