original_string: public function printItems(...$items)
      {
          $args = func_get_args();
  
          if (count($args) == 0) {
              $args = $this->items;
          }
  
          for ($i = 0; $i < sizeof($args); $i++) {
              $data = $args[$i];
  
              if (is_array($data)) {
                  $this->printLabelValuePairs($data);
              } elseif (is_object($data)) {
                  print $data;
              } else {
                  $value = $this->generateValue($data);
  
                  if ($value !== false && $value !== null) {
                      print $value;
                  } else {
                      print $this->parseStringAsTemplate($data);
                  }
              }
          }
      }
code: public function printItems(...$items)
      {
          $args = func_get_args();
  
          if (count($args) == 0) {
              $args = $this->items;
          }
  
          for ($i = 0; $i < sizeof($args); $i++) {
              $data = $args[$i];
  
              if (is_array($data)) {
                  $this->printLabelValuePairs($data);
              } elseif (is_object($data)) {
                  print $data;
              } else {
                  $value = $this->generateValue($data);
  
                  if ($value !== false && $value !== null) {
                      print $value;
                  } else {
                      print $this->parseStringAsTemplate($data);
                  }
              }
          }
      }
code_tokens: public function printItems ( ... $ items ) { $ args = func_get_args ( ) ; if ( count ( $ args ) == 0 ) { $ args = $ this -> items ; } for ( $ i = 0 ; $ i < sizeof ( $ args ) ; $ i ++ ) { $ data = $ args [ $ i ] ; if ( is_array ( $ data ) ) { $ this -> printLabelValuePairs ( $ data ) ; } elseif ( is_object ( $ data ) ) { print $ data ; } else { $ value = $ this -> generateValue ( $ data ) ; if ( $ value !== false && $ value !== null ) { print $ value ; } else { print $ this -> parseStringAsTemplate ( $ data ) ; } } } }
docstring: Prints the items in a layout.
  
  @param $items
docstring_tokens: Prints the items in a layout .