Each ViewHelper is a standalone class, if that method myMethod() is declared within this class, make it static private static function myMethod(){...} and call as self::myMethod();.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more