original_string: protected function callFunction($functionName)
      {
          $functionArgs = func_get_args();
          $params = array_splice($functionArgs, 1);
          
          foreach ($this->plugins as $plugin) {
              $functionList = $plugin->getFunctionList();
              if (in_array($functionName, $functionList) === true) {
                  return $plugin->callFunction($functionName, $params);
              }
          }
  
          throw new JigException("Function $functionName not known in plugins.");
      }
code: protected function callFunction($functionName)
      {
          $functionArgs = func_get_args();
          $params = array_splice($functionArgs, 1);
          
          foreach ($this->plugins as $plugin) {
              $functionList = $plugin->getFunctionList();
              if (in_array($functionName, $functionList) === true) {
                  return $plugin->callFunction($functionName, $params);
              }
          }
  
          throw new JigException("Function $functionName not known in plugins.");
      }
code_tokens: protected function callFunction ( $ functionName ) { $ functionArgs = func_get_args ( ) ; $ params = array_splice ( $ functionArgs , 1 ) ; foreach ( $ this -> plugins as $ plugin ) { $ functionList = $ plugin -> getFunctionList ( ) ; if ( in_array ( $ functionName , $ functionList ) === true ) { return $ plugin -> callFunction ( $ functionName , $ params ) ; } } throw new JigException ( "Function $functionName not known in plugins." ) ; }
docstring: Used to call a function in a template
  @param $functionName
  @return mixed
  @throws JigException
docstring_tokens: Used to call a function in a template