public function formElementClass(string $var_name = ''): string
    {
        return $this->data_slug.($var_name ? '-'.$this->c::nameToSlug($var_name) : '');
    }
public function formElementClass(string $var_name = ''): string
    {
        return $this->data_slug.($var_name ? '-'.$this->c::nameToSlug($var_name) : '');
    }
public function formElementClass ( string $ var_name = '' ) : string { return $ this -> data_slug . ( $ var_name ? '-' . $ this -> c :: nameToSlug ( $ var_name ) : '' ) ; }
Data form element class.

@since 160608 ReST utils.

@param string $var_name Data var name.

@return string Data form element class.
Data form element class .