示例#1
0
 private function sources($path, $showAll = false, $highlight = 0, $linesBeforeAndAfter = 10)
 {
     ob_start();
     DfErrorHandler::showSources($path, $showAll, $highlight, $linesBeforeAndAfter);
     $data = ob_get_contents();
     ob_end_clean();
     return $data;
 }
示例#2
0
                                                </a>
                                            </h4>
                                        </div>
                                        <div id="accordion<?php 
        echo $id;
        ?>
" class="panel-collapse collapse"
                                             role="tabpanel"
                                             aria-labelledby="heading<?php 
        echo $id;
        ?>
">
                                            <div class="panel-body">
                                                <table class="table table-borderless table-condensed">
                                                    <?php 
        DfErrorHandler::showSources($call['file'], false, $call['line']);
        ?>
                                                </table>
                                            </div>
                                        </div>
                                    </div>
                                <?php 
    }
    ?>
                            <?php 
}
?>
                        </div>
                    </div>
                </div>
            </div>