private static function build_row($lead_id, $atts) { ?> <tbody> <tr> <?php GFPDFEWidgetsAndShortcode_Shortcode::get_lead_row($lead_id, $atts, self::$fields); ?> <td><a href="<?php echo $atts['action']; ?> "><?php echo $atts['text']; ?> </a></td> </tr> </tbody> <?php }
private static function build_columns($atts) { /* * Get our form object */ $form = self::$form; /* * start buffering */ ob_start(); ?> <thead> <tr> <?php GFPDFEWidgetsAndShortcode_Shortcode::get_column_name($atts, self::$fields); if ($atts['pdf']) { /* * Add blank cell for our PDF header */ ?> <th class="gfpdfePdfHeader"></th> <?php } /* * Add blank cell for our 'edit' header */ if ($atts['edit'] === true) { ?> <th class="gfpdfePdfEditHeader"></th> <?php } ?> </tr> </thead> <?php $html = ob_get_clean(); return $html; }