app/code/local/Aoe/Layout/Model/Layout.php
protected function getHelperMethodValue($helperMethodString, $args = null)
    {
        $helperName = explode('/', (string)$helperMethodString);
        $helperMethod = array_pop($helperName);
        $helperName = implode('/', $helperName);
        $helperArgs = [];

        if (!is_array($args)) {
            $helperArgs[] = $args;
        } else {
            $helperArgs = $args;
        }

        return call_user_func_array([Mage::helper($helperName), $helperMethod], $helperArgs);
    }
protected function getHelperMethodValue($helperMethodString, $args = null)
    {
        $helperName = explode('/', (string)$helperMethodString);
        $helperMethod = array_pop($helperName);
        $helperName = implode('/', $helperName);
        $helperArgs = [];

        if (!is_array($args)) {
            $helperArgs[] = $args;
        } else {
            $helperArgs = $args;
        }

        return call_user_func_array([Mage::helper($helperName), $helperMethod], $helperArgs);
    }
protected function getHelperMethodValue ( $ helperMethodString , $ args = null ) { $ helperName = explode ( '/' , ( string ) $ helperMethodString ) ; $ helperMethod = array_pop ( $ helperName ) ; $ helperName = implode ( '/' , $ helperName ) ; $ helperArgs = [ ] ; if ( ! is_array ( $ args ) ) { $ helperArgs [ ] = $ args ; } else { $ helperArgs = $ args ; } return call_user_func_array ( [ Mage :: helper ( $ helperName ) , $ helperMethod ] , $ helperArgs ) ; }
Gets the value of a helper method from the helper method string

@param $helperMethodString
@param array|string $args

@return mixed
Gets the value of a helper method from the helper method string