Example #1
0
File: TXT.php Project: elemenofi/lb
 private function PROCESS__Words($Words, $Words_N, $iLines)
 {
     $Value_P = $Words[0];
     $Type_P = new ccTXT__Type($Value_P);
     for ($iWord = 1; $iWord < $Words_N; $iWord++) {
         $Value_C = $Words[$iWord];
         $Type_C = new ccTXT__Type($Value_C);
         if ($Type_C->Has_Signs__Only() === true || $Type_C->Is_Equal__To__Ignore_Signs($Type_P) === true) {
             $Value_P .= $Value_C;
             continue;
         }
         $this->__construct__Phrase($Value_P, $iLines);
         $this->__construct__Delimiter__Add("");
         $Value_P = $Value_C;
         $Type_P = $Type_C;
     }
     if ($Value_P !== "") {
         $this->__construct__Phrase($Value_P, $iLines);
         $this->__construct__Delimiter__Add("");
     }
 }