There is only one getElementsByClassName(element, className) (similar to document.getElementsByClassName()) function.
getElementsByClassName(element, className)
document.getElementsByClassName()