Updated for v0.7.0

This commit is contained in:
Gregory Oschwald 2014-07-22 09:30:38 -07:00
parent 165a8d6298
commit 1f60692531
14 changed files with 1118 additions and 0 deletions

161
doc/v0.7.0/index.html Normal file
View File

@ -0,0 +1,161 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
<title>GeoIP2 PHP API v0.7.0</title>
<script type="text/javascript" src="resources/combined.js"></script>
<script type="text/javascript" src="elementlist.js"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
</head>
<body>
<div id="left">
<div id="menu">
<span>Overview</span>
<div id="groups">
<h3>Namespaces</h3>
<ul>
<li><a href="namespace-GeoIp2.html">GeoIp2<span></span></a>
<ul>
<li><a href="namespace-GeoIp2.Database.html">Database</a>
</li>
<li><a href="namespace-GeoIp2.Exception.html">Exception</a>
</li>
<li><a href="namespace-GeoIp2.Model.html">Model</a>
</li>
<li><a href="namespace-GeoIp2.Record.html">Record</a>
</li>
<li><a href="namespace-GeoIp2.WebService.html">WebService</a>
</li>
</ul></li>
<li><a href="namespace-PHP.html">PHP</a>
</li>
</ul>
</div>
<hr>
<div id="elements">
<h3>Classes</h3>
<ul>
<li><a href="class-GeoIp2.Database.Reader.html">GeoIp2\Database\Reader</a></li>
<li><a href="class-GeoIp2.Model.City.html">GeoIp2\Model\City</a></li>
<li><a href="class-GeoIp2.Model.ConnectionType.html">GeoIp2\Model\ConnectionType</a></li>
<li><a href="class-GeoIp2.Model.Country.html">GeoIp2\Model\Country</a></li>
<li><a href="class-GeoIp2.Model.Domain.html">GeoIp2\Model\Domain</a></li>
<li><a href="class-GeoIp2.Model.Insights.html">GeoIp2\Model\Insights</a></li>
<li><a href="class-GeoIp2.Model.Isp.html">GeoIp2\Model\Isp</a></li>
<li><a href="class-GeoIp2.Record.AbstractPlaceRecord.html">GeoIp2\Record\AbstractPlaceRecord</a></li>
<li><a href="class-GeoIp2.Record.AbstractRecord.html">GeoIp2\Record\AbstractRecord</a></li>
<li><a href="class-GeoIp2.Record.City.html">GeoIp2\Record\City</a></li>
<li><a href="class-GeoIp2.Record.Continent.html">GeoIp2\Record\Continent</a></li>
<li><a href="class-GeoIp2.Record.Country.html">GeoIp2\Record\Country</a></li>
<li><a href="class-GeoIp2.Record.Location.html">GeoIp2\Record\Location</a></li>
<li><a href="class-GeoIp2.Record.MaxMind.html">GeoIp2\Record\MaxMind</a></li>
<li><a href="class-GeoIp2.Record.Postal.html">GeoIp2\Record\Postal</a></li>
<li><a href="class-GeoIp2.Record.RepresentedCountry.html">GeoIp2\Record\RepresentedCountry</a></li>
<li><a href="class-GeoIp2.Record.Subdivision.html">GeoIp2\Record\Subdivision</a></li>
<li><a href="class-GeoIp2.Record.Traits.html">GeoIp2\Record\Traits</a></li>
<li><a href="class-GeoIp2.WebService.Client.html">GeoIp2\WebService\Client</a></li>
</ul>
<h3>Interfaces</h3>
<ul>
<li><a href="class-GeoIp2.ProviderInterface.html">GeoIp2\ProviderInterface</a></li>
<li><a href="class-JsonSerializable.html">JsonSerializable</a></li>
</ul>
<h3>Exceptions</h3>
<ul>
<li><a href="class-Exception.html">Exception</a></li>
<li><a href="class-GeoIp2.Exception.AddressNotFoundException.html">GeoIp2\Exception\AddressNotFoundException</a></li>
<li><a href="class-GeoIp2.Exception.AuthenticationException.html">GeoIp2\Exception\AuthenticationException</a></li>
<li><a href="class-GeoIp2.Exception.GeoIp2Exception.html">GeoIp2\Exception\GeoIp2Exception</a></li>
<li><a href="class-GeoIp2.Exception.HttpException.html">GeoIp2\Exception\HttpException</a></li>
<li><a href="class-GeoIp2.Exception.InvalidRequestException.html">GeoIp2\Exception\InvalidRequestException</a></li>
<li><a href="class-GeoIp2.Exception.OutOfQueriesException.html">GeoIp2\Exception\OutOfQueriesException</a></li>
</ul>
</div>
</div>
</div>
<div id="splitter"></div>
<div id="right">
<div id="rightInner">
<form id="search">
<input type="hidden" name="cx" value="">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" class="text" autofocus>
<input type="submit" value="Search">
</form>
<div id="navigation">
<ul>
<li class="active">
<span>Overview</span> </li>
<li>
<span>Namespace</span> </li>
<li>
<span>Class</span> </li>
</ul>
<ul>
<li>
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
</li>
</ul>
<ul>
<li>
<a href="geoip2-php-api-v0-7-0-api-documentation.zip" title="Download documentation as ZIP archive"><span>Download</span></a>
</li>
</ul>
</div>
<div id="content">
<h1>GeoIP2 PHP API v0.7.0</h1>
<table class="summary" id="namespaces">
<caption>Namespaces summary</caption>
<tr>
<td class="name"><a href="namespace-GeoIp2.html">GeoIp2</a></td>
</tr>
<tr>
<td class="name"><a href="namespace-GeoIp2.Database.html">GeoIp2\Database</a></td>
</tr>
<tr>
<td class="name"><a href="namespace-GeoIp2.Exception.html">GeoIp2\Exception</a></td>
</tr>
<tr>
<td class="name"><a href="namespace-GeoIp2.Model.html">GeoIp2\Model</a></td>
</tr>
<tr>
<td class="name"><a href="namespace-GeoIp2.Record.html">GeoIp2\Record</a></td>
</tr>
<tr>
<td class="name"><a href="namespace-GeoIp2.WebService.html">GeoIp2\WebService</a></td>
</tr>
<tr>
<td class="name"><a href="namespace-PHP.html">PHP</a></td>
</tr>
</table>
</div>
<div id="footer">
GeoIP2 PHP API v0.7.0 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 B

