code: public function repeat(&$property, $repeatTag, $classes = '', $outerTag = false, $outerClasses = '')
      {
          if (isset($property)) {
              $output = '';
              if ($outerTag) { $output .= '<'.$outerTag.' class="'.$outerClasses.'">'; }
              if (is_array($property)) {
                  foreach ($property as $value) {
                      $output .= '<'.$repeatTag.' class="'.$classes.'">';
                      $output .= $value;
                      $output .= '</'.$repeatTag.'>';
                  }
              }
              else {
                  $output .= '<'.$repeatTag.' class="'.$classes.'">';
                  $output .= $property;
                  $output .= '</'.$repeatTag.'>';
              }
              if ($outerTag) { $output .= '</'.$outerTag.'>'; }
              echo $output;
          }
          else
              echo '';
      }
docs: For echo'ing data in Views that repeats.