src/MvcCore/Ext/View/Helpers/LineBreaksHelper.php
public function SetWeekWords ($weekWords, $lang = '') {
		if (!$lang) $lang = $this->lang;
		if (is_array($weekWords)) {
			$this->weekWords[$lang] = $weekWords;
		} else {
			$this->weekWords[$lang] = explode(',', (string) $weekWords);
		}
		return $this;
	}
public function SetWeekWords ($weekWords, $lang = '') {
		if (!$lang) $lang = $this->lang;
		if (is_array($weekWords)) {
			$this->weekWords[$lang] = $weekWords;
		} else {
			$this->weekWords[$lang] = explode(',', (string) $weekWords);
		}
		return $this;
	}
public function SetWeekWords ( $ weekWords , $ lang = '' ) { if ( ! $ lang ) $ lang = $ this -> lang ; if ( is_array ( $ weekWords ) ) { $ this -> weekWords [ $ lang ] = $ weekWords ; } else { $ this -> weekWords [ $ lang ] = explode ( ',' , ( string ) $ weekWords ) ; } return $ this ; }
Set weak words, where you need to place a HTML space entity,
to not break line after each configured weak word in processing text.
All words has to be configured as single string with all weak words
separated by comma character without any space.
@param \string[]|string $weekWords all weak words as array of strings or string separated by comma character
@param string $lang optional, international language code
@return \MvcCore\Ext\Views\Helpers\LineBreaksHelper
Set weak words where you need to place a HTML space entity to not break line after each configured weak word in processing text . All words has to be configured as single string with all weak words separated by comma character without any space .