View File

@ -0,0 +1,608 @@
/*!
* ApiGen 2.8.0 - API documentation generator for PHP 5.3+
*
* Copyright (c) 2010-2011 David Grudl (http://davidgrudl.com)
* Copyright (c) 2011-2012 Jaroslav Hanslík (https://github.com/kukulich)
* Copyright (c) 2011-2012 Ondřej Nešpor (https://github.com/Andrewsville)
*
* For the full copyright and license information, please view
* the file LICENSE.md that was distributed with this source code.
*/
body {
font: 13px/1.5 Verdana, 'Geneva CE', lucida, sans-serif;
margin: 0;
padding: 0;
background: #ffffff;
color: #333333;
}
h1, h2, h3, h4, caption {
font-family: 'Trebuchet MS', 'Geneva CE', lucida, sans-serif;
color: #053368;
}
h1 {
color: #1e5eb6;
font-size: 230%;
font-weight: normal;
margin: .3em 0;
}
h2 {
color: #1e5eb6;
font-size: 150%;
font-weight: normal;
margin: -.3em 0 .3em 0;
}
h3 {
font-size: 1.6em;
font-weight: normal;
margin-bottom: 2px;
}
h4 {
font-size: 100%;
font-weight: bold;
padding: 0;
margin: 0;
}
caption {
border: 1px solid #cccccc;
background: #ecede5;
font-weight: bold;
font-size: 1.2em;
padding: 3px 5px;
text-align: left;
margin-bottom: 0;
}
p {
margin: .7em 0 1em;
padding: 0;
}
hr {
margin: 2em 0 1em;
border: none;
border-top: 1px solid #cccccc;
height: 0;
}
a {
color: #006aeb;
padding: 3px 1px;
text-decoration: none;
}
h1 a {
color: #1e5eb6;
}
a:hover, a:active, a:focus, a:hover b, a:hover var {
background-color: #006aeb;
color: #ffffff !important;
}
code, var, pre {
font-family: monospace;
}
var {
font-weight: bold;
font-style: normal;
color: #ca8a04;
}
pre {
margin: 0;
}
code a b {
color: #000000;
}
.deprecated {
text-decoration: line-through;
}
.invalid {
color: #e71818;
}
.hidden {
display: none;
}
/* Left side */
#left {
overflow: auto;
width: 270px;
height: 100%;
position: fixed;
}
/* Menu */
#menu {
padding: 10px;
}
#menu ul {
list-style: none;
padding: 0;
margin: 0;
}
#menu ul ul {
padding-left: 10px;
}
#menu li {
white-space: nowrap;
position: relative;
}
#menu a {
display: block;
padding: 0 2px;
}
#menu .active > a, #menu > span {
color: #333333;
background: none;
font-weight: bold;
}
#menu .active > a.invalid {
color: #e71818;
}
#menu .active > a:hover, #menu .active > a:active, #menu .active > a:focus {
background-color: #006aeb;
}
#menu #groups span {
position: absolute;
top: 4px;
right: 2px;
cursor: pointer;
display: block;
width: 12px;
height: 12px;
background: url('collapsed.png') transparent 0 0 no-repeat;
}
#menu #groups span:hover {
background-position: -12px 0;
}
#menu #groups span.collapsed {
background-position: 0 -12px;
}
#menu #groups span.collapsed:hover {
background-position: -12px -12px;
}
#menu #groups ul.collapsed {
display: none;
}
/* Right side */
#right {
overflow: auto;
margin-left: 275px;
height: 100%;
position: fixed;
left: 0;
right: 0;
}
#rightInner {
max-width: 1000px;
min-width: 350px;
}
/* Search */
#search {
float: right;
margin: 3px 8px;
}
#search input.text {
padding: 3px 5px;
width: 250px;
}
/* Autocomplete */
.ac_results {
padding: 0;
border: 1px solid #cccccc;
background-color: #ffffff;
overflow: hidden;
z-index: 99999;
}
.ac_results ul {
width: 100%;
list-style-position: outside;
list-style: none;
padding: 0;
margin: 0;
}
.ac_results li {
margin: 0;
padding: 2px 5px;
cursor: default;
display: block;
font: 12px 'Trebuchet MS', 'Geneva CE', lucida, sans-serif;
line-height: 16px;
overflow: hidden;
white-space: nowrap;
}
.ac_results li strong {
color: #000000;
}
.ac_odd {
background-color: #eeeeee;
}
.ac_over {
background-color: #006aeb;
color: #ffffff;
}
.ac_results li.ac_over strong {
color: #ffffff;
}
/* Navigation */
#navigation {
padding: 3px 8px;
background-color: #f6f6f4;
height: 26px;
}
#navigation ul {
list-style: none;
margin: 0 8px 4px 0;
padding: 0;
overflow: hidden;
float: left;
}
#navigation ul + ul {
border-left: 1px solid #000000;
padding-left: 8px;
}
#navigation ul li {
float: left;
margin: 2px;
padding: 0 3px;
font-family: Verdana, 'Geneva CE', lucida, sans-serif;
color: #808080;
}
#navigation ul li.active {
background-color: #053368;
color: #ffffff;
font-weight: bold;
}
#navigation ul li a {
color: #000000;
font-weight: bold;
padding: 0;
}
#navigation ul li span {
float: left;
padding: 0 3px;
}
#navigation ul li a:hover span, #navigation ul li a:active span, #navigation ul li a:focus span {
background-color: #006aeb;
}
/* Content */
#content {
clear: both;
padding: 5px 15px;
}
.description pre {
padding: .6em;
background: #fcfcf7;
}
#content > .description {
background: #ecede5;
padding: 1px 8px;
margin: 1.2em 0;
}
#content > .description pre {
margin: .5em 0;
}
dl.tree {
margin: 1.2em 0;
}
dl.tree dd {
margin: 0;
padding: 0;
}
.info {
margin: 1.2em 0;
}
.summary {
border: 1px solid #cccccc;
border-collapse: collapse;
font-size: 1em;
width: 100%;
margin: 1.2em 0 2.4em;
}
.summary caption {
border-width: 1px 1px 0;
}
.summary caption.switchable {
background: #ecede5 url('sort.png') no-repeat center right;
cursor: pointer;
}
.summary td {
border: 1px solid #cccccc;
margin: 0;
padding: 3px 10px;
font-size: 1em;
vertical-align: top;
}
.summary td:first-child {
text-align: right;
}
#packages.summary td:first-child, #namespaces.summary td:first-child, .inherited.summary td:first-child, .used.summary td:first-child {
text-align: left;
}
.summary tr:hover td {
background: #f6f6f4;
}
.summary .description pre {
border: .5em solid #ecede5;
}
.summary .description p {
margin: 0;
}
.summary .description p + p, .summary .description ul {
margin: 3px 0 0 0;
}
.summary .description.detailed h4 {
margin-top: 3px;
}
.summary dl {
margin: 0;
}
.summary dd {
margin: 0 0 0 25px;
}
.name, .attributes {
white-space: nowrap;
}
.value {
white-space: pre-wrap;
}
td.name, td.attributes {
width: 1%;
}
.class #methods .name {
width: auto;
white-space: normal;
}
.class #methods .name > div > code {
white-space: pre-wrap;
}
.class #methods .name > div > code span, .function .value > code {
white-space: nowrap;
}
.class #methods td.name > div, .class td.description > div {
position: relative;
padding-right: 1em;
}
.anchor {
position: absolute;
top: 0;
right: 0;
line-height: 1;
font-size: 85%;
margin: 0;
color: #006aeb !important;
}
.list {
margin: 0 0 5px 25px;
}
div.invalid {
background-color: #fae4e0;
padding: 10px;
}
/* Splitter */
#splitter {
position: fixed;
height: 100%;
width: 5px;
left: 270px;
background: #1e5eb6 url('resize.png') left center no-repeat;
cursor: e-resize;
}
#splitter.active {
opacity: .5;
}
/* Footer */
#footer {
border-top: 1px solid #e9eeef;
clear: both;
color: #a7a7a7;
font-size: 8pt;
text-align: center;
padding: 20px 0 0;
margin: 3em 0 0;
height: 90px;
background: #ffffff url('footer.png') no-repeat center top;
}
/* Tree */
div.tree ul {
list-style: none;
background: url('tree-vertical.png') left repeat-y;
padding: 0;
margin-left: 20px;
}
div.tree li {
margin: 0;
padding: 0;
}
div.tree div {
padding-left: 30px;
}
div.tree div.notlast {
background: url('tree-hasnext.png') left 10px no-repeat;
}
div.tree div.last {
background: url('tree-last.png') left -240px no-repeat;
}
div.tree li.last {
background: url('tree-cleaner.png') left center repeat-y;
}
div.tree span.padding {
padding-left: 15px;
}
/* Source code */
.php-keyword1 {
color: #e71818;
font-weight: bold;
}
.php-keyword2 {
font-weight: bold;
}
.php-var {
color: #d59401;
font-weight: bold;
}
.php-num {
color: #cd0673;
}
.php-quote {
color: #008000;
}
.php-comment {
color: #929292;
}
.xlang {
color: #ff0000;
font-weight: bold;
}
span.l {
display: block;
}
span.l.selected {
background: #f6f6f4;
}
span.l a {
color: #333333;
}
span.l a:hover, div.l a:active, div.l a:focus {
background: transparent;
color: #333333 !important;
}
span.l .php-var a {
color: #d59401;
}
span.l .php-var a:hover, span.l .php-var a:active, span.l .php-var a:focus {
color: #d59401 !important;
}
span.l a.l {
padding-left: 2px;
color: #c0c0c0;
}
span.l a.l:hover, span.l a.l:active, span.l a.l:focus {
background: transparent;
color: #c0c0c0 !important;
}
#rightInner.medium #navigation {
height: 52px;
}
#rightInner.medium #navigation ul:first-child + ul {
clear: left;
border: none;
padding: 0;
}
#rightInner.medium .name, #rightInner.medium .attributes {
white-space: normal;
}
#rightInner.small #search {
float: left;
}
#rightInner.small #navigation {
height: 78px;
}
#rightInner.small #navigation ul:first-child {
clear: both;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 B

