Пример #1
0
<?php

// vim: set ts=4 sw=4 tw=99 et:
require __DIR__ . '/header.php';
require __DIR__ . '/type_helpers.php';
$Data = json_decode($PageFunction['data'], true);
$Parameters = $Data['params'];
$OtherTags = array();
$TypesToLookup = $Parameters;
if (isset($Data['return'])) {
    $TypesToLookup[] = ['type' => $Data['return']['type']];
}
if (!empty($TypesToLookup)) {
    $Types = LookupTypes($TypesToLookup);
}
foreach ($Data['tags'] as $Tag) {
    $OtherTags[] = $Tag;
}
?>

<ol class="breadcrumb">
    <li><a href="<?php 
echo $BaseURL . $CurrentOpenFile;
?>
"><?php 
echo $CurrentOpenFile;
?>
.inc</a></li>
<?php 
if (isset($PageFunction['class_name'])) {
    ?>
Пример #2
0
<?php

// vim: set ts=4 sw=4 tw=99 et:
require __DIR__ . '/header.php';
require __DIR__ . '/type_helpers.php';
$Data = json_decode($PageProperty['data'], true);
$Types = LookupTypes([$PageProperty]);
$Type = NormalizeType($PageProperty['type']);
?>

<ol class="breadcrumb">
    <li><a href="<?php 
echo $BaseURL . $CurrentOpenFile;
?>
"><?php 
echo $CurrentOpenFile;
?>
.inc</a></li>
    <li>Classes</li>
    <li><a href="<?php 
echo htmlspecialchars($BaseURL . $CurrentOpenFile . '/' . $PageProperty['class_name']);
?>
"><?php 
echo htmlspecialchars($PageProperty['class_name']);
?>
</a></li>
    <li>Properties</li>
    <li class="active"><?php 
echo htmlspecialchars($PageProperty['name']);
?>
</li>
Пример #3
0
        echo '<a href="' . $URL . '">' . htmlspecialchars($Method['name']) . '</a>';
        echo '</td>';
        echo '<td>';
        RenderDescription($Method['brief'], true);
        echo '</td></tr>';
    }
    ?>
        </table>
    </div>
<?php 
}
?>

<?php 
if (!empty($PageClass['properties'])) {
    $Types = LookupTypes($PageClass['properties']);
    ?>
    <h4 class="sub-header2">Properties <span class="badge"><?php 
    echo count($PageClass['properties']);
    ?>
</span></h4>
    
    <div class="table-responsive">
        <table class="table table-bordered table-hover">
            <thead>
                <tr>
                    <th>Name</th>
                    <th>Type</th>
                    <th>Description</th>
                </tr>
            </thead>