public function body_attributes($additionalclasses = array()) {
        if (!is_array($additionalclasses)) {
            $additionalclasses = explode(' ', $additionalclasses);
        }
        return ' id="'. $this->body_id().'" class="'.$this->body_css_classes($additionalclasses).'"';
    }
public function body_attributes($additionalclasses = array()) {
        if (!is_array($additionalclasses)) {
            $additionalclasses = explode(' ', $additionalclasses);
        }
        return ' id="'. $this->body_id().'" class="'.$this->body_css_classes($additionalclasses).'"';
    }
public function body_attributes ( $ additionalclasses = array ( ) ) { if ( ! is_array ( $ additionalclasses ) ) { $ additionalclasses = explode ( ' ' , $ additionalclasses ) ; } return ' id="' . $ this -> body_id ( ) . '" class="' . $ this -> body_css_classes ( $ additionalclasses ) . '"' ; }
Returns HTML attributes to use within the body tag. This includes an ID and classes.

@since Moodle 2.5.1 2.6
@param string|array $additionalclasses Any additional classes to give the body tag,
@return string
Returns HTML attributes to use within the body tag . This includes an ID and classes .