Lines Matching refs:wordwrap
174 * Oh, and you can decide how big the indent is and what the wordwrap
178 * Indent's default is 2 spaces, wordwrap's default is 40 characters. And
179 * you can turn off wordwrap by passing in 0.
185 * @param int $wordwrap Pass in 0 for no wordwrap, false for default (40)
187 public static function YAMLDump($array,$indent = false,$wordwrap = false) {
189 return $spyc->dump($array,$indent,$wordwrap);
200 * Oh, and you can decide how big the indent is and what the wordwrap
204 * Indent's default is 2 spaces, wordwrap's default is 40 characters. And
205 * you can turn off wordwrap by passing in 0.
211 * @param int $wordwrap Pass in 0 for no wordwrap, false for default (40)
213 public function dump($array,$indent = false,$wordwrap = false) {
224 if ($wordwrap === false or !is_numeric($wordwrap)) {
227 $this->_dumpWordWrap = $wordwrap;
375 // Don't do anything if wordwrap is set to 0
380 $wrapped = wordwrap($value,$this->_dumpWordWrap,"\n$indent");