protected function _setName($value)
    {
        $value = strip_tags($value);
        $value = str_replace(["\n", "\r"], '', $value);

        return trim($value);
    }
protected function _setName($value)
    {
        $value = strip_tags($value);
        $value = str_replace(["\n", "\r"], '', $value);

        return trim($value);
    }
protected function _setName ( $ value ) { $ value = strip_tags ( $ value ) ; $ value = str_replace ( [ "\n" , "\r" ] , '' , $ value ) ; return trim ( $ value ) ; }
Removes any invalid characters from term's name.

@param string $value Term's name
@return string
Removes any invalid characters from term s name .