コード例 #1
0
ファイル: git2json.php プロジェクト: arasbm/gitualizer
        foreach ($this->nodeList as $node) {
            echo "<tr><td>";
            echo $node->id . "</td><td>";
            echo $node->author . "</td><td>";
            echo $node->authorEmail . "</td><td>N/A</td><td>";
            foreach ($node->parentList as $p) {
                echo "[" . $p . "]\n ";
            }
            echo "</td><td>";
            echo $node->commitDate . "</td><td>";
            echo $node->relativeDate . "</td><td>";
            foreach ($node->subsystem as $s) {
                echo "[" . $s . "]\n ";
            }
            echo "</td><td>";
            echo $node->modificationSum . "</td><td>";
        }
        echo "</table>";
    }
}
$extractor = new Extractor();
//	echo "Time ~ Position: ".$extractor->timePositionRatio."<br />";
$extractor->recCommitExtractor("e99cc29");
echo "<pre>";
$extractor->printJSON();
echo "</pre>";
?>
</div>
</body>
</html>