Exemplo n.º 1
0
?>
</div>
        <div><span class="tag">邮箱:</span><?php 
echo $classdoc["email"];
?>
</div>
    </div>
    <?php 
//遍历所有的方法
foreach ($methods as $m) {
    //判断是公有的方法 并且不是继承来的方法
    if ($m->isPublic() && $m->class == $class) {
        $doc = $m->getDocComment();
        $params = $objDoc->getDocParams($doc);
        $returns = $objDoc->getDocReturns($doc);
        $keys = $objDoc->getDocReturnKeys($doc);
        ?>


            <h3><?php 
        echo $m->getName();
        ?>
</h3>
            <h4><?php 
        echo $objDoc->title($doc);
        ?>
</h4>
            <div>url</div>
            <div class="block">
                <div>/test.php?c=Doc\demo&f=<?php 
        echo $m->getName();