FOF30\View\View::loadHelper PHP Method

loadHelper() public method

Load a helper file
Deprecation: 3.0 Just use the class in your code. That's what the autoloader is for.
public loadHelper ( string $helperClass = null ) : void
$helperClass string The last part of the name of the helper class.
return void
    public function loadHelper($helperClass = null)
    {
        // Get the helper class name
        $className = '\\' . $this->container->getNamespacePrefix() . 'Helper\\' . ucfirst($helperClass);
        // This trick autoloads the helper class. We can't instantiate it as
        // helpers are (supposed to be) abstract classes with static method
        // interfaces.
        class_exists($className);
    }