View File

@ -0,0 +1,25 @@
<?php
// source: /home/greg/MaxMind/GeoIP2-php/vendor/apigen/apigen/templates/default/combined.js.latte
// prolog Latte\Macros\CoreMacros
list($_b, $_g, $_l) = $template->initialize('0944293590', 'js')
;
// prolog Nette\Bridges\ApplicationLatte\UIMacros
// snippets support
if (empty($_l->extends) && !empty($_control->snippetMode)) {
return Nette\Bridges\ApplicationLatte\UIMacros::renderSnippets($_control, $_b, get_defined_vars());
}
//
// main template
// ?>
var ApiGen = ApiGen || {};
ApiGen.config = <?php echo Latte\Runtime\Filters::escapeJs($config->template) ?>;
<?php $scripts = array('jquery.min.js', 'jquery.cookie.js', 'jquery.sprintf.js', 'jquery.autocomplete.js', 'jquery.sortElements.js', 'main.js') ;$dir = dirname($template->getFile()) ?>
<?php $iterations = 0; foreach ($scripts as $script) { echo file_get_contents("$dir/js/$script") ?>
<?php $iterations++; }

View File

@ -0,0 +1,243 @@
<?php
// source: /home/greg/MaxMind/GeoIP2-php/vendor/apigen/apigen/templates/default/@layout.latte
// prolog Latte\Macros\CoreMacros
list($_b, $_g, $_l) = $template->initialize('1412581350', 'html')
;
// prolog Latte\Macros\BlockMacros
//
// block group
//
if (!function_exists($_b->blocks['group'][] = '_lbbad2058b9c_group')) { function _lbbad2058b9c_group($_b, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v
?> <ul>
<?php $iterations = 0; foreach ($iterator = $_l->its[] = new Latte\Runtime\CachingIterator($groups) as $group) { $nextLevel = substr_count($iterator->nextValue, '\\') > substr_count($group, '\\') ?>
<li<?php if ($_l->tmp = array_filter(array($actualGroup === $group || 0 === strpos($actualGroup, $group . '\\') ? 'active' : NULL, $config->main && 0 === strpos($group, $config->main) ? 'main' : NULL))) echo ' class="' . Latte\Runtime\Filters::escapeHtml(implode(" ", array_unique($_l->tmp)), ENT_COMPAT) . '"' ?>
><a href="<?php echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($template->groupUrl($group)), ENT_COMPAT) ?>
"><?php echo Latte\Runtime\Filters::escapeHtml($template->subgroupName($group), ENT_NOQUOTES) ;if ($nextLevel) { ?>
<span></span><?php } ?></a>
<?php if ($nextLevel) { ?>
<ul>
<?php } else { ?>
</li>
<?php if (substr_count($iterator->nextValue, '\\') < substr_count($group, '\\')) { ?>
<?php echo $template->repeat('</ul></li>', substr_count($group, '\\') - substr_count($iterator->nextValue, '\\')) ?>
<?php } } $iterations++; } array_pop($_l->its); $iterator = end($_l->its) ?>
</ul>
<?php
}}
//
// block elements
//
if (!function_exists($_b->blocks['elements'][] = '_lb8a2c7303ac_elements')) { function _lb8a2c7303ac_elements($_b, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v
?> <ul>
<?php $iterations = 0; foreach ($elements as $element) { ?> <li<?php if ($_l->tmp = array_filter(array($activeElement === $element ? 'active' : NULL))) echo ' class="' . Latte\Runtime\Filters::escapeHtml(implode(" ", array_unique($_l->tmp)), ENT_COMPAT) . '"' ?>
><a href="<?php echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($template->elementUrl($element)), ENT_COMPAT) ?>
"<?php if ($_l->tmp = array_filter(array($element->deprecated ? 'deprecated' : NULL, !$element->valid ? 'invalid' : NULL))) echo ' class="' . Latte\Runtime\Filters::escapeHtml(implode(" ", array_unique($_l->tmp)), ENT_COMPAT) . '"' ?>
><?php if ($namespace) { echo Latte\Runtime\Filters::escapeHtml($element->shortName, ENT_NOQUOTES) ;} else { echo Latte\Runtime\Filters::escapeHtml($element->name, ENT_NOQUOTES) ;} ?></a></li>
<?php $iterations++; } ?>
</ul>
<?php
}}
//
// end of blocks
//
// template extending
$_l->extends = empty($_g->extended) && isset($_control) && $_control instanceof Nette\Application\UI\Presenter ? $_control->findLayoutTemplateFile() : NULL; $_g->extended = TRUE;
if ($_l->extends) { ob_start();}
// prolog Nette\Bridges\ApplicationLatte\UIMacros
// snippets support
if (empty($_l->extends) && !empty($_control->snippetMode)) {
return Nette\Bridges\ApplicationLatte\UIMacros::renderSnippets($_control, $_b, get_defined_vars());
}
//
// main template
//
extract(array('robots' => true), EXTR_SKIP) ;extract(array('active' => ''), EXTR_SKIP) ?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="<?php echo Latte\Runtime\Filters::escapeHtml($generator, ENT_COMPAT) ?>
<?php echo Latte\Runtime\Filters::escapeHtml($version, ENT_COMPAT) ?>">
<?php if (!$robots) { ?> <meta name="robots" content="noindex">
<?php } ?>
<title><?php Latte\Macros\BlockMacros::callBlock($_b, 'title', $template->getParameters()) ;if ('overview' !== $active && $config->title) { ?>
| <?php echo Latte\Runtime\Filters::escapeHtml($config->title, ENT_NOQUOTES) ;} ?></title>
<?php $combinedJs = 'resources/combined.js' ?>
<script type="text/javascript" src="<?php echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($template->staticFile($combinedJs)), ENT_COMPAT) ?>"></script>
<?php $elementListJs = 'elementlist.js' ?>
<script type="text/javascript" src="<?php echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($template->staticFile($elementListJs)), ENT_COMPAT) ?>"></script>
<?php $styleCss = 'resources/style.css' ?>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($template->staticFile($styleCss)), ENT_COMPAT) ?>">
<?php if ($config->googleCseId) { ?> <link rel="search" type="application/opensearchdescription+xml" title="<?php echo Latte\Runtime\Filters::escapeHtml($config->title, ENT_COMPAT) ?>
" href="<?php echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($config->baseUrl), ENT_COMPAT) ?>/opensearch.xml">
<?php } ?>
<?php if ($config->googleAnalytics) { ?> <script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', <?php echo Latte\Runtime\Filters::escapeJs($config->googleAnalytics) ?>]);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<?php } ?>
</head>
<body>
<div id="left">
<div id="menu">
<?php if ($_l->ifs[] = ('overview' !== $active)) { ?> <a href="index.html" title="Overview"><?php } ?>
<span>Overview</span><?php if (array_pop($_l->ifs)) { ?></a>
<?php } ?>
<?php if ($_l->extends) { ob_end_clean(); return $template->renderChildTemplate($_l->extends, get_defined_vars()); } ?>
<div id="groups">
<?php if ($namespaces) { ?>
<h3>Namespaces</h3>
<?php call_user_func(reset($_b->blocks['group']), $_b, array('groups' => $namespaces, 'actualGroup' => $namespace) + get_defined_vars()) ;} elseif ($packages) { ?>
<h3>Packages</h3>
<?php call_user_func(reset($_b->blocks['group']), $_b, array('groups' => $packages, 'actualGroup' => $package) + get_defined_vars()) ;} ?>
</div>
<?php if (($namespaces || $packages) && ($classes || $interfaces || $traits || $exceptions || $constants || $functions)) { ?> <hr>
<?php } ?>
<div id="elements">
<?php if ($classes) { ?>
<h3>Classes</h3>
<?php call_user_func(reset($_b->blocks['elements']), $_b, array('elements' => $classes, 'activeElement' => $class) + get_defined_vars()) ;} ?>
<?php if ($interfaces) { ?>
<h3>Interfaces</h3>
<?php call_user_func(reset($_b->blocks['elements']), $_b, array('elements' => $interfaces, 'activeElement' => $class) + get_defined_vars()) ;} ?>
<?php if ($traits) { ?>
<h3>Traits</h3>
<?php call_user_func(reset($_b->blocks['elements']), $_b, array('elements' => $traits, 'activeElement' => $class) + get_defined_vars()) ;} ?>
<?php if ($exceptions) { ?>
<h3>Exceptions</h3>
<?php call_user_func(reset($_b->blocks['elements']), $_b, array('elements' => $exceptions, 'activeElement' => $class) + get_defined_vars()) ;} ?>
<?php if ($constants) { ?>
<h3>Constants</h3>
<?php call_user_func(reset($_b->blocks['elements']), $_b, array('elements' => $constants, 'activeElement' => $constant) + get_defined_vars()) ;} ?>
<?php if ($functions) { ?>
<h3>Functions</h3>
<?php call_user_func(reset($_b->blocks['elements']), $_b, array('elements' => $functions, 'activeElement' => $function) + get_defined_vars()) ;} ?>
</div>
</div>
</div>
<div id="splitter"></div>
<div id="right">
<div id="rightInner">
<form<?php if ($config->googleCseId) { ?> action="http://www.google.com/cse"<?php } ?> id="search">
<input type="hidden" name="cx" value="<?php echo Latte\Runtime\Filters::escapeHtml($config->googleCseId, ENT_COMPAT) ?>">
<input type="hidden" name="ie" value="UTF-8">
<?php if ($config->googleCseLabel) { ?> <input type="hidden" name="more" value="<?php echo Latte\Runtime\Filters::escapeHtml($config->googleCseLabel, ENT_COMPAT) ?>">
<?php } ?>
<input type="text" name="q" class="text"<?php if ('overview' === $active) { ?>
autofocus<?php } ?>>
<input type="submit" value="Search">
</form>
<div id="navigation">
<ul>
<li<?php if ($_l->tmp = array_filter(array('overview' === $active ? 'active' : NULL))) echo ' class="' . Latte\Runtime\Filters::escapeHtml(implode(" ", array_unique($_l->tmp)), ENT_COMPAT) . '"' ?>>
<?php if ($_l->ifs[] = ('overview' !== $active)) { ?> <a href="index.html" title="Overview"><?php } ?>
<span>Overview</span><?php if (array_pop($_l->ifs)) { ?></a>
<?php } ?>
</li>
<?php if ($packages) { ?> <li<?php if ($_l->tmp = array_filter(array('package' === $active ? 'active' : NULL))) echo ' class="' . Latte\Runtime\Filters::escapeHtml(implode(" ", array_unique($_l->tmp)), ENT_COMPAT) . '"' ?>>
<?php if ($_l->ifs[] = ('package' !== $active && $package)) { ?> <a href="<?php echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($template->packageUrl($package)), ENT_COMPAT) ?>
" title="Summary of <?php echo Latte\Runtime\Filters::escapeHtml($package, ENT_COMPAT) ?>
"><?php } ?>
<span>Package</span><?php if (array_pop($_l->ifs)) { ?></a>
<?php } ?>
</li>
<?php } if ($namespaces) { ?> <li<?php if ($_l->tmp = array_filter(array('namespace' === $active ? 'active' : NULL))) echo ' class="' . Latte\Runtime\Filters::escapeHtml(implode(" ", array_unique($_l->tmp)), ENT_COMPAT) . '"' ?>>
<?php if ($_l->ifs[] = ('namespace' !== $active && $namespace)) { ?> <a href="<?php echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($template->namespaceUrl($namespace)), ENT_COMPAT) ?>
" title="Summary of <?php echo Latte\Runtime\Filters::escapeHtml($namespace, ENT_COMPAT) ?>
"><?php } ?>
<span>Namespace</span><?php if (array_pop($_l->ifs)) { ?></a>
<?php } ?>
</li>
<?php } if (!$function && !$constant) { ?> <li<?php if ($_l->tmp = array_filter(array('class' === $active ? 'active' : NULL))) echo ' class="' . Latte\Runtime\Filters::escapeHtml(implode(" ", array_unique($_l->tmp)), ENT_COMPAT) . '"' ?>>
<?php if ($_l->ifs[] = ('class' !== $active && $class)) { ?> <a href="<?php echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($template->classUrl($class)), ENT_COMPAT) ?>
" title="Summary of <?php echo Latte\Runtime\Filters::escapeHtml($class->name, ENT_COMPAT) ?>
"><?php } ?>
<span>Class</span><?php if (array_pop($_l->ifs)) { ?></a>
<?php } ?>
</li>
<?php } if ($function) { ?> <li<?php if ($_l->tmp = array_filter(array('function' === $active ? 'active' : NULL))) echo ' class="' . Latte\Runtime\Filters::escapeHtml(implode(" ", array_unique($_l->tmp)), ENT_COMPAT) . '"' ?>>
<?php if ($_l->ifs[] = ('function' !== $active)) { ?> <a href="<?php echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($template->functionUrl($function)), ENT_COMPAT) ?>
" title="Summary of <?php echo Latte\Runtime\Filters::escapeHtml($function->name, ENT_COMPAT) ?>
"><?php } ?>
<span>Function</span><?php if (array_pop($_l->ifs)) { ?></a>
<?php } ?>
</li>
<?php } if ($constant) { ?> <li<?php if ($_l->tmp = array_filter(array('constant' === $active ? 'active' : NULL))) echo ' class="' . Latte\Runtime\Filters::escapeHtml(implode(" ", array_unique($_l->tmp)), ENT_COMPAT) . '"' ?>>
<?php if ($_l->ifs[] = ('constant' !== $active)) { ?> <a href="<?php echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($template->constantUrl($constant)), ENT_COMPAT) ?>
" title="Summary of <?php echo Latte\Runtime\Filters::escapeHtml($constant->name, ENT_COMPAT) ?>
"><?php } ?>
<span>Constant</span><?php if (array_pop($_l->ifs)) { ?></a>
<?php } ?>
</li>
<?php } ?>
</ul>
<ul>
<?php if ($config->tree) { ?> <li<?php if ($_l->tmp = array_filter(array('tree' === $active ? 'active' : NULL))) echo ' class="' . Latte\Runtime\Filters::escapeHtml(implode(" ", array_unique($_l->tmp)), ENT_COMPAT) . '"' ?>>
<?php if ($_l->ifs[] = ('tree' !== $active)) { ?> <a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><?php } ?>
<span>Tree</span><?php if (array_pop($_l->ifs)) { ?></a>
<?php } ?>
</li>
<?php } if ($config->deprecated) { ?> <li<?php if ($_l->tmp = array_filter(array('deprecated' === $active ? 'active' : NULL))) echo ' class="' . Latte\Runtime\Filters::escapeHtml(implode(" ", array_unique($_l->tmp)), ENT_COMPAT) . '"' ?>>
<?php if ($_l->ifs[] = ('deprecated' !== $active)) { ?> <a href="deprecated.html" title="List of deprecated elements"><?php } ?>
<span>Deprecated</span><?php if (array_pop($_l->ifs)) { ?></a>
<?php } ?>
</li>
<?php } if ($config->todo) { ?> <li<?php if ($_l->tmp = array_filter(array('todo' === $active ? 'active' : NULL))) echo ' class="' . Latte\Runtime\Filters::escapeHtml(implode(" ", array_unique($_l->tmp)), ENT_COMPAT) . '"' ?>>
<?php if ($_l->ifs[] = ('todo' !== $active)) { ?> <a href="todo.html" title="Todo list"><?php } ?>
<span>Todo</span><?php if (array_pop($_l->ifs)) { ?></a>
<?php } ?>
</li>
<?php } ?>
</ul>
<ul>
<?php if ($config->download) { ?> <li>
<a href="<?php echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($archive), ENT_COMPAT) ?>" title="Download documentation as ZIP archive"><span>Download</span></a>
</li>
<?php } ?>
</ul>
</div>
<?php Latte\Macros\BlockMacros::callBlock($_b, 'content', $template->getParameters()) ?>
<div id="footer">
<?php echo Latte\Runtime\Filters::escapeHtml($config->title, ENT_NOQUOTES) ?> API documentation generated by <a href="http://apigen.org"><?php echo Latte\Runtime\Filters::escapeHtml($generator, ENT_NOQUOTES) ?>
<?php echo Latte\Runtime\Filters::escapeHtml($version, ENT_NOQUOTES) ?></a>
</div>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,81 @@
<?php
// source: /home/greg/MaxMind/GeoIP2-php/vendor/apigen/apigen/templates/default/overview.latte
// prolog Latte\Macros\CoreMacros
list($_b, $_g, $_l) = $template->initialize('0487857967', 'html')
;
// prolog Latte\Macros\BlockMacros
//
// block title
//
if (!function_exists($_b->blocks['title'][] = '_lb75ac8cceea_title')) { function _lb75ac8cceea_title($_b, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v
;echo Latte\Runtime\Filters::escapeHtml($config->title ?: 'Overview', ENT_NOQUOTES) ;
}}
//
// block content
//
if (!function_exists($_b->blocks['content'][] = '_lb73bdb916a4_content')) { function _lb73bdb916a4_content($_b, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v
?><div id="content">
<h1><?php call_user_func(reset($_b->blocks['title']), $_b, get_defined_vars()) ?></h1>
<?php $group = false ?>
<?php if ($namespaces) { ob_start() ?>
<table class="summary" id="namespaces">
<caption>Namespaces summary</caption>
<?php $iterations = 0; foreach ($namespaces as $namespace) { if ($config->main && 0 !== strpos($namespace, $config->main)) continue ?>
<tr>
<?php $group = true ?>
<td class="name"><a href="<?php echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($template->namespaceUrl($namespace)), ENT_COMPAT) ?>
"><?php echo Latte\Runtime\Filters::escapeHtml($namespace, ENT_NOQUOTES) ?></a></td>
</tr>
<?php $iterations++; } ?>
</table>
<?php if ($iterations) ob_end_flush(); else ob_end_clean(); } ?>
<?php if ($packages) { ob_start() ?>
<table class="summary" id="packages">
<caption>Packages summary</caption>
<?php $iterations = 0; foreach ($packages as $package) { if ($config->main && 0 !== strpos($package, $config->main)) continue ?>
<tr>
<?php $group = true ?>
<td class="name"><a href="<?php echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($template->packageUrl($package)), ENT_COMPAT) ?>
"><?php echo Latte\Runtime\Filters::escapeHtml($package, ENT_NOQUOTES) ?></a></td>
</tr>
<?php $iterations++; } ?>
</table>
<?php if ($iterations) ob_end_flush(); else ob_end_clean(); } ?>
<?php if (!$group) { $_b->templates['0487857967']->renderChildTemplate('@elementlist.latte', $template->getParameters()) ;} ?>
</div>
<?php
}}
//
// end of blocks
//
// template extending
$_l->extends = '@layout.latte'; $_g->extended = TRUE;
if ($_l->extends) { ob_start();}
// prolog Nette\Bridges\ApplicationLatte\UIMacros
// snippets support
if (empty($_l->extends) && !empty($_control->snippetMode)) {
return Nette\Bridges\ApplicationLatte\UIMacros::renderSnippets($_control, $_b, get_defined_vars());
}
//
// main template
//
$active = 'overview' ?>
<?php if ($_l->extends) { ob_end_clean(); return $template->renderChildTemplate($_l->extends, get_defined_vars()); }
call_user_func(reset($_b->blocks['title']), $_b, get_defined_vars()) ?>
<?php call_user_func(reset($_b->blocks['content']), $_b, get_defined_vars()) ;