original_string: 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);
      }
code: 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);
      }
code_tokens: 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 ) ; }
docstring: Gets the value of a helper method from the helper method string
  
  @param $helperMethodString
  @param array|string $args
  
  @return mixed
docstring_tokens: Gets the value of a helper method from the helper method string