Merge branch 'release/r'

This commit is contained in:
stubbfel
2013-06-27 11:55:54 +02:00
89 changed files with 5413 additions and 305 deletions

View File

@@ -8,7 +8,7 @@
<title>Page not found | GeoApi</title> <title>Page not found | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -39,6 +39,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>
@@ -49,9 +51,13 @@
<h3>Classes</h3> <h3>Classes</h3>
<ul> <ul>
<li><a href="class-api.Api.html">api\Api</a></li> <li><a href="class-api.Api.html">api\Api</a></li>
<li><a href="class-api.PisApi.html">api\PisApi</a></li>
<li><a href="class-api.PssApi.html">api\PssApi</a></li>
<li><a href="class-api.SpsApi.html">api\SpsApi</a></li> <li><a href="class-api.SpsApi.html">api\SpsApi</a></li>
<li><a href="class-ArrayIterator.html">ArrayIterator</a></li> <li><a href="class-ArrayIterator.html">ArrayIterator</a></li>
<li><a href="class-config.DBConfig.html">config\DBConfig</a></li> <li><a href="class-config.DBConfig.html">config\DBConfig</a></li>
<li><a href="class-database.PisSqlManager.html">database\PisSqlManager</a></li>
<li><a href="class-database.PssSqlManager.html">database\PssSqlManager</a></li>
<li><a href="class-database.SpsSqlManager.html">database\SpsSqlManager</a></li> <li><a href="class-database.SpsSqlManager.html">database\SpsSqlManager</a></li>
<li><a href="class-database.SqlManager.html">database\SqlManager</a></li> <li><a href="class-database.SqlManager.html">database\SqlManager</a></li>
<li><a href="class-SimpleXMLElement.html">SimpleXMLElement</a></li> <li><a href="class-SimpleXMLElement.html">SimpleXMLElement</a></li>
@@ -72,6 +78,9 @@
<li><a href="class-Slim.Router.html">Slim\Router</a></li> <li><a href="class-Slim.Router.html">Slim\Router</a></li>
<li><a href="class-Slim.Slim.html">Slim\Slim</a></li> <li><a href="class-Slim.Slim.html">Slim\Slim</a></li>
<li><a href="class-Slim.View.html">Slim\View</a></li> <li><a href="class-Slim.View.html">Slim\View</a></li>
<li><a href="class-utiliy.ArrayManager.html">utiliy\ArrayManager</a></li>
<li><a href="class-utiliy.StringManager.html">utiliy\StringManager</a></li>
<li><a href="class-utiliy.XmlManager.html">utiliy\XmlManager</a></li>
</ul> </ul>
<h3>Interfaces</h3> <h3>Interfaces</h3>

View File

@@ -7,7 +7,7 @@
<title>Interface ArrayAccess | GeoApi</title> <title>Interface ArrayAccess | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Class ArrayIterator | GeoApi</title> <title>Class ArrayIterator | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Interface Countable | GeoApi</title> <title>Interface Countable | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Class ErrorException | GeoApi</title> <title>Class ErrorException | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Class Exception | GeoApi</title> <title>Class Exception | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Class InvalidArgumentException | GeoApi</title> <title>Class InvalidArgumentException | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Interface Iterator | GeoApi</title> <title>Interface Iterator | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Interface IteratorAggregate | GeoApi</title> <title>Interface IteratorAggregate | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Class LogicException | GeoApi</title> <title>Class LogicException | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Class RuntimeException | GeoApi</title> <title>Class RuntimeException | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Interface SeekableIterator | GeoApi</title> <title>Interface SeekableIterator | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Interface Serializable | GeoApi</title> <title>Interface Serializable | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Class SimpleXMLElement | GeoApi</title> <title>Class SimpleXMLElement | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Class Slim\Environment | GeoApi</title> <title>Class Slim\Environment | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Class Slim\Exception\Pass | GeoApi</title> <title>Class Slim\Exception\Pass | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Class Slim\Exception\Stop | GeoApi</title> <title>Class Slim\Exception\Stop | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Class Slim\Http\Headers | GeoApi</title> <title>Class Slim\Http\Headers | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Class Slim\Http\Request | GeoApi</title> <title>Class Slim\Http\Request | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Class Slim\Http\Response | GeoApi</title> <title>Class Slim\Http\Response | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Class Slim\Http\Util | GeoApi</title> <title>Class Slim\Http\Util | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Class Slim\Log | GeoApi</title> <title>Class Slim\Log | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Class Slim\LogWriter | GeoApi</title> <title>Class Slim\LogWriter | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Class Slim\Middleware\ContentTypes | GeoApi</title> <title>Class Slim\Middleware\ContentTypes | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li class="active"><a href="namespace-Slim.Middleware.html">Middleware</a> <li class="active"><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Class Slim\Middleware\Flash | GeoApi</title> <title>Class Slim\Middleware\Flash | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li class="active"><a href="namespace-Slim.Middleware.html">Middleware</a> <li class="active"><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Class Slim\Middleware\MethodOverride | GeoApi</title> <title>Class Slim\Middleware\MethodOverride | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li class="active"><a href="namespace-Slim.Middleware.html">Middleware</a> <li class="active"><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Class Slim\Middleware\PrettyExceptions | GeoApi</title> <title>Class Slim\Middleware\PrettyExceptions | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li class="active"><a href="namespace-Slim.Middleware.html">Middleware</a> <li class="active"><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Class Slim\Middleware\SessionCookie | GeoApi</title> <title>Class Slim\Middleware\SessionCookie | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li class="active"><a href="namespace-Slim.Middleware.html">Middleware</a> <li class="active"><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Class Slim\Middleware | GeoApi</title> <title>Class Slim\Middleware | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Class Slim\Route | GeoApi</title> <title>Class Slim\Route | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Class Slim\Router | GeoApi</title> <title>Class Slim\Router | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Class Slim\Slim | GeoApi</title> <title>Class Slim\Slim | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>
@@ -115,6 +117,8 @@
<div> <div>
<h4>Indirect known subclasses</h4> <h4>Indirect known subclasses</h4>
<a href="class-api.PisApi.html">api\PisApi</a>,
<a href="class-api.PssApi.html">api\PssApi</a>,
<a href="class-api.SpsApi.html">api\SpsApi</a> <a href="class-api.SpsApi.html">api\SpsApi</a>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Class Slim\View | GeoApi</title> <title>Class Slim\View | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Interface Traversable | GeoApi</title> <title>Interface Traversable | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Class api\Api | GeoApi</title> <title>Class api\Api | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>
@@ -48,6 +50,8 @@
<h3>Classes</h3> <h3>Classes</h3>
<ul> <ul>
<li class="active"><a href="class-api.Api.html">Api</a></li> <li class="active"><a href="class-api.Api.html">Api</a></li>
<li><a href="class-api.PisApi.html">PisApi</a></li>
<li><a href="class-api.PssApi.html">PssApi</a></li>
<li><a href="class-api.SpsApi.html">SpsApi</a></li> <li><a href="class-api.SpsApi.html">SpsApi</a></li>
</ul> </ul>
@@ -118,6 +122,8 @@
<div> <div>
<h4>Direct known subclasses</h4> <h4>Direct known subclasses</h4>
<a href="class-api.PisApi.html">api\PisApi</a>,
<a href="class-api.PssApi.html">api\PssApi</a>,
<a href="class-api.SpsApi.html">api\SpsApi</a> <a href="class-api.SpsApi.html">api\SpsApi</a>
</div> </div>
@@ -136,7 +142,7 @@
stubbfel<br /> stubbfel<br />
<b>Since:</b> <b>Since:</b>
20.06.2013<br /> 20.06.2013<br />
<b>Located at</b> <a href="source-class-api.Api.html#10-48" title="Go to source code">api/Api.php</a><br /> <b>Located at</b> <a href="source-class-api.Api.html#10-52" title="Go to source code">api/Api.php</a><br />
</div> </div>
@@ -189,7 +195,7 @@
<td class="name"><div> <td class="name"><div>
<a class="anchor" href="#___destruct">#</a> <a class="anchor" href="#___destruct">#</a>
<code><a href="source-class-api.Api.html#34-39" title="Go to source code">__destruct</a>( )</code> <code><a href="source-class-api.Api.html#34-43" title="Go to source code">__destruct</a>( )</code>
<div class="description short"> <div class="description short">
@@ -222,7 +228,7 @@
<td class="name"><div> <td class="name"><div>
<a class="anchor" href="#_connect">#</a> <a class="anchor" href="#_connect">#</a>
<code><a href="source-class-api.Api.html#41-46" title="Go to source code">connect</a>( )</code> <code><a href="source-class-api.Api.html#45-50" title="Go to source code">connect</a>( )</code>
<div class="description short"> <div class="description short">

430
doc/class-api.PisApi.html Normal file
View File

@@ -0,0 +1,430 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="ApiGen 2.8.0" />
<title>Class api\PisApi | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
<div id="groups">
<h3>Namespaces</h3>
<ul>
<li class="active"><a href="namespace-api.html">api</a>
</li>
<li><a href="namespace-config.html">config</a>
</li>
<li><a href="namespace-database.html">database</a>
</li>
<li><a href="namespace-PHP.html">PHP</a>
</li>
<li><a href="namespace-Slim.html">Slim<span></span></a>
<ul>
<li><a href="namespace-Slim.Exception.html">Exception</a>
</li>
<li><a href="namespace-Slim.Http.html">Http</a>
</li>
<li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li>
</ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul>
</div>
<hr />
<div id="elements">
<h3>Classes</h3>
<ul>
<li><a href="class-api.Api.html">Api</a></li>
<li class="active"><a href="class-api.PisApi.html">PisApi</a></li>
<li><a href="class-api.PssApi.html">PssApi</a></li>
<li><a href="class-api.SpsApi.html">SpsApi</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" />
<input type="submit" value="Search" />
</form>
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="namespace-api.html" title="Summary of api"><span>Namespace</span></a>
</li>
<li class="active">
<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>
</ul>
</div>
<div id="content" class="class">
<h1>Class PisApi</h1>
<div class="description">
<p>This class provides some spezial PisAPI methods</p>
</div>
<dl class="tree">
<dd style="padding-left:0px">
<a href="class-Slim.Slim.html"><span>Slim\Slim</span></a>
</dd>
<dd style="padding-left:30px">
<img src="resources/inherit.png" alt="Extended by" />
<a href="class-api.Api.html"><span>api\Api</span></a>
</dd>
<dd style="padding-left:60px">
<img src="resources/inherit.png" alt="Extended by" />
<b><span>api\PisApi</span></b>
</dd>
</dl>
<div class="info">
<b>Namespace:</b> <a href="namespace-api.html">api</a><br />
<b>Author:</b>
stubbfel<br />
<b>Since:</b>
20.06.2013<br />
<b>Located at</b> <a href="source-class-api.PisApi.html#11-58" title="Go to source code">api/PisApi.php</a><br />
</div>
<table class="summary" id="methods">
<caption>Methods summary</caption>
<tr data-order="__construct" id="___construct">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#___construct">#</a>
<code><a href="source-class-api.PisApi.html#30-36" title="Go to source code">__construct</a>( )</code>
<div class="description short">
<p>Default-Constructor</p>
</div>
<div class="description detailed hidden">
<p>Default-Constructor</p>
<h4>Overrides</h4>
<div class="list"><code><a href="class-api.Api.html#___construct">api\Api::__construct()</a></code></div>
</div>
</div></td>
</tr>
<tr data-order="__destruct" id="___destruct">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#___destruct">#</a>
<code><a href="source-class-api.PisApi.html#38-43" title="Go to source code">__destruct</a>( )</code>
<div class="description short">
<p>Default-DeConstructor</p>
</div>
<div class="description detailed hidden">
<p>Default-DeConstructor</p>
<h4>Overrides</h4>
<div class="list"><code><a href="class-api.Api.html#___destruct">api\Api::__destruct()</a></code></div>
</div>
</div></td>
</tr>
<tr data-order="sendPisQuery" id="_sendPisQuery">
<td class="attributes"><code>
public
query
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_sendPisQuery">#</a>
<code><a href="source-class-api.PisApi.html#45-57" title="Go to source code">sendPisQuery</a>( <span>array <var>$queryArgs</var></span> )</code>
<div class="description short">
<p>Method start a pis-query</p>
</div>
<div class="description detailed hidden">
<p>Method start a pis-query</p>
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$queryArgs</var></dt>
<dd><code>array</code><br>$queryArgs</dd>
</dl></div>
<h4>Returns</h4>
<div class="list">
<code>query</code><br>result as xml<br />
</div>
</div>
</div></td>
</tr>
</table>
<table class="summary inherited">
<caption>Methods inherited from <a href="class-api.Api.html#methods">api\Api</a></caption>
<tr>
<td><code>
<a href="class-api.Api.html#_connect">connect()</a>
</code></td>
</tr>
</table>
<table class="summary inherited">
<caption>Methods inherited from <a href="class-Slim.Slim.html#methods">Slim\Slim</a></caption>
<tr>
<td><code>
<a href="class-Slim.Slim.html#_add">add()</a>,
<a href="class-Slim.Slim.html#_applyHook">applyHook()</a>,
<a href="class-Slim.Slim.html#_autoload">autoload()</a>,
<a href="class-Slim.Slim.html#_call">call()</a>,
<a href="class-Slim.Slim.html#_callErrorHandler">callErrorHandler()</a>,
<a href="class-Slim.Slim.html#_cleanBuffer">cleanBuffer()</a>,
<a href="class-Slim.Slim.html#_clearHooks">clearHooks()</a>,
<a href="class-Slim.Slim.html#_config">config()</a>,
<a href="class-Slim.Slim.html#_configureMode">configureMode()</a>,
<a href="class-Slim.Slim.html#_contentType">contentType()</a>,
<a href="class-Slim.Slim.html#_defaultError">defaultError()</a>,
<a href="class-Slim.Slim.html#_defaultNotFound">defaultNotFound()</a>,
<a href="class-Slim.Slim.html#_delete">delete()</a>,
<a href="class-Slim.Slim.html#_deleteCookie">deleteCookie()</a>,
<a href="class-Slim.Slim.html#_environment">environment()</a>,
<a href="class-Slim.Slim.html#_error">error()</a>,
<a href="class-Slim.Slim.html#_etag">etag()</a>,
<a href="class-Slim.Slim.html#_expires">expires()</a>,
<a href="class-Slim.Slim.html#_flash">flash()</a>,
<a href="class-Slim.Slim.html#_flashKeep">flashKeep()</a>,
<a href="class-Slim.Slim.html#_flashNow">flashNow()</a>,
<a href="class-Slim.Slim.html#_generateTemplateMarkup">generateTemplateMarkup()</a>,
<a href="class-Slim.Slim.html#_get">get()</a>,
<a href="class-Slim.Slim.html#_getCookie">getCookie()</a>,
<a href="class-Slim.Slim.html#_getDefaultSettings">getDefaultSettings()</a>,
<a href="class-Slim.Slim.html#_getEncryptedCookie">getEncryptedCookie()</a>,
<a href="class-Slim.Slim.html#_getHooks">getHooks()</a>,
<a href="class-Slim.Slim.html#_getInstance">getInstance()</a>,
<a href="class-Slim.Slim.html#_getLog">getLog()</a>,
<a href="class-Slim.Slim.html#_getMode">getMode()</a>,
<a href="class-Slim.Slim.html#_getName">getName()</a>,
<a href="class-Slim.Slim.html#_halt">halt()</a>,
<a href="class-Slim.Slim.html#_handleErrors">handleErrors()</a>,
<a href="class-Slim.Slim.html#_hook">hook()</a>,
<a href="class-Slim.Slim.html#_lastModified">lastModified()</a>,
<a href="class-Slim.Slim.html#_map">map()</a>,
<a href="class-Slim.Slim.html#_mapRoute">mapRoute()</a>,
<a href="class-Slim.Slim.html#_notFound">notFound()</a>,
<a href="class-Slim.Slim.html#_options">options()</a>,
<a href="class-Slim.Slim.html#_pass">pass()</a>,
<a href="class-Slim.Slim.html#_post">post()</a>,
<a href="class-Slim.Slim.html#_put">put()</a>,
<a href="class-Slim.Slim.html#_redirect">redirect()</a>,
<a href="class-Slim.Slim.html#_registerAutoloader">registerAutoloader()</a>,
<a href="class-Slim.Slim.html#_render">render()</a>,
<a href="class-Slim.Slim.html#_request">request()</a>,
<a href="class-Slim.Slim.html#_response">response()</a>,
<a href="class-Slim.Slim.html#_root">root()</a>,
<a href="class-Slim.Slim.html#_router">router()</a>,
<a href="class-Slim.Slim.html#_run">run()</a>,
<a href="class-Slim.Slim.html#_setCookie">setCookie()</a>,
<a href="class-Slim.Slim.html#_setEncryptedCookie">setEncryptedCookie()</a>,
<a href="class-Slim.Slim.html#_setName">setName()</a>,
<a href="class-Slim.Slim.html#_status">status()</a>,
<a href="class-Slim.Slim.html#_stop">stop()</a>,
<a href="class-Slim.Slim.html#_urlFor">urlFor()</a>,
<a href="class-Slim.Slim.html#_view">view()</a>
</code></td>
</tr>
</table>
<table class="summary inherited">
<caption>Constants inherited from <a href="class-Slim.Slim.html#constants">Slim\Slim</a></caption>
<tr>
<td><code>
<a href="class-Slim.Slim.html#VERSION"><b>VERSION</b></a>
</code></td>
</tr>
</table>
<table class="summary" id="properties">
<caption>Properties summary</caption>
<tr data-order="routeParameterPids" id="$routeParameterPids">
<td class="attributes"><code>
public static
string
</code></td>
<td class="name">
<a href="source-class-api.PisApi.html#18-22" title="Go to source code"><var>$routeParameterPids</var></a>
</td>
<td class="value"><code><span class="php-quote">&quot;/pid/:pid+&quot;</span></code></td>
<td class="description"><div>
<a href="#$routeParameterPids" class="anchor">#</a>
<div class="description short">
<p>Route string for the alias paramter</p>
</div>
<div class="description detailed hidden">
<p>Route string for the alias paramter</p>
</div>
</div></td>
</tr>
</table>
<table class="summary inherited">
<caption>Properties inherited from <a href="class-api.Api.html#properties">api\Api</a></caption>
<tr>
<td><code>
<a href="class-api.Api.html#$sqlManager"><var>$sqlManager</var></a>
</code></td>
</tr>
</table>
<table class="summary inherited">
<caption>Properties inherited from <a href="class-Slim.Slim.html#properties">Slim\Slim</a></caption>
<tr>
<td><code>
<a href="class-Slim.Slim.html#$apps"><var>$apps</var></a>,
<a href="class-Slim.Slim.html#$environment"><var>$environment</var></a>,
<a href="class-Slim.Slim.html#$error"><var>$error</var></a>,
<a href="class-Slim.Slim.html#$hooks"><var>$hooks</var></a>,
<a href="class-Slim.Slim.html#$middleware"><var>$middleware</var></a>,
<a href="class-Slim.Slim.html#$mode"><var>$mode</var></a>,
<a href="class-Slim.Slim.html#$name"><var>$name</var></a>,
<a href="class-Slim.Slim.html#$notFound"><var>$notFound</var></a>,
<a href="class-Slim.Slim.html#$request"><var>$request</var></a>,
<a href="class-Slim.Slim.html#$response"><var>$response</var></a>,
<a href="class-Slim.Slim.html#$router"><var>$router</var></a>,
<a href="class-Slim.Slim.html#$settings"><var>$settings</var></a>,
<a href="class-Slim.Slim.html#$view"><var>$view</var></a>
</code></td>
</tr>
</table>
</div>
<div id="footer">
GeoApi API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>

430
doc/class-api.PssApi.html Normal file
View File

@@ -0,0 +1,430 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="ApiGen 2.8.0" />
<title>Class api\PssApi | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
<div id="groups">
<h3>Namespaces</h3>
<ul>
<li class="active"><a href="namespace-api.html">api</a>
</li>
<li><a href="namespace-config.html">config</a>
</li>
<li><a href="namespace-database.html">database</a>
</li>
<li><a href="namespace-PHP.html">PHP</a>
</li>
<li><a href="namespace-Slim.html">Slim<span></span></a>
<ul>
<li><a href="namespace-Slim.Exception.html">Exception</a>
</li>
<li><a href="namespace-Slim.Http.html">Http</a>
</li>
<li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li>
</ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul>
</div>
<hr />
<div id="elements">
<h3>Classes</h3>
<ul>
<li><a href="class-api.Api.html">Api</a></li>
<li><a href="class-api.PisApi.html">PisApi</a></li>
<li class="active"><a href="class-api.PssApi.html">PssApi</a></li>
<li><a href="class-api.SpsApi.html">SpsApi</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" />
<input type="submit" value="Search" />
</form>
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="namespace-api.html" title="Summary of api"><span>Namespace</span></a>
</li>
<li class="active">
<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>
</ul>
</div>
<div id="content" class="class">
<h1>Class PssApi</h1>
<div class="description">
<p>This class provides some spezial PssAPI methods</p>
</div>
<dl class="tree">
<dd style="padding-left:0px">
<a href="class-Slim.Slim.html"><span>Slim\Slim</span></a>
</dd>
<dd style="padding-left:30px">
<img src="resources/inherit.png" alt="Extended by" />
<a href="class-api.Api.html"><span>api\Api</span></a>
</dd>
<dd style="padding-left:60px">
<img src="resources/inherit.png" alt="Extended by" />
<b><span>api\PssApi</span></b>
</dd>
</dl>
<div class="info">
<b>Namespace:</b> <a href="namespace-api.html">api</a><br />
<b>Author:</b>
stubbfel<br />
<b>Since:</b>
20.06.2013<br />
<b>Located at</b> <a href="source-class-api.PssApi.html#11-60" title="Go to source code">api/PssApi.php</a><br />
</div>
<table class="summary" id="methods">
<caption>Methods summary</caption>
<tr data-order="__construct" id="___construct">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#___construct">#</a>
<code><a href="source-class-api.PssApi.html#30-36" title="Go to source code">__construct</a>( )</code>
<div class="description short">
<p>Default-Constructor</p>
</div>
<div class="description detailed hidden">
<p>Default-Constructor</p>
<h4>Overrides</h4>
<div class="list"><code><a href="class-api.Api.html#___construct">api\Api::__construct()</a></code></div>
</div>
</div></td>
</tr>
<tr data-order="__destruct" id="___destruct">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#___destruct">#</a>
<code><a href="source-class-api.PssApi.html#38-43" title="Go to source code">__destruct</a>( )</code>
<div class="description short">
<p>Default-DeConstructor</p>
</div>
<div class="description detailed hidden">
<p>Default-DeConstructor</p>
<h4>Overrides</h4>
<div class="list"><code><a href="class-api.Api.html#___destruct">api\Api::__destruct()</a></code></div>
</div>
</div></td>
</tr>
<tr data-order="sendPssQuery" id="_sendPssQuery">
<td class="attributes"><code>
public
query
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_sendPssQuery">#</a>
<code><a href="source-class-api.PssApi.html#45-58" title="Go to source code">sendPssQuery</a>( <span>array <var>$queryArgs</var></span> )</code>
<div class="description short">
<p>Method start a pis-query</p>
</div>
<div class="description detailed hidden">
<p>Method start a pis-query</p>
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$queryArgs</var></dt>
<dd><code>array</code><br>$queryArgs</dd>
</dl></div>
<h4>Returns</h4>
<div class="list">
<code>query</code><br>result as xml<br />
</div>
</div>
</div></td>
</tr>
</table>
<table class="summary inherited">
<caption>Methods inherited from <a href="class-api.Api.html#methods">api\Api</a></caption>
<tr>
<td><code>
<a href="class-api.Api.html#_connect">connect()</a>
</code></td>
</tr>
</table>
<table class="summary inherited">
<caption>Methods inherited from <a href="class-Slim.Slim.html#methods">Slim\Slim</a></caption>
<tr>
<td><code>
<a href="class-Slim.Slim.html#_add">add()</a>,
<a href="class-Slim.Slim.html#_applyHook">applyHook()</a>,
<a href="class-Slim.Slim.html#_autoload">autoload()</a>,
<a href="class-Slim.Slim.html#_call">call()</a>,
<a href="class-Slim.Slim.html#_callErrorHandler">callErrorHandler()</a>,
<a href="class-Slim.Slim.html#_cleanBuffer">cleanBuffer()</a>,
<a href="class-Slim.Slim.html#_clearHooks">clearHooks()</a>,
<a href="class-Slim.Slim.html#_config">config()</a>,
<a href="class-Slim.Slim.html#_configureMode">configureMode()</a>,
<a href="class-Slim.Slim.html#_contentType">contentType()</a>,
<a href="class-Slim.Slim.html#_defaultError">defaultError()</a>,
<a href="class-Slim.Slim.html#_defaultNotFound">defaultNotFound()</a>,
<a href="class-Slim.Slim.html#_delete">delete()</a>,
<a href="class-Slim.Slim.html#_deleteCookie">deleteCookie()</a>,
<a href="class-Slim.Slim.html#_environment">environment()</a>,
<a href="class-Slim.Slim.html#_error">error()</a>,
<a href="class-Slim.Slim.html#_etag">etag()</a>,
<a href="class-Slim.Slim.html#_expires">expires()</a>,
<a href="class-Slim.Slim.html#_flash">flash()</a>,
<a href="class-Slim.Slim.html#_flashKeep">flashKeep()</a>,
<a href="class-Slim.Slim.html#_flashNow">flashNow()</a>,
<a href="class-Slim.Slim.html#_generateTemplateMarkup">generateTemplateMarkup()</a>,
<a href="class-Slim.Slim.html#_get">get()</a>,
<a href="class-Slim.Slim.html#_getCookie">getCookie()</a>,
<a href="class-Slim.Slim.html#_getDefaultSettings">getDefaultSettings()</a>,
<a href="class-Slim.Slim.html#_getEncryptedCookie">getEncryptedCookie()</a>,
<a href="class-Slim.Slim.html#_getHooks">getHooks()</a>,
<a href="class-Slim.Slim.html#_getInstance">getInstance()</a>,
<a href="class-Slim.Slim.html#_getLog">getLog()</a>,
<a href="class-Slim.Slim.html#_getMode">getMode()</a>,
<a href="class-Slim.Slim.html#_getName">getName()</a>,
<a href="class-Slim.Slim.html#_halt">halt()</a>,
<a href="class-Slim.Slim.html#_handleErrors">handleErrors()</a>,
<a href="class-Slim.Slim.html#_hook">hook()</a>,
<a href="class-Slim.Slim.html#_lastModified">lastModified()</a>,
<a href="class-Slim.Slim.html#_map">map()</a>,
<a href="class-Slim.Slim.html#_mapRoute">mapRoute()</a>,
<a href="class-Slim.Slim.html#_notFound">notFound()</a>,
<a href="class-Slim.Slim.html#_options">options()</a>,
<a href="class-Slim.Slim.html#_pass">pass()</a>,
<a href="class-Slim.Slim.html#_post">post()</a>,
<a href="class-Slim.Slim.html#_put">put()</a>,
<a href="class-Slim.Slim.html#_redirect">redirect()</a>,
<a href="class-Slim.Slim.html#_registerAutoloader">registerAutoloader()</a>,
<a href="class-Slim.Slim.html#_render">render()</a>,
<a href="class-Slim.Slim.html#_request">request()</a>,
<a href="class-Slim.Slim.html#_response">response()</a>,
<a href="class-Slim.Slim.html#_root">root()</a>,
<a href="class-Slim.Slim.html#_router">router()</a>,
<a href="class-Slim.Slim.html#_run">run()</a>,
<a href="class-Slim.Slim.html#_setCookie">setCookie()</a>,
<a href="class-Slim.Slim.html#_setEncryptedCookie">setEncryptedCookie()</a>,
<a href="class-Slim.Slim.html#_setName">setName()</a>,
<a href="class-Slim.Slim.html#_status">status()</a>,
<a href="class-Slim.Slim.html#_stop">stop()</a>,
<a href="class-Slim.Slim.html#_urlFor">urlFor()</a>,
<a href="class-Slim.Slim.html#_view">view()</a>
</code></td>
</tr>
</table>
<table class="summary inherited">
<caption>Constants inherited from <a href="class-Slim.Slim.html#constants">Slim\Slim</a></caption>
<tr>
<td><code>
<a href="class-Slim.Slim.html#VERSION"><b>VERSION</b></a>
</code></td>
</tr>
</table>
<table class="summary" id="properties">
<caption>Properties summary</caption>
<tr data-order="routeParameterPids" id="$routeParameterPids">
<td class="attributes"><code>
public static
string
</code></td>
<td class="name">
<a href="source-class-api.PssApi.html#18-22" title="Go to source code"><var>$routeParameterPids</var></a>
</td>
<td class="value"><code><span class="php-quote">&quot;/pid/:pid+&quot;</span></code></td>
<td class="description"><div>
<a href="#$routeParameterPids" class="anchor">#</a>
<div class="description short">
<p>Route string for the alias paramter</p>
</div>
<div class="description detailed hidden">
<p>Route string for the alias paramter</p>
</div>
</div></td>
</tr>
</table>
<table class="summary inherited">
<caption>Properties inherited from <a href="class-api.Api.html#properties">api\Api</a></caption>
<tr>
<td><code>
<a href="class-api.Api.html#$sqlManager"><var>$sqlManager</var></a>
</code></td>
</tr>
</table>
<table class="summary inherited">
<caption>Properties inherited from <a href="class-Slim.Slim.html#properties">Slim\Slim</a></caption>
<tr>
<td><code>
<a href="class-Slim.Slim.html#$apps"><var>$apps</var></a>,
<a href="class-Slim.Slim.html#$environment"><var>$environment</var></a>,
<a href="class-Slim.Slim.html#$error"><var>$error</var></a>,
<a href="class-Slim.Slim.html#$hooks"><var>$hooks</var></a>,
<a href="class-Slim.Slim.html#$middleware"><var>$middleware</var></a>,
<a href="class-Slim.Slim.html#$mode"><var>$mode</var></a>,
<a href="class-Slim.Slim.html#$name"><var>$name</var></a>,
<a href="class-Slim.Slim.html#$notFound"><var>$notFound</var></a>,
<a href="class-Slim.Slim.html#$request"><var>$request</var></a>,
<a href="class-Slim.Slim.html#$response"><var>$response</var></a>,
<a href="class-Slim.Slim.html#$router"><var>$router</var></a>,
<a href="class-Slim.Slim.html#$settings"><var>$settings</var></a>,
<a href="class-Slim.Slim.html#$view"><var>$view</var></a>
</code></td>
</tr>
</table>
</div>
<div id="footer">
GeoApi API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>

View File

@@ -7,7 +7,7 @@
<title>Class api\SpsApi | GeoApi</title> <title>Class api\SpsApi | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>
@@ -48,6 +50,8 @@
<h3>Classes</h3> <h3>Classes</h3>
<ul> <ul>
<li><a href="class-api.Api.html">Api</a></li> <li><a href="class-api.Api.html">Api</a></li>
<li><a href="class-api.PisApi.html">PisApi</a></li>
<li><a href="class-api.PssApi.html">PssApi</a></li>
<li class="active"><a href="class-api.SpsApi.html">SpsApi</a></li> <li class="active"><a href="class-api.SpsApi.html">SpsApi</a></li>
</ul> </ul>
@@ -139,7 +143,7 @@
stubbfel<br /> stubbfel<br />
<b>Since:</b> <b>Since:</b>
20.06.2013<br /> 20.06.2013<br />
<b>Located at</b> <a href="source-class-api.SpsApi.html#9-40" title="Go to source code">api/SpsApi.php</a><br /> <b>Located at</b> <a href="source-class-api.SpsApi.html#10-211" title="Go to source code">api/SpsApi.php</a><br />
</div> </div>
@@ -157,7 +161,7 @@
<td class="name"><div> <td class="name"><div>
<a class="anchor" href="#___construct">#</a> <a class="anchor" href="#___construct">#</a>
<code><a href="source-class-api.SpsApi.html#16-22" title="Go to source code">__construct</a>( )</code> <code><a href="source-class-api.SpsApi.html#113-119" title="Go to source code">__construct</a>( )</code>
<div class="description short"> <div class="description short">
@@ -192,7 +196,7 @@
<td class="name"><div> <td class="name"><div>
<a class="anchor" href="#___destruct">#</a> <a class="anchor" href="#___destruct">#</a>
<code><a href="source-class-api.SpsApi.html#24-29" title="Go to source code">__destruct</a>( )</code> <code><a href="source-class-api.SpsApi.html#121-126" title="Go to source code">__destruct</a>( )</code>
<div class="description short"> <div class="description short">
@@ -216,28 +220,28 @@
</div> </div>
</div></td> </div></td>
</tr> </tr>
<tr data-order="sendSpsQuery" id="_sendSpsQuery"> <tr data-order="sendSpsAliasQuery" id="_sendSpsAliasQuery">
<td class="attributes"><code> <td class="attributes"><code>
public public
array[num] querry
</code> </code>
</td> </td>
<td class="name"><div> <td class="name"><div>
<a class="anchor" href="#_sendSpsQuery">#</a> <a class="anchor" href="#_sendSpsAliasQuery">#</a>
<code><a href="source-class-api.SpsApi.html#31-38" title="Go to source code">sendSpsQuery</a>( <span>array <var>$queryArgs</var> = <span class="php-keyword1">array</span>()</span> )</code> <code><a href="source-class-api.SpsApi.html#128-136" title="Go to source code">sendSpsAliasQuery</a>( <span>array <var>$queryArgs</var></span> )</code>
<div class="description short"> <div class="description short">
<p>Method stert a sps-query</p> <p>Method start a sps-query(alias)</p>
</div> </div>
<div class="description detailed hidden"> <div class="description detailed hidden">
<p>Method stert a sps-query</p> <p>Method start a sps-query(alias)</p>
@@ -249,7 +253,49 @@
<h4>Returns</h4> <h4>Returns</h4>
<div class="list"> <div class="list">
<code>array[num]</code><br>[assoc]<br /> <code>querry</code><br>result as xml<br />
</div>
</div>
</div></td>
</tr>
<tr data-order="sendSpsCoordinateQuery" id="_sendSpsCoordinateQuery">
<td class="attributes"><code>
public
querry
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_sendSpsCoordinateQuery">#</a>
<code><a href="source-class-api.SpsApi.html#138-162" title="Go to source code">sendSpsCoordinateQuery</a>( <span>array <var>$queryArgs</var></span> )</code>
<div class="description short">
<p>Method start a sps-query(Coordinates)</p>
</div>
<div class="description detailed hidden">
<p>Method start a sps-query(Coordinates)</p>
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$queryArgs</var></dt>
<dd><code>array</code><br>$queryArgs</dd>
</dl></div>
<h4>Returns</h4>
<div class="list">
<code>querry</code><br>result as xml<br />
</div> </div>
@@ -351,6 +397,252 @@
<table class="summary" id="properties">
<caption>Properties summary</caption>
<tr data-order="routeParameterAlias" id="$routeParameterAlias">
<td class="attributes"><code>
public static
string
</code></td>
<td class="name">
<a href="source-class-api.SpsApi.html#17-21" title="Go to source code"><var>$routeParameterAlias</var></a>
</td>
<td class="value"><code><span class="php-quote">&quot;/alias/:alias&quot;</span></code></td>
<td class="description"><div>
<a href="#$routeParameterAlias" class="anchor">#</a>
<div class="description short">
<p>Route string for the alias paramter</p>
</div>
<div class="description detailed hidden">
<p>Route string for the alias paramter</p>
</div>
</div></td>
</tr>
<tr data-order="routeParameterDomain" id="$routeParameterDomain">
<td class="attributes"><code>
public static
string
</code></td>
<td class="name">
<a href="source-class-api.SpsApi.html#23-27" title="Go to source code"><var>$routeParameterDomain</var></a>
</td>
<td class="value"><code><span class="php-quote">&quot;/domain/:domain&quot;</span></code></td>
<td class="description"><div>
<a href="#$routeParameterDomain" class="anchor">#</a>
<div class="description short">
<p>Route string for the domain paramter</p>
</div>
<div class="description detailed hidden">
<p>Route string for the domain paramter</p>
</div>
</div></td>
</tr>
<tr data-order="routeParameterLongitude" id="$routeParameterLongitude">
<td class="attributes"><code>
public static
string
</code></td>
<td class="name">
<a href="source-class-api.SpsApi.html#29-33" title="Go to source code"><var>$routeParameterLongitude</var></a>
</td>
<td class="value"><code><span class="php-quote">&quot;/longitude/:longitude&quot;</span></code></td>
<td class="description"><div>
<a href="#$routeParameterLongitude" class="anchor">#</a>
<div class="description short">
<p>Route string for the Longitude paramter</p>
</div>
<div class="description detailed hidden">
<p>Route string for the Longitude paramter</p>
</div>
</div></td>
</tr>
<tr data-order="routeParameterLatitude" id="$routeParameterLatitude">
<td class="attributes"><code>
public static
string
</code></td>
<td class="name">
<a href="source-class-api.SpsApi.html#35-39" title="Go to source code"><var>$routeParameterLatitude</var></a>
</td>
<td class="value"><code><span class="php-quote">&quot;/latitude/:latitude&quot;</span></code></td>
<td class="description"><div>
<a href="#$routeParameterLatitude" class="anchor">#</a>
<div class="description short">
<p>Route string for the latitude paramter</p>
</div>
<div class="description detailed hidden">
<p>Route string for the latitude paramter</p>
</div>
</div></td>
</tr>
<tr data-order="keyAlias" id="$keyAlias">
<td class="attributes"><code>
public static
string
</code></td>
<td class="name">
<a href="source-class-api.SpsApi.html#41-45" title="Go to source code"><var>$keyAlias</var></a>
</td>
<td class="value"><code><span class="php-quote">&quot;alias&quot;</span></code></td>
<td class="description"><div>
<a href="#$keyAlias" class="anchor">#</a>
<div class="description short">
<p>Keyword for alias arguments</p>
</div>
<div class="description detailed hidden">
<p>Keyword for alias arguments</p>
</div>
</div></td>
</tr>
<tr data-order="keyDomain" id="$keyDomain">
<td class="attributes"><code>
public static
string
</code></td>
<td class="name">
<a href="source-class-api.SpsApi.html#47-51" title="Go to source code"><var>$keyDomain</var></a>
</td>
<td class="value"><code><span class="php-quote">&quot;domain&quot;</span></code></td>
<td class="description"><div>
<a href="#$keyDomain" class="anchor">#</a>
<div class="description short">
<p>Keyword for domain arguments</p>
</div>
<div class="description detailed hidden">
<p>Keyword for domain arguments</p>
</div>
</div></td>
</tr>
<tr data-order="keyPoly" id="$keyPoly">
<td class="attributes"><code>
public static
string
</code></td>
<td class="name">
<a href="source-class-api.SpsApi.html#53-57" title="Go to source code"><var>$keyPoly</var></a>
</td>
<td class="value"><code><span class="php-quote">&quot;poly&quot;</span></code></td>
<td class="description"><div>
<a href="#$keyPoly" class="anchor">#</a>
<div class="description short">
<p>Keyword for polygon arguments</p>
</div>
<div class="description detailed hidden">
<p>Keyword for polygon arguments</p>
</div>
</div></td>
</tr>
<tr data-order="keyLong" id="$keyLong">
<td class="attributes"><code>
public static
string
</code></td>
<td class="name">
<a href="source-class-api.SpsApi.html#59-63" title="Go to source code"><var>$keyLong</var></a>
</td>
<td class="value"><code><span class="php-quote">&quot;longitude&quot;</span></code></td>
<td class="description"><div>
<a href="#$keyLong" class="anchor">#</a>
<div class="description short">
<p>Keyword for longitude arguments</p>
</div>
<div class="description detailed hidden">
<p>Keyword for longitude arguments</p>
</div>
</div></td>
</tr>
<tr data-order="keyLat" id="$keyLat">
<td class="attributes"><code>
public static
string
</code></td>
<td class="name">
<a href="source-class-api.SpsApi.html#65-69" title="Go to source code"><var>$keyLat</var></a>
</td>
<td class="value"><code><span class="php-quote">&quot;latitude&quot;</span></code></td>
<td class="description"><div>
<a href="#$keyLat" class="anchor">#</a>
<div class="description short">
<p>Keyword for latitude arguments</p>
</div>
<div class="description detailed hidden">
<p>Keyword for latitude arguments</p>
</div>
</div></td>
</tr>
</table>
<table class="summary inherited"> <table class="summary inherited">
<caption>Properties inherited from <a href="class-api.Api.html#properties">api\Api</a></caption> <caption>Properties inherited from <a href="class-api.Api.html#properties">api\Api</a></caption>

View File

@@ -7,7 +7,7 @@
<title>Class config\DBConfig | GeoApi</title> <title>Class config\DBConfig | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>
@@ -113,7 +115,11 @@
<b>Namespace:</b> <a href="namespace-config.html">config</a><br /> <b>Namespace:</b> <a href="namespace-config.html">config</a><br />
<b>Located at</b> <a href="source-class-config.DBConfig.html#5-30" title="Go to source code">config/config.db.php</a><br /> <b>Author:</b>
stubbfel<br />
<b>Since:</b>
20.06.2013<br />
<b>Located at</b> <a href="source-class-config.DBConfig.html#5-37" title="Go to source code">config/config.db.php</a><br />
</div> </div>
@@ -139,7 +145,7 @@
</code></td> </code></td>
<td class="name"> <td class="name">
<a href="source-class-config.DBConfig.html#10-13" title="Go to source code"><var>$sqlServer</var></a> <a href="source-class-config.DBConfig.html#13-17" title="Go to source code"><var>$sqlServer</var></a>
</td> </td>
<td class="value"><code><span class="php-quote">&quot;localhost&quot;</span></code></td> <td class="value"><code><span class="php-quote">&quot;localhost&quot;</span></code></td>
<td class="description"><div> <td class="description"><div>
@@ -166,7 +172,7 @@
</code></td> </code></td>
<td class="name"> <td class="name">
<a href="source-class-config.DBConfig.html#15-18" title="Go to source code"><var>$sqlDBName</var></a> <a href="source-class-config.DBConfig.html#19-23" title="Go to source code"><var>$sqlDBName</var></a>
</td> </td>
<td class="value"><code><span class="php-quote">&quot;geoDB&quot;</span></code></td> <td class="value"><code><span class="php-quote">&quot;geoDB&quot;</span></code></td>
<td class="description"><div> <td class="description"><div>
@@ -193,7 +199,7 @@
</code></td> </code></td>
<td class="name"> <td class="name">
<a href="source-class-config.DBConfig.html#20-23" title="Go to source code"><var>$sqlDBUser</var></a> <a href="source-class-config.DBConfig.html#25-29" title="Go to source code"><var>$sqlDBUser</var></a>
</td> </td>
<td class="value"><code><span class="php-quote">&quot;geoDB&quot;</span></code></td> <td class="value"><code><span class="php-quote">&quot;geoDB&quot;</span></code></td>
<td class="description"><div> <td class="description"><div>
@@ -220,7 +226,7 @@
</code></td> </code></td>
<td class="name"> <td class="name">
<a href="source-class-config.DBConfig.html#25-28" title="Go to source code"><var>$sqlDBUserPW</var></a> <a href="source-class-config.DBConfig.html#31-35" title="Go to source code"><var>$sqlDBUserPW</var></a>
</td> </td>
<td class="value"><code><span class="php-quote">&quot;VZrSAYvmcrntQ97b&quot;</span></code></td> <td class="value"><code><span class="php-quote">&quot;VZrSAYvmcrntQ97b&quot;</span></code></td>
<td class="description"><div> <td class="description"><div>

View File

@@ -0,0 +1,364 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="ApiGen 2.8.0" />
<title>Class database\PisSqlManager | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
<div id="groups">
<h3>Namespaces</h3>
<ul>
<li><a href="namespace-api.html">api</a>
</li>
<li><a href="namespace-config.html">config</a>
</li>
<li class="active"><a href="namespace-database.html">database</a>
</li>
<li><a href="namespace-PHP.html">PHP</a>
</li>
<li><a href="namespace-Slim.html">Slim<span></span></a>
<ul>
<li><a href="namespace-Slim.Exception.html">Exception</a>
</li>
<li><a href="namespace-Slim.Http.html">Http</a>
</li>
<li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li>
</ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul>
</div>
<hr />
<div id="elements">
<h3>Classes</h3>
<ul>
<li class="active"><a href="class-database.PisSqlManager.html">PisSqlManager</a></li>
<li><a href="class-database.PssSqlManager.html">PssSqlManager</a></li>
<li><a href="class-database.SpsSqlManager.html">SpsSqlManager</a></li>
<li><a href="class-database.SqlManager.html">SqlManager</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" />
<input type="submit" value="Search" />
</form>
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="namespace-database.html" title="Summary of database"><span>Namespace</span></a>
</li>
<li class="active">
<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>
</ul>
</div>
<div id="content" class="class">
<h1>Class PisSqlManager</h1>
<div class="description">
<p>Description of PisSqlManager</p>
</div>
<dl class="tree">
<dd style="padding-left:0px">
database\SQLManager
</dd>
<dd style="padding-left:30px">
<img src="resources/inherit.png" alt="Extended by" />
<b><span>database\PisSqlManager</span></b>
</dd>
</dl>
<div class="info">
<b>Namespace:</b> <a href="namespace-database.html">database</a><br />
<b>Author:</b>
stubbfel<br />
<b>Since:</b>
20.06.2013<br />
<b>Located at</b> <a href="source-class-database.PisSqlManager.html#9-85" title="Go to source code">database/PisSqlManager.php</a><br />
</div>
<table class="summary" id="methods">
<caption>Methods summary</caption>
<tr data-order="__construct" id="___construct">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#___construct">#</a>
<code><a href="source-class-database.PisSqlManager.html#53-58" title="Go to source code">__construct</a>( )</code>
<div class="description short">
<p>Default-Constructor</p>
</div>
<div class="description detailed hidden">
<p>Default-Constructor</p>
</div>
</div></td>
</tr>
<tr data-order="__destruct" id="___destruct">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#___destruct">#</a>
<code><a href="source-class-database.PisSqlManager.html#60-65" title="Go to source code">__destruct</a>( )</code>
<div class="description short">
<p>Default-DeConstructor</p>
</div>
<div class="description detailed hidden">
<p>Default-DeConstructor</p>
</div>
</div></td>
</tr>
<tr data-order="sendPisQuery" id="_sendPisQuery">
<td class="attributes"><code>
public
array
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_sendPisQuery">#</a>
<code><a href="source-class-database.PisSqlManager.html#67-84" title="Go to source code">sendPisQuery</a>( <span>array <var>$queryArgs</var></span> )</code>
<div class="description short">
<p>Methods send an query for the pis-service</p>
</div>
<div class="description detailed hidden">
<p>Methods send an query for the pis-service</p>
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$queryArgs</var></dt>
<dd><code>array</code><br>$queryArgs</dd>
</dl></div>
<h4>Returns</h4>
<div class="list">
<code>array</code><br>[num][assoc]<br />
</div>
</div>
</div></td>
</tr>
</table>
<table class="summary" id="properties">
<caption>Properties summary</caption>
<tr data-order="placeId" id="$placeId">
<td class="attributes"><code>
public static
string
</code></td>
<td class="name">
<a href="source-class-database.PisSqlManager.html#17-21" title="Go to source code"><var>$placeId</var></a>
</td>
<td class="value"><code><span class="php-quote">&quot;pid&quot;</span></code></td>
<td class="description"><div>
<a href="#$placeId" class="anchor">#</a>
<div class="description short">
<p>Fieldname of the placeID</p>
</div>
<div class="description detailed hidden">
<p>Fieldname of the placeID</p>
</div>
</div></td>
</tr>
<tr data-order="infName" id="$infName">
<td class="attributes"><code>
public static
string
</code></td>
<td class="name">
<a href="source-class-database.PisSqlManager.html#23-27" title="Go to source code"><var>$infName</var></a>
</td>
<td class="value"><code><span class="php-quote">&quot;iName&quot;</span></code></td>
<td class="description"><div>
<a href="#$infName" class="anchor">#</a>
<div class="description short">
<p>Fieldname of the name of the information</p>
</div>
<div class="description detailed hidden">
<p>Fieldname of the name of the information</p>
</div>
</div></td>
</tr>
<tr data-order="infValue" id="$infValue">
<td class="attributes"><code>
public static
string
</code></td>
<td class="name">
<a href="source-class-database.PisSqlManager.html#29-33" title="Go to source code"><var>$infValue</var></a>
</td>
<td class="value"><code><span class="php-quote">&quot;iValue&quot;</span></code></td>
<td class="description"><div>
<a href="#$infValue" class="anchor">#</a>
<div class="description short">
<p>Fieldname of the value of the information</p>
</div>
<div class="description detailed hidden">
<p>Fieldname of the value of the information</p>
</div>
</div></td>
</tr>
</table>
</div>
<div id="footer">
GeoApi API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,391 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="ApiGen 2.8.0" />
<title>Class database\PssSqlManager | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
<div id="groups">
<h3>Namespaces</h3>
<ul>
<li><a href="namespace-api.html">api</a>
</li>
<li><a href="namespace-config.html">config</a>
</li>
<li class="active"><a href="namespace-database.html">database</a>
</li>
<li><a href="namespace-PHP.html">PHP</a>
</li>
<li><a href="namespace-Slim.html">Slim<span></span></a>
<ul>
<li><a href="namespace-Slim.Exception.html">Exception</a>
</li>
<li><a href="namespace-Slim.Http.html">Http</a>
</li>
<li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li>
</ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul>
</div>
<hr />
<div id="elements">
<h3>Classes</h3>
<ul>
<li><a href="class-database.PisSqlManager.html">PisSqlManager</a></li>
<li class="active"><a href="class-database.PssSqlManager.html">PssSqlManager</a></li>
<li><a href="class-database.SpsSqlManager.html">SpsSqlManager</a></li>
<li><a href="class-database.SqlManager.html">SqlManager</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" />
<input type="submit" value="Search" />
</form>
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="namespace-database.html" title="Summary of database"><span>Namespace</span></a>
</li>
<li class="active">
<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>
</ul>
</div>
<div id="content" class="class">
<h1>Class PssSqlManager</h1>
<div class="description">
<p>Description of PssSqlManager</p>
</div>
<dl class="tree">
<dd style="padding-left:0px">
database\SQLManager
</dd>
<dd style="padding-left:30px">
<img src="resources/inherit.png" alt="Extended by" />
<b><span>database\PssSqlManager</span></b>
</dd>
</dl>
<div class="info">
<b>Namespace:</b> <a href="namespace-database.html">database</a><br />
<b>Author:</b>
stubbfel<br />
<b>Since:</b>
20.06.2013<br />
<b>Located at</b> <a href="source-class-database.PssSqlManager.html#9-93" title="Go to source code">database/PssSqlManager.php</a><br />
</div>
<table class="summary" id="methods">
<caption>Methods summary</caption>
<tr data-order="__construct" id="___construct">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#___construct">#</a>
<code><a href="source-class-database.PssSqlManager.html#59-64" title="Go to source code">__construct</a>( )</code>
<div class="description short">
<p>Default-Constructor</p>
</div>
<div class="description detailed hidden">
<p>Default-Constructor</p>
</div>
</div></td>
</tr>
<tr data-order="__destruct" id="___destruct">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#___destruct">#</a>
<code><a href="source-class-database.PssSqlManager.html#66-71" title="Go to source code">__destruct</a>( )</code>
<div class="description short">
<p>Default-DeConstructor</p>
</div>
<div class="description detailed hidden">
<p>Default-DeConstructor</p>
</div>
</div></td>
</tr>
<tr data-order="sendPssQuery" id="_sendPssQuery">
<td class="attributes"><code>
public
array
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_sendPssQuery">#</a>
<code><a href="source-class-database.PssSqlManager.html#73-91" title="Go to source code">sendPssQuery</a>( <span>array <var>$queryArgs</var></span> )</code>
<div class="description short">
<p>Methods send an query for the pis-service</p>
</div>
<div class="description detailed hidden">
<p>Methods send an query for the pis-service</p>
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$queryArgs</var></dt>
<dd><code>array</code><br>$queryArgs</dd>
</dl></div>
<h4>Returns</h4>
<div class="list">
<code>array</code><br>[num][assoc]<br />
</div>
</div>
</div></td>
</tr>
</table>
<table class="summary" id="properties">
<caption>Properties summary</caption>
<tr data-order="placeId" id="$placeId">
<td class="attributes"><code>
public static
string
</code></td>
<td class="name">
<a href="source-class-database.PssSqlManager.html#17-21" title="Go to source code"><var>$placeId</var></a>
</td>
<td class="value"><code><span class="php-quote">&quot;pid&quot;</span></code></td>
<td class="description"><div>
<a href="#$placeId" class="anchor">#</a>
<div class="description short">
<p>Fieldname of the placeID</p>
</div>
<div class="description detailed hidden">
<p>Fieldname of the placeID</p>
</div>
</div></td>
</tr>
<tr data-order="srvName" id="$srvName">
<td class="attributes"><code>
public static
string
</code></td>
<td class="name">
<a href="source-class-database.PssSqlManager.html#23-27" title="Go to source code"><var>$srvName</var></a>
</td>
<td class="value"><code><span class="php-quote">&quot;sName&quot;</span></code></td>
<td class="description"><div>
<a href="#$srvName" class="anchor">#</a>
<div class="description short">
<p>Fieldname of the name of the service</p>
</div>
<div class="description detailed hidden">
<p>Fieldname of the name of the service</p>
</div>
</div></td>
</tr>
<tr data-order="srvSap" id="$srvSap">
<td class="attributes"><code>
public static
string
</code></td>
<td class="name">
<a href="source-class-database.PssSqlManager.html#29-33" title="Go to source code"><var>$srvSap</var></a>
</td>
<td class="value"><code><span class="php-quote">&quot;sap&quot;</span></code></td>
<td class="description"><div>
<a href="#$srvSap" class="anchor">#</a>
<div class="description short">
<p>Fieldname of the value of the information</p>
</div>
<div class="description detailed hidden">
<p>Fieldname of the value of the information</p>
</div>
</div></td>
</tr>
<tr data-order="srvRequest" id="$srvRequest">
<td class="attributes"><code>
public static
string
</code></td>
<td class="name">
<a href="source-class-database.PssSqlManager.html#35-39" title="Go to source code"><var>$srvRequest</var></a>
</td>
<td class="value"><code><span class="php-quote">&quot;request&quot;</span></code></td>
<td class="description"><div>
<a href="#$srvRequest" class="anchor">#</a>
<div class="description short">
<p>Fieldname of the value of the information</p>
</div>
<div class="description detailed hidden">
<p>Fieldname of the value of the information</p>
</div>
</div></td>
</tr>
</table>
</div>
<div id="footer">
GeoApi API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>

View File

@@ -7,7 +7,7 @@
<title>Class database\SpsSqlManager | GeoApi</title> <title>Class database\SpsSqlManager | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>
@@ -47,6 +49,8 @@
<div id="elements"> <div id="elements">
<h3>Classes</h3> <h3>Classes</h3>
<ul> <ul>
<li><a href="class-database.PisSqlManager.html">PisSqlManager</a></li>
<li><a href="class-database.PssSqlManager.html">PssSqlManager</a></li>
<li class="active"><a href="class-database.SpsSqlManager.html">SpsSqlManager</a></li> <li class="active"><a href="class-database.SpsSqlManager.html">SpsSqlManager</a></li>
<li><a href="class-database.SqlManager.html">SqlManager</a></li> <li><a href="class-database.SqlManager.html">SqlManager</a></li>
</ul> </ul>
@@ -131,7 +135,7 @@ database\SQLManager
stubbfel<br /> stubbfel<br />
<b>Since:</b> <b>Since:</b>
20.06.2013<br /> 20.06.2013<br />
<b>Located at</b> <a href="source-class-database.SpsSqlManager.html#9-42" title="Go to source code">database/SpsSqlManager.php</a><br /> <b>Located at</b> <a href="source-class-database.SpsSqlManager.html#9-228" title="Go to source code">database/SpsSqlManager.php</a><br />
</div> </div>
@@ -149,7 +153,7 @@ database\SQLManager
<td class="name"><div> <td class="name"><div>
<a class="anchor" href="#___construct">#</a> <a class="anchor" href="#___construct">#</a>
<code><a href="source-class-database.SpsSqlManager.html#17-22" title="Go to source code">__construct</a>( )</code> <code><a href="source-class-database.SpsSqlManager.html#89-94" title="Go to source code">__construct</a>( )</code>
<div class="description short"> <div class="description short">
@@ -182,7 +186,7 @@ database\SQLManager
<td class="name"><div> <td class="name"><div>
<a class="anchor" href="#___destruct">#</a> <a class="anchor" href="#___destruct">#</a>
<code><a href="source-class-database.SpsSqlManager.html#24-29" title="Go to source code">__destruct</a>( )</code> <code><a href="source-class-database.SpsSqlManager.html#96-101" title="Go to source code">__destruct</a>( )</code>
<div class="description short"> <div class="description short">
@@ -204,7 +208,7 @@ database\SQLManager
</div> </div>
</div></td> </div></td>
</tr> </tr>
<tr data-order="sendSpsQuery" id="_sendSpsQuery"> <tr data-order="sendSpsAliasQuery" id="_sendSpsAliasQuery">
<td class="attributes"><code> <td class="attributes"><code>
public public
@@ -214,18 +218,60 @@ database\SQLManager
</td> </td>
<td class="name"><div> <td class="name"><div>
<a class="anchor" href="#_sendSpsQuery">#</a> <a class="anchor" href="#_sendSpsAliasQuery">#</a>
<code><a href="source-class-database.SpsSqlManager.html#31-40" title="Go to source code">sendSpsQuery</a>( <span>array <var>$queryArgs</var> = <span class="php-keyword1">array</span>()</span> )</code> <code><a href="source-class-database.SpsSqlManager.html#103-132" title="Go to source code">sendSpsAliasQuery</a>( <span>array <var>$queryArgs</var></span> )</code>
<div class="description short"> <div class="description short">
<p>Methods send an query for the sps-service</p> <p>Methods send an query for the sps-service depends of alias</p>
</div> </div>
<div class="description detailed hidden"> <div class="description detailed hidden">
<p>Methods send an query for the sps-service</p> <p>Methods send an query for the sps-service depends of alias</p>
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$queryArgs</var></dt>
<dd><code>array</code><br>$queryArgs</dd>
</dl></div>
<h4>Returns</h4>
<div class="list">
<code>array</code><br>[num][assoc]<br />
</div>
</div>
</div></td>
</tr>
<tr data-order="sendSpsCoordinateQuery" id="_sendSpsCoordinateQuery">
<td class="attributes"><code>
public
array
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_sendSpsCoordinateQuery">#</a>
<code><a href="source-class-database.SpsSqlManager.html#134-162" title="Go to source code">sendSpsCoordinateQuery</a>( <span>array <var>$queryArgs</var></span> )</code>
<div class="description short">
<p>Methods send an query for the sps-service depends of coordinates</p>
</div>
<div class="description detailed hidden">
<p>Methods send an query for the sps-service depends of coordinates</p>
@@ -259,6 +305,63 @@ database\SQLManager
<table class="summary" id="properties">
<caption>Properties summary</caption>
<tr data-order="placeId" id="$placeId">
<td class="attributes"><code>
public static
string
</code></td>
<td class="name">
<a href="source-class-database.SpsSqlManager.html#17-21" title="Go to source code"><var>$placeId</var></a>
</td>
<td class="value"><code><span class="php-quote">&quot;id&quot;</span></code></td>
<td class="description"><div>
<a href="#$placeId" class="anchor">#</a>
<div class="description short">
<p>Fieldname of the placeID</p>
</div>
<div class="description detailed hidden">
<p>Fieldname of the placeID</p>
</div>
</div></td>
</tr>
<tr data-order="parentId" id="$parentId">
<td class="attributes"><code>
public static
string
</code></td>
<td class="name">
<a href="source-class-database.SpsSqlManager.html#23-27" title="Go to source code"><var>$parentId</var></a>
</td>
<td class="value"><code><span class="php-quote">&quot;parent&quot;</span></code></td>
<td class="description"><div>
<a href="#$parentId" class="anchor">#</a>
<div class="description short">
<p>Fieldname of the parendId</p>
</div>
<div class="description detailed hidden">
<p>Fieldname of the parendId</p>
</div>
</div></td>
</tr>
</table>

View File

@@ -7,7 +7,7 @@
<title>Class database\SqlManager | GeoApi</title> <title>Class database\SqlManager | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>
@@ -47,6 +49,8 @@
<div id="elements"> <div id="elements">
<h3>Classes</h3> <h3>Classes</h3>
<ul> <ul>
<li><a href="class-database.PisSqlManager.html">PisSqlManager</a></li>
<li><a href="class-database.PssSqlManager.html">PssSqlManager</a></li>
<li><a href="class-database.SpsSqlManager.html">SpsSqlManager</a></li> <li><a href="class-database.SpsSqlManager.html">SpsSqlManager</a></li>
<li class="active"><a href="class-database.SqlManager.html">SqlManager</a></li> <li class="active"><a href="class-database.SqlManager.html">SqlManager</a></li>
</ul> </ul>
@@ -118,7 +122,7 @@
stubbfel<br /> stubbfel<br />
<b>Since:</b> <b>Since:</b>
20.06.2013<br /> 20.06.2013<br />
<b>Located at</b> <a href="source-class-database.SqlManager.html#8-111" title="Go to source code">database/SqlManager.php</a><br /> <b>Located at</b> <a href="source-class-database.SqlManager.html#8-139" title="Go to source code">database/SqlManager.php</a><br />
</div> </div>
@@ -136,7 +140,7 @@
<td class="name"><div> <td class="name"><div>
<a class="anchor" href="#___construct">#</a> <a class="anchor" href="#___construct">#</a>
<code><a href="source-class-database.SqlManager.html#45-54" title="Go to source code">__construct</a>( )</code> <code><a href="source-class-database.SqlManager.html#63-71" title="Go to source code">__construct</a>( )</code>
<div class="description short"> <div class="description short">
@@ -169,7 +173,7 @@
<td class="name"><div> <td class="name"><div>
<a class="anchor" href="#___destruct">#</a> <a class="anchor" href="#___destruct">#</a>
<code><a href="source-class-database.SqlManager.html#56-65" title="Go to source code">__destruct</a>( )</code> <code><a href="source-class-database.SqlManager.html#73-86" title="Go to source code">__destruct</a>( )</code>
<div class="description short"> <div class="description short">
@@ -202,7 +206,7 @@
<td class="name"><div> <td class="name"><div>
<a class="anchor" href="#_connect">#</a> <a class="anchor" href="#_connect">#</a>
<code><a href="source-class-database.SqlManager.html#67-79" title="Go to source code">connect</a>( )</code> <code><a href="source-class-database.SqlManager.html#88-100" title="Go to source code">connect</a>( )</code>
<div class="description short"> <div class="description short">
@@ -235,7 +239,7 @@
<td class="name"><div> <td class="name"><div>
<a class="anchor" href="#_closeConnection">#</a> <a class="anchor" href="#_closeConnection">#</a>
<code><a href="source-class-database.SqlManager.html#81-89" title="Go to source code">closeConnection</a>( )</code> <code><a href="source-class-database.SqlManager.html#102-111" title="Go to source code">closeConnection</a>( )</code>
<div class="description short"> <div class="description short">
@@ -268,7 +272,7 @@
<td class="name"><div> <td class="name"><div>
<a class="anchor" href="#_query">#</a> <a class="anchor" href="#_query">#</a>
<code><a href="source-class-database.SqlManager.html#91-109" title="Go to source code">query</a>( <span>string <var>$query</var></span> )</code> <code><a href="source-class-database.SqlManager.html#113-138" title="Go to source code">query</a>( <span>string <var>$query</var></span> )</code>
<div class="description short"> <div class="description short">
@@ -312,6 +316,90 @@
<table class="summary" id="properties">
<caption>Properties summary</caption>
<tr data-order="andTerm" id="$andTerm">
<td class="attributes"><code>
protected
string
</code></td>
<td class="name">
<a href="source-class-database.SqlManager.html#45-49" title="Go to source code"><var>$andTerm</var></a>
</td>
<td class="value"><code><span class="php-quote">&quot; and &quot;</span></code></td>
<td class="description"><div>
<a href="#$andTerm" class="anchor">#</a>
<div class="description short">
<p>String for an and-operrator</p>
</div>
<div class="description detailed hidden">
<p>String for an and-operrator</p>
</div>
</div></td>
</tr>
<tr data-order="orTerm" id="$orTerm">
<td class="attributes"><code>
protected
string
</code></td>
<td class="name">
<a href="source-class-database.SqlManager.html#51-55" title="Go to source code"><var>$orTerm</var></a>
</td>
<td class="value"><code><span class="php-quote">&quot; or &quot;</span></code></td>
<td class="description"><div>
<a href="#$orTerm" class="anchor">#</a>
<div class="description short">
<p>String for an or-operrator</p>
</div>
<div class="description detailed hidden">
<p>String for an or-operrator</p>
</div>
</div></td>
</tr>
<tr data-order="quoteTerm" id="$quoteTerm">
<td class="attributes"><code>
protected
string
</code></td>
<td class="name">
<a href="source-class-database.SqlManager.html#57-61" title="Go to source code"><var>$quoteTerm</var></a>
</td>
<td class="value"><code><span class="php-quote">&quot;\&quot;&quot;</span></code></td>
<td class="description"><div>
<a href="#$quoteTerm" class="anchor">#</a>
<div class="description short">
<p>String for quotes in a query</p>
</div>
<div class="description detailed hidden">
<p>String for quotes in a query</p>
</div>
</div></td>
</tr>
</table>

View File

@@ -0,0 +1,292 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="ApiGen 2.8.0" />
<title>Class utiliy\ArrayManager | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
<div id="groups">
<h3>Namespaces</h3>
<ul>
<li><a href="namespace-api.html">api</a>
</li>
<li><a href="namespace-config.html">config</a>
</li>
<li><a href="namespace-database.html">database</a>
</li>
<li><a href="namespace-PHP.html">PHP</a>
</li>
<li><a href="namespace-Slim.html">Slim<span></span></a>
<ul>
<li><a href="namespace-Slim.Exception.html">Exception</a>
</li>
<li><a href="namespace-Slim.Http.html">Http</a>
</li>
<li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li>
</ul></li>
<li class="active"><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul>
</div>
<hr />
<div id="elements">
<h3>Classes</h3>
<ul>
<li class="active"><a href="class-utiliy.ArrayManager.html">ArrayManager</a></li>
<li><a href="class-utiliy.StringManager.html">StringManager</a></li>
<li><a href="class-utiliy.XmlManager.html">XmlManager</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" />
<input type="submit" value="Search" />
</form>
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="namespace-utiliy.html" title="Summary of utiliy"><span>Namespace</span></a>
</li>
<li class="active">
<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>
</ul>
</div>
<div id="content" class="class">
<h1>Class ArrayManager</h1>
<div class="description">
<p>The ArrayManager provides some array-methods</p>
</div>
<div class="info">
<b>Namespace:</b> <a href="namespace-utiliy.html">utiliy</a><br />
<b>Author:</b>
stubbfel<br />
<b>Since:</b>
26.06.2013<br />
<b>Located at</b> <a href="source-class-utiliy.ArrayManager.html#8-58" title="Go to source code">utility/ArrayManager.php</a><br />
</div>
<table class="summary" id="methods">
<caption>Methods summary</caption>
<tr data-order="removeEmptyItmes" id="_removeEmptyItmes">
<td class="attributes"><code>
public static
array
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_removeEmptyItmes">#</a>
<code><a href="source-class-utiliy.ArrayManager.html#15-27" title="Go to source code">removeEmptyItmes</a>( <span>array <var>$array</var></span> )</code>
<div class="description short">
<p>Method remove all empty itmes of an array</p>
</div>
<div class="description detailed hidden">
<p>Method remove all empty itmes of an array</p>
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$array</var></dt>
<dd><code>array</code><br>$queryArgs</dd>
</dl></div>
<h4>Returns</h4>
<div class="list">
<code>array</code><br />
</div>
</div>
</div></td>
</tr>
<tr data-order="toSqlWhereString" id="_toSqlWhereString">
<td class="attributes"><code>
public static
string
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_toSqlWhereString">#</a>
<code><a href="source-class-utiliy.ArrayManager.html#29-41" title="Go to source code">toSqlWhereString</a>( <span>array <var>$array</var></span>, <span>mixed <var>$operator</var> = <span class="php-quote">&quot;&quot;</span></span>, <span>mixed <var>$fieldname</var> = <span class="php-quote">&quot;&quot;</span></span> )</code>
<div class="description short">
<p>Method convert an array to a where-string like $fieldname = $array[i]
$operator</p>
</div>
<div class="description detailed hidden">
<p>Method convert an array to a where-string like $fieldname = $array[i]
$operator</p>
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$array</var></dt>
<dd><code>array</code><br>$pidList</dd>
<dt><var>$operator</var></dt>
<dd></dd>
<dt><var>$fieldname</var></dt>
<dd></dd>
</dl></div>
<h4>Returns</h4>
<div class="list">
<code>string</code><br />
</div>
</div>
</div></td>
</tr>
<tr data-order="validIntList" id="_validIntList">
<td class="attributes"><code>
public static
boolean
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_validIntList">#</a>
<code><a href="source-class-utiliy.ArrayManager.html#43-56" title="Go to source code">validIntList</a>( <span>array <var>$list</var></span> )</code>
<div class="description short">
<p>Method check if all items of the array are only digits and &lt;
PHP_INT_MAX</p>
</div>
<div class="description detailed hidden">
<p>Method check if all items of the array are only digits and &lt;
PHP_INT_MAX</p>
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$list</var></dt>
<dd><code>array</code><br>$poly</dd>
</dl></div>
<h4>Returns</h4>
<div class="list">
<code>boolean</code><br />
</div>
</div>
</div></td>
</tr>
</table>
</div>
<div id="footer">
GeoApi API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,320 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="ApiGen 2.8.0" />
<title>Class utiliy\StringManager | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
<div id="groups">
<h3>Namespaces</h3>
<ul>
<li><a href="namespace-api.html">api</a>
</li>
<li><a href="namespace-config.html">config</a>
</li>
<li><a href="namespace-database.html">database</a>
</li>
<li><a href="namespace-PHP.html">PHP</a>
</li>
<li><a href="namespace-Slim.html">Slim<span></span></a>
<ul>
<li><a href="namespace-Slim.Exception.html">Exception</a>
</li>
<li><a href="namespace-Slim.Http.html">Http</a>
</li>
<li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li>
</ul></li>
<li class="active"><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul>
</div>
<hr />
<div id="elements">
<h3>Classes</h3>
<ul>
<li><a href="class-utiliy.ArrayManager.html">ArrayManager</a></li>
<li class="active"><a href="class-utiliy.StringManager.html">StringManager</a></li>
<li><a href="class-utiliy.XmlManager.html">XmlManager</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" />
<input type="submit" value="Search" />
</form>
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="namespace-utiliy.html" title="Summary of utiliy"><span>Namespace</span></a>
</li>
<li class="active">
<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>
</ul>
</div>
<div id="content" class="class">
<h1>Class StringManager</h1>
<div class="description">
<p>The StringManager provides some string-methods</p>
</div>
<div class="info">
<b>Namespace:</b> <a href="namespace-utiliy.html">utiliy</a><br />
<b>Author:</b>
stubbfel<br />
<b>Since:</b>
25.06.2013<br />
<b>Located at</b> <a href="source-class-utiliy.StringManager.html#7-52" title="Go to source code">utility/StringManager.php</a><br />
</div>
<table class="summary" id="methods">
<caption>Methods summary</caption>
<tr data-order="startsWith" id="_startsWith">
<td class="attributes"><code>
public static
boolean
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_startsWith">#</a>
<code><a href="source-class-utiliy.StringManager.html#20-28" title="Go to source code">startsWith</a>( <span>string <var>$haystack</var></span>, <span>string <var>$needle</var></span> )</code>
<div class="description short">
<p>Method check if a certain string start with a certain substring</p>
</div>
<div class="description detailed hidden">
<p>Method check if a certain string start with a certain substring</p>
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$haystack</var></dt>
<dd><code>string</code><br>$haystack</dd>
<dt><var>$needle</var></dt>
<dd><code>string</code><br>$needle</dd>
</dl></div>
<h4>Returns</h4>
<div class="list">
<code>boolean</code><br />
</div>
</div>
</div></td>
</tr>
<tr data-order="endsWith" id="_endsWith">
<td class="attributes"><code>
public static
boolean
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_endsWith">#</a>
<code><a href="source-class-utiliy.StringManager.html#30-38" title="Go to source code">endsWith</a>( <span>string <var>$haystack</var></span>, <span>string <var>$needle</var></span> )</code>
<div class="description short">
<p>Method check if a certain string end with a certain substring</p>
</div>
<div class="description detailed hidden">
<p>Method check if a certain string end with a certain substring</p>
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$haystack</var></dt>
<dd><code>string</code><br>$haystack</dd>
<dt><var>$needle</var></dt>
<dd><code>string</code><br>$needle</dd>
</dl></div>
<h4>Returns</h4>
<div class="list">
<code>boolean</code><br />
</div>
</div>
</div></td>
</tr>
<tr data-order="validSQLString" id="_validSQLString">
<td class="attributes"><code>
public static
boolean
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_validSQLString">#</a>
<code><a href="source-class-utiliy.StringManager.html#40-50" title="Go to source code">validSQLString</a>( <span>string <var>$string</var></span> )</code>
<div class="description short">
<p>Method if the string is not a empty String (not only spaces and
controlls)</p>
</div>
<div class="description detailed hidden">
<p>Method if the string is not a empty String (not only spaces and
controlls)</p>
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$string</var></dt>
<dd><code>string</code><br>$string</dd>
</dl></div>
<h4>Returns</h4>
<div class="list">
<code>boolean</code><br />
</div>
</div>
</div></td>
</tr>
</table>
<table class="summary" id="properties">
<caption>Properties summary</caption>
<tr data-order="emptyString" id="$emptyString">
<td class="attributes"><code>
public static
string
</code></td>
<td class="name">
<a href="source-class-utiliy.StringManager.html#14-18" title="Go to source code"><var>$emptyString</var></a>
</td>
<td class="value"><code><span class="php-quote">&quot;&quot;</span></code></td>
<td class="description"><div>
<a href="#$emptyString" class="anchor">#</a>
<div class="description short">
<p>A Constant vor an emptystring like ""</p>
</div>
<div class="description detailed hidden">
<p>A Constant vor an emptystring like ""</p>
</div>
</div></td>
</tr>
</table>
</div>
<div id="footer">
GeoApi API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,296 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="ApiGen 2.8.0" />
<title>Class utiliy\XmlManager | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
<div id="groups">
<h3>Namespaces</h3>
<ul>
<li><a href="namespace-api.html">api</a>
</li>
<li><a href="namespace-config.html">config</a>
</li>
<li><a href="namespace-database.html">database</a>
</li>
<li><a href="namespace-PHP.html">PHP</a>
</li>
<li><a href="namespace-Slim.html">Slim<span></span></a>
<ul>
<li><a href="namespace-Slim.Exception.html">Exception</a>
</li>
<li><a href="namespace-Slim.Http.html">Http</a>
</li>
<li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li>
</ul></li>
<li class="active"><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul>
</div>
<hr />
<div id="elements">
<h3>Classes</h3>
<ul>
<li><a href="class-utiliy.ArrayManager.html">ArrayManager</a></li>
<li><a href="class-utiliy.StringManager.html">StringManager</a></li>
<li class="active"><a href="class-utiliy.XmlManager.html">XmlManager</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" />
<input type="submit" value="Search" />
</form>
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="namespace-utiliy.html" title="Summary of utiliy"><span>Namespace</span></a>
</li>
<li class="active">
<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>
</ul>
</div>
<div id="content" class="class">
<h1>Class XmlManager</h1>
<div class="description">
<p>The XmlManager provides some xml-methods</p>
</div>
<div class="info">
<b>Namespace:</b> <a href="namespace-utiliy.html">utiliy</a><br />
<b>Author:</b>
stubbfel<br />
<b>Since:</b>
25.06.2013<br />
<b>Located at</b> <a href="source-class-utiliy.XmlManager.html#7-161" title="Go to source code">utility/XmlManager.php</a><br />
</div>
<table class="summary" id="methods">
<caption>Methods summary</caption>
<tr data-order="arrayToSpsXml" id="_arrayToSpsXml">
<td class="attributes"><code>
public static
xml-string
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_arrayToSpsXml">#</a>
<code><a href="source-class-utiliy.XmlManager.html#74-90" title="Go to source code">arrayToSpsXml</a>( <span>array[num][assoc] <var>$result</var></span> )</code>
<div class="description short">
<p>Method convert an array to a response xml for the sps service &lt;place id
="4711" parentID=%0815"/&gt;</p>
</div>
<div class="description detailed hidden">
<p>Method convert an array to a response xml for the sps service &lt;place id
="4711" parentID=%0815"/&gt;</p>
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$result</var></dt>
<dd><code>array[num][assoc]</code><br>$result</dd>
</dl></div>
<h4>Returns</h4>
<div class="list">
<code>xml-string</code><br />
</div>
</div>
</div></td>
</tr>
<tr data-order="arrayToPisXml" id="_arrayToPisXml">
<td class="attributes"><code>
public static
xml-string
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_arrayToPisXml">#</a>
<code><a href="source-class-utiliy.XmlManager.html#92-122" title="Go to source code">arrayToPisXml</a>( <span>array[num][assoc] <var>$result</var></span> )</code>
<div class="description short">
<p>Method convert an array to a response xml for the pis service like &lt;place
id ="4711"&gt; &lt;placeInformation placeInformationName =
"key"&gt;Value&lt;/placeinformation&gt; &lt;/place&gt;</p>
</div>
<div class="description detailed hidden">
<p>Method convert an array to a response xml for the pis service like &lt;place
id ="4711"&gt; &lt;placeInformation placeInformationName =
"key"&gt;Value&lt;/placeinformation&gt; &lt;/place&gt;</p>
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$result</var></dt>
<dd><code>array[num][assoc]</code><br>$result</dd>
</dl></div>
<h4>Returns</h4>
<div class="list">
<code>xml-string</code><br />
</div>
</div>
</div></td>
</tr>
<tr data-order="arrayToPssXml" id="_arrayToPssXml">
<td class="attributes"><code>
public static
xml-string
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_arrayToPssXml">#</a>
<code><a href="source-class-utiliy.XmlManager.html#124-159" title="Go to source code">arrayToPssXml</a>( <span>array[num][assoc] <var>$result</var></span> )</code>
<div class="description short">
<p>Method convert an array to a response xml for the pss service &lt;place id
="4711"&gt; &lt;placeService placeServiceName = "key"&gt;
&lt;sap&gt;sapValue&lt;/sap&gt; &lt;request&gt;reqVaule&lt;/request&gt;
&lt;/placeService&gt; &lt;/place&gt;</p>
</div>
<div class="description detailed hidden">
<p>Method convert an array to a response xml for the pss service &lt;place id
="4711"&gt; &lt;placeService placeServiceName = "key"&gt;
&lt;sap&gt;sapValue&lt;/sap&gt; &lt;request&gt;reqVaule&lt;/request&gt;
&lt;/placeService&gt; &lt;/place&gt;</p>
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$result</var></dt>
<dd><code>array[num][assoc]</code><br>$result</dd>
</dl></div>
<h4>Returns</h4>
<div class="list">
<code>xml-string</code><br />
</div>
</div>
</div></td>
</tr>
</table>
</div>
<div id="footer">
GeoApi API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>

View File

@@ -1,3 +1,3 @@
var ApiGen = ApiGen || {}; var ApiGen = ApiGen || {};
ApiGen.elements = [["c","api\\Api"],["c","api\\SpsApi"],["c","ArrayAccess"],["c","ArrayIterator"],["c","config\\DBConfig"],["c","Countable"],["c","database\\SpsSqlManager"],["c","database\\SqlManager"],["c","ErrorException"],["c","Exception"],["c","InvalidArgumentException"],["c","Iterator"],["c","IteratorAggregate"],["c","LogicException"],["c","RuntimeException"],["c","SeekableIterator"],["c","Serializable"],["c","SimpleXMLElement"],["c","Slim\\Environment"],["c","Slim\\Exception\\Pass"],["c","Slim\\Exception\\Stop"],["c","Slim\\Http\\Headers"],["c","Slim\\Http\\Request"],["c","Slim\\Http\\Response"],["c","Slim\\Http\\Util"],["c","Slim\\Log"],["c","Slim\\LogWriter"],["c","Slim\\Middleware"],["c","Slim\\Middleware\\ContentTypes"],["c","Slim\\Middleware\\Flash"],["c","Slim\\Middleware\\MethodOverride"],["c","Slim\\Middleware\\PrettyExceptions"],["c","Slim\\Middleware\\SessionCookie"],["c","Slim\\Route"],["c","Slim\\Router"],["c","Slim\\Slim"],["c","Slim\\View"],["c","Traversable"]]; ApiGen.elements = [["c","api\\Api"],["c","api\\PisApi"],["c","api\\PssApi"],["c","api\\SpsApi"],["c","ArrayAccess"],["c","ArrayIterator"],["c","config\\DBConfig"],["c","Countable"],["c","database\\PisSqlManager"],["c","database\\PssSqlManager"],["c","database\\SpsSqlManager"],["c","database\\SqlManager"],["c","ErrorException"],["c","Exception"],["c","InvalidArgumentException"],["c","Iterator"],["c","IteratorAggregate"],["c","LogicException"],["c","RuntimeException"],["c","SeekableIterator"],["c","Serializable"],["c","SimpleXMLElement"],["c","Slim\\Environment"],["c","Slim\\Exception\\Pass"],["c","Slim\\Exception\\Stop"],["c","Slim\\Http\\Headers"],["c","Slim\\Http\\Request"],["c","Slim\\Http\\Response"],["c","Slim\\Http\\Util"],["c","Slim\\Log"],["c","Slim\\LogWriter"],["c","Slim\\Middleware"],["c","Slim\\Middleware\\ContentTypes"],["c","Slim\\Middleware\\Flash"],["c","Slim\\Middleware\\MethodOverride"],["c","Slim\\Middleware\\PrettyExceptions"],["c","Slim\\Middleware\\SessionCookie"],["c","Slim\\Route"],["c","Slim\\Router"],["c","Slim\\Slim"],["c","Slim\\View"],["c","Traversable"],["c","utiliy\\ArrayManager"],["c","utiliy\\StringManager"],["c","utiliy\\XmlManager"]];

View File

@@ -37,6 +37,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>
@@ -47,9 +49,13 @@
<h3>Classes</h3> <h3>Classes</h3>
<ul> <ul>
<li><a href="class-api.Api.html">api\Api</a></li> <li><a href="class-api.Api.html">api\Api</a></li>
<li><a href="class-api.PisApi.html">api\PisApi</a></li>
<li><a href="class-api.PssApi.html">api\PssApi</a></li>
<li><a href="class-api.SpsApi.html">api\SpsApi</a></li> <li><a href="class-api.SpsApi.html">api\SpsApi</a></li>
<li><a href="class-ArrayIterator.html">ArrayIterator</a></li> <li><a href="class-ArrayIterator.html">ArrayIterator</a></li>
<li><a href="class-config.DBConfig.html">config\DBConfig</a></li> <li><a href="class-config.DBConfig.html">config\DBConfig</a></li>
<li><a href="class-database.PisSqlManager.html">database\PisSqlManager</a></li>
<li><a href="class-database.PssSqlManager.html">database\PssSqlManager</a></li>
<li><a href="class-database.SpsSqlManager.html">database\SpsSqlManager</a></li> <li><a href="class-database.SpsSqlManager.html">database\SpsSqlManager</a></li>
<li><a href="class-database.SqlManager.html">database\SqlManager</a></li> <li><a href="class-database.SqlManager.html">database\SqlManager</a></li>
<li><a href="class-SimpleXMLElement.html">SimpleXMLElement</a></li> <li><a href="class-SimpleXMLElement.html">SimpleXMLElement</a></li>
@@ -70,6 +76,9 @@
<li><a href="class-Slim.Router.html">Slim\Router</a></li> <li><a href="class-Slim.Router.html">Slim\Router</a></li>
<li><a href="class-Slim.Slim.html">Slim\Slim</a></li> <li><a href="class-Slim.Slim.html">Slim\Slim</a></li>
<li><a href="class-Slim.View.html">Slim\View</a></li> <li><a href="class-Slim.View.html">Slim\View</a></li>
<li><a href="class-utiliy.ArrayManager.html">utiliy\ArrayManager</a></li>
<li><a href="class-utiliy.StringManager.html">utiliy\StringManager</a></li>
<li><a href="class-utiliy.XmlManager.html">utiliy\XmlManager</a></li>
</ul> </ul>
<h3>Interfaces</h3> <h3>Interfaces</h3>
@@ -159,6 +168,9 @@
<tr> <tr>
<td class="name"><a href="namespace-Slim.Middleware.html">Slim\Middleware</a></td> <td class="name"><a href="namespace-Slim.Middleware.html">Slim\Middleware</a></td>
</tr> </tr>
<tr>
<td class="name"><a href="namespace-utiliy.html">utiliy</a></td>
</tr>
</table> </table>

View File

@@ -7,7 +7,7 @@
<title>Namespace PHP | GeoApi</title> <title>Namespace PHP | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Namespace Slim\Exception | GeoApi</title> <title>Namespace Slim\Exception | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Namespace Slim\Http | GeoApi</title> <title>Namespace Slim\Http | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Namespace Slim\Middleware | GeoApi</title> <title>Namespace Slim\Middleware | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li class="active"><a href="namespace-Slim.Middleware.html">Middleware</a> <li class="active"><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Namespace Slim | GeoApi</title> <title>Namespace Slim | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Namespace api | GeoApi</title> <title>Namespace api | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>
@@ -48,6 +50,8 @@
<h3>Classes</h3> <h3>Classes</h3>
<ul> <ul>
<li><a href="class-api.Api.html">Api</a></li> <li><a href="class-api.Api.html">Api</a></li>
<li><a href="class-api.PisApi.html">PisApi</a></li>
<li><a href="class-api.PssApi.html">PssApi</a></li>
<li><a href="class-api.SpsApi.html">SpsApi</a></li> <li><a href="class-api.SpsApi.html">SpsApi</a></li>
</ul> </ul>
@@ -101,6 +105,14 @@
<td>This class provides some general API methods <td>This class provides some general API methods
<!-- by Texy2! --></td> <!-- by Texy2! --></td>
</tr> </tr>
<tr>
<td class="name"><a href="class-api.PisApi.html">PisApi</a></td>
<td>This class provides some spezial PisAPI methods</td>
</tr>
<tr>
<td class="name"><a href="class-api.PssApi.html">PssApi</a></td>
<td>This class provides some spezial PssAPI methods</td>
</tr>
<tr> <tr>
<td class="name"><a href="class-api.SpsApi.html">SpsApi</a></td> <td class="name"><a href="class-api.SpsApi.html">SpsApi</a></td>
<td>This class provides some spezial SpsAPI methods</td> <td>This class provides some spezial SpsAPI methods</td>

View File

@@ -7,7 +7,7 @@
<title>Namespace config | GeoApi</title> <title>Namespace config | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -7,7 +7,7 @@
<title>Namespace database | GeoApi</title> <title>Namespace database | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>
@@ -47,6 +49,8 @@
<div id="elements"> <div id="elements">
<h3>Classes</h3> <h3>Classes</h3>
<ul> <ul>
<li><a href="class-database.PisSqlManager.html">PisSqlManager</a></li>
<li><a href="class-database.PssSqlManager.html">PssSqlManager</a></li>
<li><a href="class-database.SpsSqlManager.html">SpsSqlManager</a></li> <li><a href="class-database.SpsSqlManager.html">SpsSqlManager</a></li>
<li><a href="class-database.SqlManager.html">SqlManager</a></li> <li><a href="class-database.SqlManager.html">SqlManager</a></li>
</ul> </ul>
@@ -96,6 +100,14 @@
<table class="summary" id="classes"> <table class="summary" id="classes">
<caption>Classes summary</caption> <caption>Classes summary</caption>
<tr>
<td class="name"><a href="class-database.PisSqlManager.html">PisSqlManager</a></td>
<td>Description of PisSqlManager</td>
</tr>
<tr>
<td class="name"><a href="class-database.PssSqlManager.html">PssSqlManager</a></td>
<td>Description of PssSqlManager</td>
</tr>
<tr> <tr>
<td class="name"><a href="class-database.SpsSqlManager.html">SpsSqlManager</a></td> <td class="name"><a href="class-database.SpsSqlManager.html">SpsSqlManager</a></td>
<td>Description of SpsSqlManager</td> <td>Description of SpsSqlManager</td>

128
doc/namespace-utiliy.html Normal file
View File

@@ -0,0 +1,128 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="ApiGen 2.8.0" />
<title>Namespace utiliy | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
<div id="groups">
<h3>Namespaces</h3>
<ul>
<li><a href="namespace-api.html">api</a>
</li>
<li><a href="namespace-config.html">config</a>
</li>
<li><a href="namespace-database.html">database</a>
</li>
<li><a href="namespace-PHP.html">PHP</a>
</li>
<li><a href="namespace-Slim.html">Slim<span></span></a>
<ul>
<li><a href="namespace-Slim.Exception.html">Exception</a>
</li>
<li><a href="namespace-Slim.Http.html">Http</a>
</li>
<li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li>
</ul></li>
<li class="active"><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul>
</div>
<hr />
<div id="elements">
<h3>Classes</h3>
<ul>
<li><a href="class-utiliy.ArrayManager.html">ArrayManager</a></li>
<li><a href="class-utiliy.StringManager.html">StringManager</a></li>
<li><a href="class-utiliy.XmlManager.html">XmlManager</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" />
<input type="submit" value="Search" />
</form>
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li class="active">
<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>
</ul>
</div>
<div id="content" class="namespace">
<h1>Namespace utiliy</h1>
<table class="summary" id="classes">
<caption>Classes summary</caption>
<tr>
<td class="name"><a href="class-utiliy.ArrayManager.html">ArrayManager</a></td>
<td>The ArrayManager provides some array-methods</td>
</tr>
<tr>
<td class="name"><a href="class-utiliy.StringManager.html">StringManager</a></td>
<td>The StringManager provides some string-methods</td>
</tr>
<tr>
<td class="name"><a href="class-utiliy.XmlManager.html">XmlManager</a></td>
<td>The XmlManager provides some xml-methods</td>
</tr>
</table>
</div>
<div id="footer">
GeoApi API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<title>File thirdparty/Slim/Environment.php | GeoApi</title> <title>File thirdparty/Slim/Environment.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -39,6 +39,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -8,7 +8,7 @@
<title>File thirdparty/Slim/Exception/Pass.php | GeoApi</title> <title>File thirdparty/Slim/Exception/Pass.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -39,6 +39,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -8,7 +8,7 @@
<title>File thirdparty/Slim/Exception/Stop.php | GeoApi</title> <title>File thirdparty/Slim/Exception/Stop.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -39,6 +39,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -8,7 +8,7 @@
<title>File thirdparty/Slim/Http/Headers.php | GeoApi</title> <title>File thirdparty/Slim/Http/Headers.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -39,6 +39,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -8,7 +8,7 @@
<title>File thirdparty/Slim/Http/Request.php | GeoApi</title> <title>File thirdparty/Slim/Http/Request.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -39,6 +39,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -8,7 +8,7 @@
<title>File thirdparty/Slim/Http/Response.php | GeoApi</title> <title>File thirdparty/Slim/Http/Response.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -39,6 +39,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -8,7 +8,7 @@
<title>File thirdparty/Slim/Http/Util.php | GeoApi</title> <title>File thirdparty/Slim/Http/Util.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -39,6 +39,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -8,7 +8,7 @@
<title>File thirdparty/Slim/Log.php | GeoApi</title> <title>File thirdparty/Slim/Log.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -39,6 +39,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -8,7 +8,7 @@
<title>File thirdparty/Slim/LogWriter.php | GeoApi</title> <title>File thirdparty/Slim/LogWriter.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -39,6 +39,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -8,7 +8,7 @@
<title>File thirdparty/Slim/Middleware/ContentTypes.php | GeoApi</title> <title>File thirdparty/Slim/Middleware/ContentTypes.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -39,6 +39,8 @@
<li class="active"><a href="namespace-Slim.Middleware.html">Middleware</a> <li class="active"><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -8,7 +8,7 @@
<title>File thirdparty/Slim/Middleware/Flash.php | GeoApi</title> <title>File thirdparty/Slim/Middleware/Flash.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -39,6 +39,8 @@
<li class="active"><a href="namespace-Slim.Middleware.html">Middleware</a> <li class="active"><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -8,7 +8,7 @@
<title>File thirdparty/Slim/Middleware/MethodOverride.php | GeoApi</title> <title>File thirdparty/Slim/Middleware/MethodOverride.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -39,6 +39,8 @@
<li class="active"><a href="namespace-Slim.Middleware.html">Middleware</a> <li class="active"><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -8,7 +8,7 @@
<title>File thirdparty/Slim/Middleware/PrettyExceptions.php | GeoApi</title> <title>File thirdparty/Slim/Middleware/PrettyExceptions.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -39,6 +39,8 @@
<li class="active"><a href="namespace-Slim.Middleware.html">Middleware</a> <li class="active"><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -8,7 +8,7 @@
<title>File thirdparty/Slim/Middleware/SessionCookie.php | GeoApi</title> <title>File thirdparty/Slim/Middleware/SessionCookie.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -39,6 +39,8 @@
<li class="active"><a href="namespace-Slim.Middleware.html">Middleware</a> <li class="active"><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -8,7 +8,7 @@
<title>File thirdparty/Slim/Middleware.php | GeoApi</title> <title>File thirdparty/Slim/Middleware.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -39,6 +39,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -8,7 +8,7 @@
<title>File thirdparty/Slim/Route.php | GeoApi</title> <title>File thirdparty/Slim/Route.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -39,6 +39,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -8,7 +8,7 @@
<title>File thirdparty/Slim/Router.php | GeoApi</title> <title>File thirdparty/Slim/Router.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -39,6 +39,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -8,7 +8,7 @@
<title>File thirdparty/Slim/Slim.php | GeoApi</title> <title>File thirdparty/Slim/Slim.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -39,6 +39,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -8,7 +8,7 @@
<title>File thirdparty/Slim/View.php | GeoApi</title> <title>File thirdparty/Slim/View.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -39,6 +39,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>

View File

@@ -8,7 +8,7 @@
<title>File api/Api.php | GeoApi</title> <title>File api/Api.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -39,6 +39,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>
@@ -49,6 +51,8 @@
<h3>Classes</h3> <h3>Classes</h3>
<ul> <ul>
<li class="active"><a href="class-api.Api.html">Api</a></li> <li class="active"><a href="class-api.Api.html">Api</a></li>
<li><a href="class-api.PisApi.html">PisApi</a></li>
<li><a href="class-api.PssApi.html">PssApi</a></li>
<li><a href="class-api.SpsApi.html">SpsApi</a></li> <li><a href="class-api.SpsApi.html">SpsApi</a></li>
</ul> </ul>
@@ -118,31 +122,35 @@
</span></span><span id="24" class="l"><a class="l" href="#24">24: </a><span class="php-comment"> * Default-Constructor </span></span><span id="24" class="l"><a class="l" href="#24">24: </a><span class="php-comment"> * Default-Constructor
</span></span><span id="25" class="l"><a class="l" href="#25">25: </a><span class="php-comment"> */</span> </span></span><span id="25" class="l"><a class="l" href="#25">25: </a><span class="php-comment"> */</span>
</span><span id="26" class="l"><a class="l" href="#26">26: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___construct" href="#___construct">__construct</a>() { </span><span id="26" class="l"><a class="l" href="#26">26: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___construct" href="#___construct">__construct</a>() {
</span><span id="27" class="l"><a class="l" href="#27">27: </a> <span class="php-keyword1">if</span> (!<span class="php-var">$this</span>-&gt;sqlManager) { </span><span id="27" class="l"><a class="l" href="#27">27: </a> <span class="php-var">$this</span>-&gt;connect();
</span><span id="28" class="l"><a class="l" href="#28">28: </a> <span class="php-var">$this</span>-&gt;sqlManager = <span class="php-keyword1">new</span> \database\SQLManager(); </span><span id="28" class="l"><a class="l" href="#28">28: </a> parent::__construct();
</span><span id="29" class="l"><a class="l" href="#29">29: </a> } </span><span id="29" class="l"><a class="l" href="#29">29: </a>
</span><span id="30" class="l"><a class="l" href="#30">30: </a> <span class="php-var">$this</span>-&gt;connect(); </span><span id="30" class="l"><a class="l" href="#30">30: </a> <span class="php-comment">// set content type td xml</span>
</span><span id="31" class="l"><a class="l" href="#31">31: </a> parent::__construct(); </span><span id="31" class="l"><a class="l" href="#31">31: </a> <span class="php-var">$this</span>-&gt;contentType(<span class="php-quote">&quot;Content-type: application/xml;charset=utf-8&quot;</span>);
</span><span id="32" class="l"><a class="l" href="#32">32: </a> } </span><span id="32" class="l"><a class="l" href="#32">32: </a> }
</span><span id="33" class="l"><a class="l" href="#33">33: </a> </span><span id="33" class="l"><a class="l" href="#33">33: </a>
</span><span id="34" class="l"><a class="l" href="#34">34: </a> <span class="php-comment">/** </span><span id="34" class="l"><a class="l" href="#34">34: </a> <span class="php-comment">/**
</span></span><span id="35" class="l"><a class="l" href="#35">35: </a><span class="php-comment"> * Default-DeConstructor </span></span><span id="35" class="l"><a class="l" href="#35">35: </a><span class="php-comment"> * Default-DeConstructor
</span></span><span id="36" class="l"><a class="l" href="#36">36: </a><span class="php-comment"> */</span> </span></span><span id="36" class="l"><a class="l" href="#36">36: </a><span class="php-comment"> */</span>
</span><span id="37" class="l"><a class="l" href="#37">37: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___destruct" href="#___destruct">__destruct</a>() { </span><span id="37" class="l"><a class="l" href="#37">37: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___destruct" href="#___destruct">__destruct</a>() {
</span><span id="38" class="l"><a class="l" href="#38">38: </a> <span class="php-var">$this</span>-&gt;sqlManager = <span class="php-keyword1">null</span>; </span><span id="38" class="l"><a class="l" href="#38">38: </a>
</span><span id="39" class="l"><a class="l" href="#39">39: </a> } </span><span id="39" class="l"><a class="l" href="#39">39: </a> <span class="php-comment">// destroy the sqlManager</span>
</span><span id="40" class="l"><a class="l" href="#40">40: </a> </span><span id="40" class="l"><a class="l" href="#40">40: </a> <span class="php-var">$this</span>-&gt;sqlManager-&gt;closeConnection();
</span><span id="41" class="l"><a class="l" href="#41">41: </a> <span class="php-comment">/** </span><span id="41" class="l"><a class="l" href="#41">41: </a> <span class="php-keyword1">unset</span>(<span class="php-var">$this</span>-&gt;sqlManager);
</span></span><span id="42" class="l"><a class="l" href="#42">42: </a><span class="php-comment"> * Method start a connection to the database </span><span id="42" class="l"><a class="l" href="#42">42: </a> <span class="php-var">$this</span>-&gt;sqlManager = <span class="php-keyword1">null</span>;
</span></span><span id="43" class="l"><a class="l" href="#43">43: </a><span class="php-comment"> */</span> </span><span id="43" class="l"><a class="l" href="#43">43: </a> }
</span><span id="44" class="l"><a class="l" href="#44">44: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_connect" href="#_connect">connect</a>() { </span><span id="44" class="l"><a class="l" href="#44">44: </a>
</span><span id="45" class="l"><a class="l" href="#45">45: </a> <span class="php-var">$this</span>-&gt;sqlManager-&gt;connect(); </span><span id="45" class="l"><a class="l" href="#45">45: </a> <span class="php-comment">/**
</span><span id="46" class="l"><a class="l" href="#46">46: </a> } </span></span><span id="46" class="l"><a class="l" href="#46">46: </a><span class="php-comment"> * Method start a connection to the database
</span><span id="47" class="l"><a class="l" href="#47">47: </a> </span></span><span id="47" class="l"><a class="l" href="#47">47: </a><span class="php-comment"> */</span>
</span><span id="48" class="l"><a class="l" href="#48">48: </a>} </span><span id="48" class="l"><a class="l" href="#48">48: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_connect" href="#_connect">connect</a>() {
</span><span id="49" class="l"><a class="l" href="#49">49: </a> </span><span id="49" class="l"><a class="l" href="#49">49: </a> <span class="php-var">$this</span>-&gt;sqlManager-&gt;connect();
</span><span id="50" class="l"><a class="l" href="#50">50: </a><span class="xlang">?&gt;</span> </span><span id="50" class="l"><a class="l" href="#50">50: </a> }
</span><span id="51" class="l"><a class="l" href="#51">51: </a></span></code></pre> </span><span id="51" class="l"><a class="l" href="#51">51: </a>
</span><span id="52" class="l"><a class="l" href="#52">52: </a>}
</span><span id="53" class="l"><a class="l" href="#53">53: </a>
</span><span id="54" class="l"><a class="l" href="#54">54: </a><span class="xlang">?&gt;</span>
</span><span id="55" class="l"><a class="l" href="#55">55: </a></span></code></pre>
<div id="footer"> <div id="footer">
GeoApi API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a> GeoApi API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>

View File

@@ -0,0 +1,167 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="ApiGen 2.8.0" />
<meta name="robots" content="noindex" />
<title>File api/PisApi.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
<div id="groups">
<h3>Namespaces</h3>
<ul>
<li class="active"><a href="namespace-api.html">api</a>
</li>
<li><a href="namespace-config.html">config</a>
</li>
<li><a href="namespace-database.html">database</a>
</li>
<li><a href="namespace-PHP.html">PHP</a>
</li>
<li><a href="namespace-Slim.html">Slim<span></span></a>
<ul>
<li><a href="namespace-Slim.Exception.html">Exception</a>
</li>
<li><a href="namespace-Slim.Http.html">Http</a>
</li>
<li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li>
</ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul>
</div>
<hr />
<div id="elements">
<h3>Classes</h3>
<ul>
<li><a href="class-api.Api.html">Api</a></li>
<li class="active"><a href="class-api.PisApi.html">PisApi</a></li>
<li><a href="class-api.PssApi.html">PssApi</a></li>
<li><a href="class-api.SpsApi.html">SpsApi</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" />
<input type="submit" value="Search" />
</form>
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="namespace-api.html" title="Summary of api"><span>Namespace</span></a>
</li>
<li>
<a href="class-api.PisApi.html" title="Summary of api\PisApi"><span>Class</span></a>
</li>
</ul>
<ul>
<li>
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
</li>
</ul>
<ul>
</ul>
</div>
<pre><code><span id="1" class="l"><a class="l" href="#1"> 1: </a><span class="xlang">&lt;?php</span>
</span><span id="2" class="l"><a class="l" href="#2"> 2: </a>
</span><span id="3" class="l"><a class="l" href="#3"> 3: </a><span class="php-keyword1">namespace</span> api;
</span><span id="4" class="l"><a class="l" href="#4"> 4: </a>
</span><span id="5" class="l"><a class="l" href="#5"> 5: </a><span class="php-keyword1">include_once</span> <span class="php-quote">&quot;../../global.inc.php&quot;</span>;
</span><span id="6" class="l"><a class="l" href="#6"> 6: </a><span class="php-keyword1">include_once</span> PATH_DATABASE . <span class="php-quote">&quot;/PisSqlManager.php&quot;</span>;
</span><span id="7" class="l"><a class="l" href="#7"> 7: </a><span class="php-keyword1">include_once</span> PATH_UTILITTY . <span class="php-quote">&quot;/XmlManager.php&quot;</span>;
</span><span id="8" class="l"><a class="l" href="#8"> 8: </a><span class="php-keyword1">include_once</span> PATH_UTILITTY . <span class="php-quote">&quot;/ArrayManager.php&quot;</span>;
</span><span id="9" class="l"><a class="l" href="#9"> 9: </a><span class="php-keyword1">require_once</span> PATH_API . <span class="php-quote">&quot;/Api.php&quot;</span>;
</span><span id="10" class="l"><a class="l" href="#10">10: </a>
</span><span id="11" class="l"><a class="l" href="#11">11: </a><span class="php-comment">/**
</span></span><span id="12" class="l"><a class="l" href="#12">12: </a><span class="php-comment"> * This class provides some spezial PisAPI methods
</span></span><span id="13" class="l"><a class="l" href="#13">13: </a><span class="php-comment"> * @author stubbfel
</span></span><span id="14" class="l"><a class="l" href="#14">14: </a><span class="php-comment"> * @since 20.06.2013
</span></span><span id="15" class="l"><a class="l" href="#15">15: </a><span class="php-comment"> */</span>
</span><span id="16" class="l"><a class="l" href="#16">16: </a><span class="php-keyword1">class</span> <a id="PisApi" href="#PisApi">PisApi</a> <span class="php-keyword1">extends</span> Api {
</span><span id="17" class="l"><a class="l" href="#17">17: </a>
</span><span id="18" class="l"><a class="l" href="#18">18: </a> <span class="php-comment">/**
</span></span><span id="19" class="l"><a class="l" href="#19">19: </a><span class="php-comment"> * Route string for the alias paramter
</span></span><span id="20" class="l"><a class="l" href="#20">20: </a><span class="php-comment"> * @var string
</span></span><span id="21" class="l"><a class="l" href="#21">21: </a><span class="php-comment"> */</span>
</span><span id="22" class="l"><a class="l" href="#22">22: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$routeParameterPids" href="#$routeParameterPids">$routeParameterPids</a></span> = <span class="php-quote">&quot;/pid/:pid+&quot;</span>;
</span><span id="23" class="l"><a class="l" href="#23">23: </a>
</span><span id="24" class="l"><a class="l" href="#24">24: </a> <span class="php-comment">/**
</span></span><span id="25" class="l"><a class="l" href="#25">25: </a><span class="php-comment"> * max number of pid for each query
</span></span><span id="26" class="l"><a class="l" href="#26">26: </a><span class="php-comment"> * @var int
</span></span><span id="27" class="l"><a class="l" href="#27">27: </a><span class="php-comment"> */</span>
</span><span id="28" class="l"><a class="l" href="#28">28: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$maxPid" href="#$maxPid">$maxPid</a></span> = <span class="php-num">10</span>;
</span><span id="29" class="l"><a class="l" href="#29">29: </a>
</span><span id="30" class="l"><a class="l" href="#30">30: </a> <span class="php-comment">/**
</span></span><span id="31" class="l"><a class="l" href="#31">31: </a><span class="php-comment"> * Default-Constructor
</span></span><span id="32" class="l"><a class="l" href="#32">32: </a><span class="php-comment"> */</span>
</span><span id="33" class="l"><a class="l" href="#33">33: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___construct" href="#___construct">__construct</a>() {
</span><span id="34" class="l"><a class="l" href="#34">34: </a> <span class="php-var">$this</span>-&gt;sqlManager = <span class="php-keyword1">new</span> \database\PisSqlManager();
</span><span id="35" class="l"><a class="l" href="#35">35: </a> parent::__construct();
</span><span id="36" class="l"><a class="l" href="#36">36: </a> }
</span><span id="37" class="l"><a class="l" href="#37">37: </a>
</span><span id="38" class="l"><a class="l" href="#38">38: </a> <span class="php-comment">/**
</span></span><span id="39" class="l"><a class="l" href="#39">39: </a><span class="php-comment"> * Default-DeConstructor
</span></span><span id="40" class="l"><a class="l" href="#40">40: </a><span class="php-comment"> */</span>
</span><span id="41" class="l"><a class="l" href="#41">41: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___destruct" href="#___destruct">__destruct</a>() {
</span><span id="42" class="l"><a class="l" href="#42">42: </a> parent::__destruct();
</span><span id="43" class="l"><a class="l" href="#43">43: </a> }
</span><span id="44" class="l"><a class="l" href="#44">44: </a>
</span><span id="45" class="l"><a class="l" href="#45">45: </a> <span class="php-comment">/**
</span></span><span id="46" class="l"><a class="l" href="#46">46: </a><span class="php-comment"> * Method start a pis-query
</span></span><span id="47" class="l"><a class="l" href="#47">47: </a><span class="php-comment"> * @param array $queryArgs
</span></span><span id="48" class="l"><a class="l" href="#48">48: </a><span class="php-comment"> * @return query result as xml
</span></span><span id="49" class="l"><a class="l" href="#49">49: </a><span class="php-comment"> */</span>
</span><span id="50" class="l"><a class="l" href="#50">50: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_sendPisQuery" href="#_sendPisQuery">sendPisQuery</a>(<span class="php-var">$queryArgs</span>) {
</span><span id="51" class="l"><a class="l" href="#51">51: </a> <span class="php-var">$pidList</span> = \utiliy\ArrayManager::removeEmptyItmes(<span class="php-var">$queryArgs</span>);
</span><span id="52" class="l"><a class="l" href="#52">52: </a> <span class="php-keyword1">if</span> (<span class="php-keyword2">count</span>(<span class="php-var">$pidList</span>) &lt; <span class="php-var">$this</span>-&gt;maxPid) {
</span><span id="53" class="l"><a class="l" href="#53">53: </a> <span class="php-var">$result</span> = <span class="php-var">$this</span>-&gt;sqlManager-&gt;sendPisQuery(<span class="php-var">$pidList</span>);
</span><span id="54" class="l"><a class="l" href="#54">54: </a> <span class="php-keyword1">return</span> \utiliy\XmlManager::arrayToPisXml(<span class="php-var">$result</span>);
</span><span id="55" class="l"><a class="l" href="#55">55: </a> }
</span><span id="56" class="l"><a class="l" href="#56">56: </a> <span class="php-keyword1">return</span> <span class="php-keyword1">NULL</span>;
</span><span id="57" class="l"><a class="l" href="#57">57: </a> }
</span><span id="58" class="l"><a class="l" href="#58">58: </a>}
</span><span id="59" class="l"><a class="l" href="#59">59: </a>
</span><span id="60" class="l"><a class="l" href="#60">60: </a><span class="xlang">?&gt;</span>
</span><span id="61" class="l"><a class="l" href="#61">61: </a></span></code></pre>
<div id="footer">
GeoApi API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,169 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="ApiGen 2.8.0" />
<meta name="robots" content="noindex" />
<title>File api/PssApi.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
<div id="groups">
<h3>Namespaces</h3>
<ul>
<li class="active"><a href="namespace-api.html">api</a>
</li>
<li><a href="namespace-config.html">config</a>
</li>
<li><a href="namespace-database.html">database</a>
</li>
<li><a href="namespace-PHP.html">PHP</a>
</li>
<li><a href="namespace-Slim.html">Slim<span></span></a>
<ul>
<li><a href="namespace-Slim.Exception.html">Exception</a>
</li>
<li><a href="namespace-Slim.Http.html">Http</a>
</li>
<li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li>
</ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul>
</div>
<hr />
<div id="elements">
<h3>Classes</h3>
<ul>
<li><a href="class-api.Api.html">Api</a></li>
<li><a href="class-api.PisApi.html">PisApi</a></li>
<li class="active"><a href="class-api.PssApi.html">PssApi</a></li>
<li><a href="class-api.SpsApi.html">SpsApi</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" />
<input type="submit" value="Search" />
</form>
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="namespace-api.html" title="Summary of api"><span>Namespace</span></a>
</li>
<li>
<a href="class-api.PssApi.html" title="Summary of api\PssApi"><span>Class</span></a>
</li>
</ul>
<ul>
<li>
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
</li>
</ul>
<ul>
</ul>
</div>
<pre><code><span id="1" class="l"><a class="l" href="#1"> 1: </a><span class="xlang">&lt;?php</span>
</span><span id="2" class="l"><a class="l" href="#2"> 2: </a>
</span><span id="3" class="l"><a class="l" href="#3"> 3: </a><span class="php-keyword1">namespace</span> api;
</span><span id="4" class="l"><a class="l" href="#4"> 4: </a>
</span><span id="5" class="l"><a class="l" href="#5"> 5: </a><span class="php-keyword1">include_once</span> <span class="php-quote">&quot;../../global.inc.php&quot;</span>;
</span><span id="6" class="l"><a class="l" href="#6"> 6: </a><span class="php-keyword1">include_once</span> PATH_DATABASE . <span class="php-quote">&quot;/PssSqlManager.php&quot;</span>;
</span><span id="7" class="l"><a class="l" href="#7"> 7: </a><span class="php-keyword1">include_once</span> PATH_UTILITTY . <span class="php-quote">&quot;/XmlManager.php&quot;</span>;
</span><span id="8" class="l"><a class="l" href="#8"> 8: </a><span class="php-keyword1">include_once</span> PATH_UTILITTY . <span class="php-quote">&quot;/ArrayManager.php&quot;</span>;
</span><span id="9" class="l"><a class="l" href="#9"> 9: </a><span class="php-keyword1">require_once</span> PATH_API . <span class="php-quote">&quot;/Api.php&quot;</span>;
</span><span id="10" class="l"><a class="l" href="#10">10: </a>
</span><span id="11" class="l"><a class="l" href="#11">11: </a><span class="php-comment">/**
</span></span><span id="12" class="l"><a class="l" href="#12">12: </a><span class="php-comment"> * This class provides some spezial PssAPI methods
</span></span><span id="13" class="l"><a class="l" href="#13">13: </a><span class="php-comment"> * @author stubbfel
</span></span><span id="14" class="l"><a class="l" href="#14">14: </a><span class="php-comment"> * @since 20.06.2013
</span></span><span id="15" class="l"><a class="l" href="#15">15: </a><span class="php-comment"> */</span>
</span><span id="16" class="l"><a class="l" href="#16">16: </a><span class="php-keyword1">class</span> <a id="PssApi" href="#PssApi">PssApi</a> <span class="php-keyword1">extends</span> Api {
</span><span id="17" class="l"><a class="l" href="#17">17: </a>
</span><span id="18" class="l"><a class="l" href="#18">18: </a> <span class="php-comment">/**
</span></span><span id="19" class="l"><a class="l" href="#19">19: </a><span class="php-comment"> * Route string for the alias paramter
</span></span><span id="20" class="l"><a class="l" href="#20">20: </a><span class="php-comment"> * @var string
</span></span><span id="21" class="l"><a class="l" href="#21">21: </a><span class="php-comment"> */</span>
</span><span id="22" class="l"><a class="l" href="#22">22: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$routeParameterPids" href="#$routeParameterPids">$routeParameterPids</a></span> = <span class="php-quote">&quot;/pid/:pid+&quot;</span>;
</span><span id="23" class="l"><a class="l" href="#23">23: </a>
</span><span id="24" class="l"><a class="l" href="#24">24: </a> <span class="php-comment">/**
</span></span><span id="25" class="l"><a class="l" href="#25">25: </a><span class="php-comment"> * max number of pid for each query
</span></span><span id="26" class="l"><a class="l" href="#26">26: </a><span class="php-comment"> * @var int
</span></span><span id="27" class="l"><a class="l" href="#27">27: </a><span class="php-comment"> */</span>
</span><span id="28" class="l"><a class="l" href="#28">28: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$maxPid" href="#$maxPid">$maxPid</a></span> = <span class="php-num">10</span>;
</span><span id="29" class="l"><a class="l" href="#29">29: </a>
</span><span id="30" class="l"><a class="l" href="#30">30: </a> <span class="php-comment">/**
</span></span><span id="31" class="l"><a class="l" href="#31">31: </a><span class="php-comment"> * Default-Constructor
</span></span><span id="32" class="l"><a class="l" href="#32">32: </a><span class="php-comment"> */</span>
</span><span id="33" class="l"><a class="l" href="#33">33: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___construct" href="#___construct">__construct</a>() {
</span><span id="34" class="l"><a class="l" href="#34">34: </a> <span class="php-var">$this</span>-&gt;sqlManager = <span class="php-keyword1">new</span> \database\PssSqlManager();
</span><span id="35" class="l"><a class="l" href="#35">35: </a> parent::__construct();
</span><span id="36" class="l"><a class="l" href="#36">36: </a> }
</span><span id="37" class="l"><a class="l" href="#37">37: </a>
</span><span id="38" class="l"><a class="l" href="#38">38: </a> <span class="php-comment">/**
</span></span><span id="39" class="l"><a class="l" href="#39">39: </a><span class="php-comment"> * Default-DeConstructor
</span></span><span id="40" class="l"><a class="l" href="#40">40: </a><span class="php-comment"> */</span>
</span><span id="41" class="l"><a class="l" href="#41">41: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___destruct" href="#___destruct">__destruct</a>() {
</span><span id="42" class="l"><a class="l" href="#42">42: </a> parent::__destruct();
</span><span id="43" class="l"><a class="l" href="#43">43: </a> }
</span><span id="44" class="l"><a class="l" href="#44">44: </a>
</span><span id="45" class="l"><a class="l" href="#45">45: </a> <span class="php-comment">/**
</span></span><span id="46" class="l"><a class="l" href="#46">46: </a><span class="php-comment"> * Method start a pis-query
</span></span><span id="47" class="l"><a class="l" href="#47">47: </a><span class="php-comment"> * @param array $queryArgs
</span></span><span id="48" class="l"><a class="l" href="#48">48: </a><span class="php-comment"> * @return query result as xml
</span></span><span id="49" class="l"><a class="l" href="#49">49: </a><span class="php-comment"> */</span>
</span><span id="50" class="l"><a class="l" href="#50">50: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_sendPssQuery" href="#_sendPssQuery">sendPssQuery</a>(<span class="php-var">$queryArgs</span>) {
</span><span id="51" class="l"><a class="l" href="#51">51: </a> <span class="php-var">$pidList</span> = \utiliy\ArrayManager::removeEmptyItmes(<span class="php-var">$queryArgs</span>);
</span><span id="52" class="l"><a class="l" href="#52">52: </a>
</span><span id="53" class="l"><a class="l" href="#53">53: </a> <span class="php-keyword1">if</span> (<span class="php-keyword2">count</span>(<span class="php-var">$pidList</span>) &lt; <span class="php-var">$this</span>-&gt;maxPid) {
</span><span id="54" class="l"><a class="l" href="#54">54: </a> <span class="php-var">$result</span> = <span class="php-var">$this</span>-&gt;sqlManager-&gt;sendPssQuery(<span class="php-var">$pidList</span>);
</span><span id="55" class="l"><a class="l" href="#55">55: </a> <span class="php-keyword1">return</span> \utiliy\XmlManager::arrayToPssXml(<span class="php-var">$result</span>);
</span><span id="56" class="l"><a class="l" href="#56">56: </a> }
</span><span id="57" class="l"><a class="l" href="#57">57: </a> <span class="php-keyword1">return</span> <span class="php-keyword1">NULL</span>;
</span><span id="58" class="l"><a class="l" href="#58">58: </a> }
</span><span id="59" class="l"><a class="l" href="#59">59: </a>
</span><span id="60" class="l"><a class="l" href="#60">60: </a>}
</span><span id="61" class="l"><a class="l" href="#61">61: </a>
</span><span id="62" class="l"><a class="l" href="#62">62: </a><span class="xlang">?&gt;</span>
</span><span id="63" class="l"><a class="l" href="#63">63: </a></span></code></pre>
<div id="footer">
GeoApi API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<title>File api/SpsApi.php | GeoApi</title> <title>File api/SpsApi.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -39,6 +39,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>
@@ -49,6 +51,8 @@
<h3>Classes</h3> <h3>Classes</h3>
<ul> <ul>
<li><a href="class-api.Api.html">Api</a></li> <li><a href="class-api.Api.html">Api</a></li>
<li><a href="class-api.PisApi.html">PisApi</a></li>
<li><a href="class-api.PssApi.html">PssApi</a></li>
<li class="active"><a href="class-api.SpsApi.html">SpsApi</a></li> <li class="active"><a href="class-api.SpsApi.html">SpsApi</a></li>
</ul> </ul>
@@ -92,49 +96,220 @@
</ul> </ul>
</div> </div>
<pre><code><span id="1" class="l"><a class="l" href="#1"> 1: </a><span class="xlang">&lt;?php</span> <pre><code><span id="1" class="l"><a class="l" href="#1"> 1: </a><span class="xlang">&lt;?php</span>
</span><span id="2" class="l"><a class="l" href="#2"> 2: </a> </span><span id="2" class="l"><a class="l" href="#2"> 2: </a>
</span><span id="3" class="l"><a class="l" href="#3"> 3: </a><span class="php-keyword1">namespace</span> api; </span><span id="3" class="l"><a class="l" href="#3"> 3: </a><span class="php-keyword1">namespace</span> api;
</span><span id="4" class="l"><a class="l" href="#4"> 4: </a> </span><span id="4" class="l"><a class="l" href="#4"> 4: </a>
</span><span id="5" class="l"><a class="l" href="#5"> 5: </a><span class="php-keyword1">include_once</span> <span class="php-quote">&quot;../../global.inc.php&quot;</span>; </span><span id="5" class="l"><a class="l" href="#5"> 5: </a><span class="php-keyword1">include_once</span> <span class="php-quote">&quot;../../global.inc.php&quot;</span>;
</span><span id="6" class="l"><a class="l" href="#6"> 6: </a><span class="php-keyword1">include_once</span> PATH_DATABASE . <span class="php-quote">&quot;/SpsSqlManager.php&quot;</span>; </span><span id="6" class="l"><a class="l" href="#6"> 6: </a><span class="php-keyword1">include_once</span> PATH_DATABASE . <span class="php-quote">&quot;/SpsSqlManager.php&quot;</span>;
</span><span id="7" class="l"><a class="l" href="#7"> 7: </a><span class="php-keyword1">require_once</span> PATH_API . <span class="php-quote">&quot;/Api.php&quot;</span>; </span><span id="7" class="l"><a class="l" href="#7"> 7: </a><span class="php-keyword1">include_once</span> PATH_UTILITTY . <span class="php-quote">&quot;/XmlManager.php&quot;</span>;
</span><span id="8" class="l"><a class="l" href="#8"> 8: </a> </span><span id="8" class="l"><a class="l" href="#8"> 8: </a><span class="php-keyword1">require_once</span> PATH_API . <span class="php-quote">&quot;/Api.php&quot;</span>;
</span><span id="9" class="l"><a class="l" href="#9"> 9: </a><span class="php-comment">/** </span><span id="9" class="l"><a class="l" href="#9"> 9: </a>
</span></span><span id="10" class="l"><a class="l" href="#10">10: </a><span class="php-comment"> * This class provides some spezial SpsAPI methods </span><span id="10" class="l"><a class="l" href="#10"> 10: </a><span class="php-comment">/**
</span></span><span id="11" class="l"><a class="l" href="#11">11: </a><span class="php-comment"> * @author stubbfel </span></span><span id="11" class="l"><a class="l" href="#11"> 11: </a><span class="php-comment"> * This class provides some spezial SpsAPI methods
</span></span><span id="12" class="l"><a class="l" href="#12">12: </a><span class="php-comment"> * @since 20.06.2013 </span></span><span id="12" class="l"><a class="l" href="#12"> 12: </a><span class="php-comment"> * @author stubbfel
</span></span><span id="13" class="l"><a class="l" href="#13">13: </a><span class="php-comment"> */</span> </span></span><span id="13" class="l"><a class="l" href="#13"> 13: </a><span class="php-comment"> * @since 20.06.2013
</span><span id="14" class="l"><a class="l" href="#14">14: </a><span class="php-keyword1">class</span> <a id="SpsApi" href="#SpsApi">SpsApi</a> <span class="php-keyword1">extends</span> Api { </span></span><span id="14" class="l"><a class="l" href="#14"> 14: </a><span class="php-comment"> */</span>
</span><span id="15" class="l"><a class="l" href="#15">15: </a> </span><span id="15" class="l"><a class="l" href="#15"> 15: </a><span class="php-keyword1">class</span> <a id="SpsApi" href="#SpsApi">SpsApi</a> <span class="php-keyword1">extends</span> Api {
</span><span id="16" class="l"><a class="l" href="#16">16: </a> <span class="php-comment">/** </span><span id="16" class="l"><a class="l" href="#16"> 16: </a>
</span></span><span id="17" class="l"><a class="l" href="#17">17: </a><span class="php-comment"> * Default-Constructor </span><span id="17" class="l"><a class="l" href="#17"> 17: </a> <span class="php-comment">/**
</span></span><span id="18" class="l"><a class="l" href="#18">18: </a><span class="php-comment"> */</span> </span></span><span id="18" class="l"><a class="l" href="#18"> 18: </a><span class="php-comment"> * Route string for the alias paramter
</span><span id="19" class="l"><a class="l" href="#19">19: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___construct" href="#___construct">__construct</a>() { </span></span><span id="19" class="l"><a class="l" href="#19"> 19: </a><span class="php-comment"> * @var string
</span><span id="20" class="l"><a class="l" href="#20">20: </a> <span class="php-var">$this</span>-&gt;sqlManager = <span class="php-keyword1">new</span> \database\SpsSqlManager(); </span></span><span id="20" class="l"><a class="l" href="#20"> 20: </a><span class="php-comment"> */</span>
</span><span id="21" class="l"><a class="l" href="#21">21: </a> parent::__construct(); </span><span id="21" class="l"><a class="l" href="#21"> 21: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$routeParameterAlias" href="#$routeParameterAlias">$routeParameterAlias</a></span> = <span class="php-quote">&quot;/alias/:alias&quot;</span>;
</span><span id="22" class="l"><a class="l" href="#22">22: </a> } </span><span id="22" class="l"><a class="l" href="#22"> 22: </a>
</span><span id="23" class="l"><a class="l" href="#23">23: </a> </span><span id="23" class="l"><a class="l" href="#23"> 23: </a> <span class="php-comment">/**
</span><span id="24" class="l"><a class="l" href="#24">24: </a> <span class="php-comment">/** </span></span><span id="24" class="l"><a class="l" href="#24"> 24: </a><span class="php-comment"> * Route string for the domain paramter
</span></span><span id="25" class="l"><a class="l" href="#25">25: </a><span class="php-comment"> * Default-DeConstructor </span></span><span id="25" class="l"><a class="l" href="#25"> 25: </a><span class="php-comment"> * @var string
</span></span><span id="26" class="l"><a class="l" href="#26">26: </a><span class="php-comment"> */</span> </span></span><span id="26" class="l"><a class="l" href="#26"> 26: </a><span class="php-comment"> */</span>
</span><span id="27" class="l"><a class="l" href="#27">27: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___destruct" href="#___destruct">__destruct</a>() { </span><span id="27" class="l"><a class="l" href="#27"> 27: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$routeParameterDomain" href="#$routeParameterDomain">$routeParameterDomain</a></span> = <span class="php-quote">&quot;/domain/:domain&quot;</span>;
</span><span id="28" class="l"><a class="l" href="#28">28: </a> parent::__destruct(); </span><span id="28" class="l"><a class="l" href="#28"> 28: </a>
</span><span id="29" class="l"><a class="l" href="#29">29: </a> } </span><span id="29" class="l"><a class="l" href="#29"> 29: </a> <span class="php-comment">/**
</span><span id="30" class="l"><a class="l" href="#30">30: </a> </span></span><span id="30" class="l"><a class="l" href="#30"> 30: </a><span class="php-comment"> * Route string for the Longitude paramter
</span><span id="31" class="l"><a class="l" href="#31">31: </a> <span class="php-comment">/** </span></span><span id="31" class="l"><a class="l" href="#31"> 31: </a><span class="php-comment"> * @var string
</span></span><span id="32" class="l"><a class="l" href="#32">32: </a><span class="php-comment"> * Method stert a sps-query </span></span><span id="32" class="l"><a class="l" href="#32"> 32: </a><span class="php-comment"> */</span>
</span></span><span id="33" class="l"><a class="l" href="#33">33: </a><span class="php-comment"> * @param array $queryArgs </span><span id="33" class="l"><a class="l" href="#33"> 33: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$routeParameterLongitude" href="#$routeParameterLongitude">$routeParameterLongitude</a></span> = <span class="php-quote">&quot;/longitude/:longitude&quot;</span>;
</span></span><span id="34" class="l"><a class="l" href="#34">34: </a><span class="php-comment"> * @return array[num] [assoc] </span><span id="34" class="l"><a class="l" href="#34"> 34: </a>
</span></span><span id="35" class="l"><a class="l" href="#35">35: </a><span class="php-comment"> */</span> </span><span id="35" class="l"><a class="l" href="#35"> 35: </a> <span class="php-comment">/**
</span><span id="36" class="l"><a class="l" href="#36">36: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_sendSpsQuery" href="#_sendSpsQuery">sendSpsQuery</a>(<span class="php-var">$queryArgs</span> = <span class="php-keyword1">array</span>()) { </span></span><span id="36" class="l"><a class="l" href="#36"> 36: </a><span class="php-comment"> * Route string for the latitude paramter
</span><span id="37" class="l"><a class="l" href="#37">37: </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>-&gt;sqlManager-&gt;sendSpsQuery(<span class="php-var">$queryArgs</span>); </span></span><span id="37" class="l"><a class="l" href="#37"> 37: </a><span class="php-comment"> * @var string
</span><span id="38" class="l"><a class="l" href="#38">38: </a> } </span></span><span id="38" class="l"><a class="l" href="#38"> 38: </a><span class="php-comment"> */</span>
</span><span id="39" class="l"><a class="l" href="#39">39: </a> </span><span id="39" class="l"><a class="l" href="#39"> 39: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$routeParameterLatitude" href="#$routeParameterLatitude">$routeParameterLatitude</a></span> = <span class="php-quote">&quot;/latitude/:latitude&quot;</span>;
</span><span id="40" class="l"><a class="l" href="#40">40: </a>} </span><span id="40" class="l"><a class="l" href="#40"> 40: </a>
</span><span id="41" class="l"><a class="l" href="#41">41: </a> </span><span id="41" class="l"><a class="l" href="#41"> 41: </a> <span class="php-comment">/**
</span><span id="42" class="l"><a class="l" href="#42">42: </a><span class="xlang">?&gt;</span> </span></span><span id="42" class="l"><a class="l" href="#42"> 42: </a><span class="php-comment"> * Keyword for alias arguments
</span><span id="43" class="l"><a class="l" href="#43">43: </a></span></code></pre> </span></span><span id="43" class="l"><a class="l" href="#43"> 43: </a><span class="php-comment"> * @var string
</span></span><span id="44" class="l"><a class="l" href="#44"> 44: </a><span class="php-comment"> */</span>
</span><span id="45" class="l"><a class="l" href="#45"> 45: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$keyAlias" href="#$keyAlias">$keyAlias</a></span> = <span class="php-quote">&quot;alias&quot;</span>;
</span><span id="46" class="l"><a class="l" href="#46"> 46: </a>
</span><span id="47" class="l"><a class="l" href="#47"> 47: </a> <span class="php-comment">/**
</span></span><span id="48" class="l"><a class="l" href="#48"> 48: </a><span class="php-comment"> * Keyword for domain arguments
</span></span><span id="49" class="l"><a class="l" href="#49"> 49: </a><span class="php-comment"> * @var string
</span></span><span id="50" class="l"><a class="l" href="#50"> 50: </a><span class="php-comment"> */</span>
</span><span id="51" class="l"><a class="l" href="#51"> 51: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$keyDomain" href="#$keyDomain">$keyDomain</a></span> = <span class="php-quote">&quot;domain&quot;</span>;
</span><span id="52" class="l"><a class="l" href="#52"> 52: </a>
</span><span id="53" class="l"><a class="l" href="#53"> 53: </a> <span class="php-comment">/**
</span></span><span id="54" class="l"><a class="l" href="#54"> 54: </a><span class="php-comment"> * Keyword for polygon arguments
</span></span><span id="55" class="l"><a class="l" href="#55"> 55: </a><span class="php-comment"> * @var string
</span></span><span id="56" class="l"><a class="l" href="#56"> 56: </a><span class="php-comment"> */</span>
</span><span id="57" class="l"><a class="l" href="#57"> 57: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$keyPoly" href="#$keyPoly">$keyPoly</a></span> = <span class="php-quote">&quot;poly&quot;</span>;
</span><span id="58" class="l"><a class="l" href="#58"> 58: </a>
</span><span id="59" class="l"><a class="l" href="#59"> 59: </a> <span class="php-comment">/**
</span></span><span id="60" class="l"><a class="l" href="#60"> 60: </a><span class="php-comment"> * Keyword for longitude arguments
</span></span><span id="61" class="l"><a class="l" href="#61"> 61: </a><span class="php-comment"> * @var string
</span></span><span id="62" class="l"><a class="l" href="#62"> 62: </a><span class="php-comment"> */</span>
</span><span id="63" class="l"><a class="l" href="#63"> 63: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$keyLong" href="#$keyLong">$keyLong</a></span> = <span class="php-quote">&quot;longitude&quot;</span>;
</span><span id="64" class="l"><a class="l" href="#64"> 64: </a>
</span><span id="65" class="l"><a class="l" href="#65"> 65: </a> <span class="php-comment">/**
</span></span><span id="66" class="l"><a class="l" href="#66"> 66: </a><span class="php-comment"> * Keyword for latitude arguments
</span></span><span id="67" class="l"><a class="l" href="#67"> 67: </a><span class="php-comment"> * @var string
</span></span><span id="68" class="l"><a class="l" href="#68"> 68: </a><span class="php-comment"> */</span>
</span><span id="69" class="l"><a class="l" href="#69"> 69: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$keyLat" href="#$keyLat">$keyLat</a></span> = <span class="php-quote">&quot;latitude&quot;</span>;
</span><span id="70" class="l"><a class="l" href="#70"> 70: </a>
</span><span id="71" class="l"><a class="l" href="#71"> 71: </a> <span class="php-comment">/*
</span></span><span id="72" class="l"><a class="l" href="#72"> 72: </a><span class="php-comment"> * Varible for the range of the searchpolygon
</span></span><span id="73" class="l"><a class="l" href="#73"> 73: </a><span class="php-comment"> * @var float
</span></span><span id="74" class="l"><a class="l" href="#74"> 74: </a><span class="php-comment"> */</span>
</span><span id="75" class="l"><a class="l" href="#75"> 75: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$range" href="#$range">$range</a></span> = <span class="php-num">1</span>;
</span><span id="76" class="l"><a class="l" href="#76"> 76: </a>
</span><span id="77" class="l"><a class="l" href="#77"> 77: </a> <span class="php-comment">/*
</span></span><span id="78" class="l"><a class="l" href="#78"> 78: </a><span class="php-comment"> * Varible for the fist chars of the string for a Polygon
</span></span><span id="79" class="l"><a class="l" href="#79"> 79: </a><span class="php-comment"> * @var string
</span></span><span id="80" class="l"><a class="l" href="#80"> 80: </a><span class="php-comment"> */</span>
</span><span id="81" class="l"><a class="l" href="#81"> 81: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$polyStartStr" href="#$polyStartStr">$polyStartStr</a></span> = <span class="php-quote">&quot;GeomFromText('Polygon((&quot;</span>;
</span><span id="82" class="l"><a class="l" href="#82"> 82: </a>
</span><span id="83" class="l"><a class="l" href="#83"> 83: </a> <span class="php-comment">/*
</span></span><span id="84" class="l"><a class="l" href="#84"> 84: </a><span class="php-comment"> * Varible for the last chars of the string for a Polygon
</span></span><span id="85" class="l"><a class="l" href="#85"> 85: </a><span class="php-comment"> * @var string
</span></span><span id="86" class="l"><a class="l" href="#86"> 86: </a><span class="php-comment"> */</span>
</span><span id="87" class="l"><a class="l" href="#87"> 87: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$polyEndStr" href="#$polyEndStr">$polyEndStr</a></span> = <span class="php-quote">&quot;))'&quot;</span>;
</span><span id="88" class="l"><a class="l" href="#88"> 88: </a>
</span><span id="89" class="l"><a class="l" href="#89"> 89: </a> <span class="php-comment">/**
</span></span><span id="90" class="l"><a class="l" href="#90"> 90: </a><span class="php-comment"> * maximum value of latitude
</span></span><span id="91" class="l"><a class="l" href="#91"> 91: </a><span class="php-comment"> * @var float
</span></span><span id="92" class="l"><a class="l" href="#92"> 92: </a><span class="php-comment"> */</span>
</span><span id="93" class="l"><a class="l" href="#93"> 93: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$maxLat" href="#$maxLat">$maxLat</a></span> = <span class="php-num">180</span>;
</span><span id="94" class="l"><a class="l" href="#94"> 94: </a>
</span><span id="95" class="l"><a class="l" href="#95"> 95: </a> <span class="php-comment">/**
</span></span><span id="96" class="l"><a class="l" href="#96"> 96: </a><span class="php-comment"> * minimum value of latitude
</span></span><span id="97" class="l"><a class="l" href="#97"> 97: </a><span class="php-comment"> * @var float
</span></span><span id="98" class="l"><a class="l" href="#98"> 98: </a><span class="php-comment"> */</span>
</span><span id="99" class="l"><a class="l" href="#99"> 99: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$minLat" href="#$minLat">$minLat</a></span> = -<span class="php-num">180</span>;
</span><span id="100" class="l"><a class="l" href="#100">100: </a>
</span><span id="101" class="l"><a class="l" href="#101">101: </a> <span class="php-comment">/**
</span></span><span id="102" class="l"><a class="l" href="#102">102: </a><span class="php-comment"> * maximum value of longitude
</span></span><span id="103" class="l"><a class="l" href="#103">103: </a><span class="php-comment"> * @var float
</span></span><span id="104" class="l"><a class="l" href="#104">104: </a><span class="php-comment"> */</span>
</span><span id="105" class="l"><a class="l" href="#105">105: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$maxLong" href="#$maxLong">$maxLong</a></span> = <span class="php-num">180</span>;
</span><span id="106" class="l"><a class="l" href="#106">106: </a>
</span><span id="107" class="l"><a class="l" href="#107">107: </a> <span class="php-comment">/**
</span></span><span id="108" class="l"><a class="l" href="#108">108: </a><span class="php-comment"> * minimum value of longitude
</span></span><span id="109" class="l"><a class="l" href="#109">109: </a><span class="php-comment"> * @var float
</span></span><span id="110" class="l"><a class="l" href="#110">110: </a><span class="php-comment"> */</span>
</span><span id="111" class="l"><a class="l" href="#111">111: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$minLong" href="#$minLong">$minLong</a></span> = -<span class="php-num">180</span>;
</span><span id="112" class="l"><a class="l" href="#112">112: </a>
</span><span id="113" class="l"><a class="l" href="#113">113: </a> <span class="php-comment">/**
</span></span><span id="114" class="l"><a class="l" href="#114">114: </a><span class="php-comment"> * Default-Constructor
</span></span><span id="115" class="l"><a class="l" href="#115">115: </a><span class="php-comment"> */</span>
</span><span id="116" class="l"><a class="l" href="#116">116: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___construct" href="#___construct">__construct</a>() {
</span><span id="117" class="l"><a class="l" href="#117">117: </a> <span class="php-var">$this</span>-&gt;sqlManager = <span class="php-keyword1">new</span> \database\SpsSqlManager();
</span><span id="118" class="l"><a class="l" href="#118">118: </a> parent::__construct();
</span><span id="119" class="l"><a class="l" href="#119">119: </a> }
</span><span id="120" class="l"><a class="l" href="#120">120: </a>
</span><span id="121" class="l"><a class="l" href="#121">121: </a> <span class="php-comment">/**
</span></span><span id="122" class="l"><a class="l" href="#122">122: </a><span class="php-comment"> * Default-DeConstructor
</span></span><span id="123" class="l"><a class="l" href="#123">123: </a><span class="php-comment"> */</span>
</span><span id="124" class="l"><a class="l" href="#124">124: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___destruct" href="#___destruct">__destruct</a>() {
</span><span id="125" class="l"><a class="l" href="#125">125: </a> parent::__destruct();
</span><span id="126" class="l"><a class="l" href="#126">126: </a> }
</span><span id="127" class="l"><a class="l" href="#127">127: </a>
</span><span id="128" class="l"><a class="l" href="#128">128: </a> <span class="php-comment">/**
</span></span><span id="129" class="l"><a class="l" href="#129">129: </a><span class="php-comment"> * Method start a sps-query(alias)
</span></span><span id="130" class="l"><a class="l" href="#130">130: </a><span class="php-comment"> * @param array $queryArgs
</span></span><span id="131" class="l"><a class="l" href="#131">131: </a><span class="php-comment"> * @return querry result as xml
</span></span><span id="132" class="l"><a class="l" href="#132">132: </a><span class="php-comment"> */</span>
</span><span id="133" class="l"><a class="l" href="#133">133: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_sendSpsAliasQuery" href="#_sendSpsAliasQuery">sendSpsAliasQuery</a>(<span class="php-var">$queryArgs</span>) {
</span><span id="134" class="l"><a class="l" href="#134">134: </a> <span class="php-var">$result</span> = <span class="php-var">$this</span>-&gt;sqlManager-&gt;sendSpsAliasQuery(<span class="php-var">$queryArgs</span>);
</span><span id="135" class="l"><a class="l" href="#135">135: </a> <span class="php-keyword1">return</span> \utiliy\XmlManager::arrayToSpsXml(<span class="php-var">$result</span>);
</span><span id="136" class="l"><a class="l" href="#136">136: </a> }
</span><span id="137" class="l"><a class="l" href="#137">137: </a>
</span><span id="138" class="l"><a class="l" href="#138">138: </a> <span class="php-comment">/**
</span></span><span id="139" class="l"><a class="l" href="#139">139: </a><span class="php-comment"> * Method start a sps-query(Coordinates)
</span></span><span id="140" class="l"><a class="l" href="#140">140: </a><span class="php-comment"> * @param array $queryArgs
</span></span><span id="141" class="l"><a class="l" href="#141">141: </a><span class="php-comment"> * @return querry result as xml
</span></span><span id="142" class="l"><a class="l" href="#142">142: </a><span class="php-comment"> */</span>
</span><span id="143" class="l"><a class="l" href="#143">143: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_sendSpsCoordinateQuery" href="#_sendSpsCoordinateQuery">sendSpsCoordinateQuery</a>(<span class="php-var">$queryArgs</span>) {
</span><span id="144" class="l"><a class="l" href="#144">144: </a>
</span><span id="145" class="l"><a class="l" href="#145">145: </a> <span class="php-comment">// check arguments of the query</span>
</span><span id="146" class="l"><a class="l" href="#146">146: </a> <span class="php-keyword1">if</span> (!<span class="php-keyword2">array_key_exists</span>(SpsApi::<span class="php-var">$keyLong</span>, <span class="php-var">$queryArgs</span>) || !<span class="php-keyword2">array_key_exists</span>(SpsApi::<span class="php-var">$keyLat</span>, <span class="php-var">$queryArgs</span>)) {
</span><span id="147" class="l"><a class="l" href="#147">147: </a> <span class="php-keyword1">return</span> <span class="php-keyword1">null</span>;
</span><span id="148" class="l"><a class="l" href="#148">148: </a> }
</span><span id="149" class="l"><a class="l" href="#149">149: </a> <span class="php-var">$latitude</span> = <span class="php-var">$queryArgs</span>[SpsApi::<span class="php-var">$keyLat</span>];
</span><span id="150" class="l"><a class="l" href="#150">150: </a> <span class="php-var">$longitude</span> = <span class="php-var">$queryArgs</span>[SpsApi::<span class="php-var">$keyLong</span>];
</span><span id="151" class="l"><a class="l" href="#151">151: </a>
</span><span id="152" class="l"><a class="l" href="#152">152: </a> <span class="php-keyword1">if</span> (!<span class="php-var">$this</span>-&gt;validLatitude(<span class="php-var">$latitude</span>) || !<span class="php-var">$this</span>-&gt;validLongitude(<span class="php-var">$longitude</span>)) {
</span><span id="153" class="l"><a class="l" href="#153">153: </a> <span class="php-keyword1">return</span> <span class="php-keyword1">null</span>;
</span><span id="154" class="l"><a class="l" href="#154">154: </a> }
</span><span id="155" class="l"><a class="l" href="#155">155: </a>
</span><span id="156" class="l"><a class="l" href="#156">156: </a> <span class="php-comment">// build a request polygon</span>
</span><span id="157" class="l"><a class="l" href="#157">157: </a> <span class="php-var">$queryArgs</span>[SpsApi::<span class="php-var">$keyPoly</span>] = <span class="php-var">$this</span>-&gt;createPolygon(<span class="php-var">$latitude</span>, <span class="php-var">$longitude</span>, <span class="php-var">$this</span>-&gt;<span class="php-keyword2">range</span>);
</span><span id="158" class="l"><a class="l" href="#158">158: </a>
</span><span id="159" class="l"><a class="l" href="#159">159: </a> <span class="php-comment">// send querry</span>
</span><span id="160" class="l"><a class="l" href="#160">160: </a> <span class="php-var">$result</span> = <span class="php-var">$this</span>-&gt;sqlManager-&gt;sendSpsCoordinateQuery(<span class="php-var">$queryArgs</span>);
</span><span id="161" class="l"><a class="l" href="#161">161: </a> <span class="php-keyword1">return</span> \utiliy\XmlManager::arrayToSpsXml(<span class="php-var">$result</span>);
</span><span id="162" class="l"><a class="l" href="#162">162: </a> }
</span><span id="163" class="l"><a class="l" href="#163">163: </a>
</span><span id="164" class="l"><a class="l" href="#164">164: </a> <span class="php-comment">/**
</span></span><span id="165" class="l"><a class="l" href="#165">165: </a><span class="php-comment"> * Method check if a string is a valid Longitude
</span></span><span id="166" class="l"><a class="l" href="#166">166: </a><span class="php-comment"> * @param string $string
</span></span><span id="167" class="l"><a class="l" href="#167">167: </a><span class="php-comment"> * @return bool
</span></span><span id="168" class="l"><a class="l" href="#168">168: </a><span class="php-comment"> */</span>
</span><span id="169" class="l"><a class="l" href="#169">169: </a> <span class="php-keyword1">private</span> <span class="php-keyword1">function</span> <a id="_validLongitude" href="#_validLongitude">validLongitude</a>(<span class="php-var">$string</span>) {
</span><span id="170" class="l"><a class="l" href="#170">170: </a> <span class="php-var">$digitLessPoint</span> = <span class="php-keyword2">str_replace</span>(<span class="php-quote">&quot;.&quot;</span>, <span class="php-quote">&quot;&quot;</span>, <span class="php-var">$string</span>);
</span><span id="171" class="l"><a class="l" href="#171">171: </a> <span class="php-var">$digit</span> = <span class="php-keyword2">str_replace</span>(<span class="php-quote">&quot;-&quot;</span>, <span class="php-quote">&quot;&quot;</span>, <span class="php-var">$digitLessPoint</span>);
</span><span id="172" class="l"><a class="l" href="#172">172: </a> <span class="php-keyword1">if</span> (<span class="php-keyword2">ctype_digit</span>(<span class="php-var">$digit</span>)) {
</span><span id="173" class="l"><a class="l" href="#173">173: </a> <span class="php-keyword1">if</span> (<span class="php-var">$string</span> &lt;= <span class="php-var">$this</span>-&gt;maxLong &amp;&amp; <span class="php-var">$string</span> &gt;= <span class="php-var">$this</span>-&gt;minLong) {
</span><span id="174" class="l"><a class="l" href="#174">174: </a> <span class="php-keyword1">return</span> <span class="php-keyword1">TRUE</span>;
</span><span id="175" class="l"><a class="l" href="#175">175: </a> }
</span><span id="176" class="l"><a class="l" href="#176">176: </a> };
</span><span id="177" class="l"><a class="l" href="#177">177: </a> <span class="php-keyword1">return</span> <span class="php-keyword1">FALSE</span>;
</span><span id="178" class="l"><a class="l" href="#178">178: </a> }
</span><span id="179" class="l"><a class="l" href="#179">179: </a>
</span><span id="180" class="l"><a class="l" href="#180">180: </a> <span class="php-comment">/**
</span></span><span id="181" class="l"><a class="l" href="#181">181: </a><span class="php-comment"> * Method check if a string is a valid Latitude
</span></span><span id="182" class="l"><a class="l" href="#182">182: </a><span class="php-comment"> * @param strinf $string
</span></span><span id="183" class="l"><a class="l" href="#183">183: </a><span class="php-comment"> * @return bool
</span></span><span id="184" class="l"><a class="l" href="#184">184: </a><span class="php-comment"> */</span>
</span><span id="185" class="l"><a class="l" href="#185">185: </a> <span class="php-keyword1">private</span> <span class="php-keyword1">function</span> <a id="_validLatitude" href="#_validLatitude">validLatitude</a>(<span class="php-var">$string</span>) {
</span><span id="186" class="l"><a class="l" href="#186">186: </a> <span class="php-var">$digitLessPoint</span> = <span class="php-keyword2">str_replace</span>(<span class="php-quote">&quot;.&quot;</span>, <span class="php-quote">&quot;&quot;</span>, <span class="php-var">$string</span>);
</span><span id="187" class="l"><a class="l" href="#187">187: </a> <span class="php-var">$digit</span> = <span class="php-keyword2">str_replace</span>(<span class="php-quote">&quot;-&quot;</span>, <span class="php-quote">&quot;&quot;</span>, <span class="php-var">$digitLessPoint</span>);
</span><span id="188" class="l"><a class="l" href="#188">188: </a> <span class="php-keyword1">if</span> (<span class="php-keyword2">ctype_digit</span>(<span class="php-var">$digit</span>)) {
</span><span id="189" class="l"><a class="l" href="#189">189: </a> <span class="php-keyword1">if</span> (<span class="php-var">$string</span> &lt;= <span class="php-var">$this</span>-&gt;maxLat &amp;&amp; <span class="php-var">$string</span> &gt;= <span class="php-var">$this</span>-&gt;minLat) {
</span><span id="190" class="l"><a class="l" href="#190">190: </a> <span class="php-keyword1">return</span> <span class="php-keyword1">TRUE</span>;
</span><span id="191" class="l"><a class="l" href="#191">191: </a> }
</span><span id="192" class="l"><a class="l" href="#192">192: </a> };
</span><span id="193" class="l"><a class="l" href="#193">193: </a> <span class="php-keyword1">return</span> <span class="php-keyword1">FALSE</span>;
</span><span id="194" class="l"><a class="l" href="#194">194: </a> }
</span><span id="195" class="l"><a class="l" href="#195">195: </a>
</span><span id="196" class="l"><a class="l" href="#196">196: </a> <span class="php-comment">/**
</span></span><span id="197" class="l"><a class="l" href="#197">197: </a><span class="php-comment"> * Method create a Polygon
</span></span><span id="198" class="l"><a class="l" href="#198">198: </a><span class="php-comment"> * @param float $latitude
</span></span><span id="199" class="l"><a class="l" href="#199">199: </a><span class="php-comment"> * @param float $longitude
</span></span><span id="200" class="l"><a class="l" href="#200">200: </a><span class="php-comment"> * @param float $range
</span></span><span id="201" class="l"><a class="l" href="#201">201: </a><span class="php-comment"> * @return string
</span></span><span id="202" class="l"><a class="l" href="#202">202: </a><span class="php-comment"> */</span>
</span><span id="203" class="l"><a class="l" href="#203">203: </a> <span class="php-keyword1">private</span> <span class="php-keyword1">function</span> <a id="_createPolygon" href="#_createPolygon">createPolygon</a>(<span class="php-var">$latitude</span>, <span class="php-var">$longitude</span>, <span class="php-var">$range</span>) {
</span><span id="204" class="l"><a class="l" href="#204">204: </a> <span class="php-var">$minLat</span> = <span class="php-var">$latitude</span> - <span class="php-var">$range</span>;
</span><span id="205" class="l"><a class="l" href="#205">205: </a> <span class="php-var">$minLong</span> = <span class="php-var">$longitude</span> - <span class="php-var">$range</span>;
</span><span id="206" class="l"><a class="l" href="#206">206: </a> <span class="php-var">$maxLat</span> = <span class="php-var">$latitude</span> + <span class="php-var">$range</span>;
</span><span id="207" class="l"><a class="l" href="#207">207: </a> <span class="php-var">$maxLong</span> = <span class="php-var">$longitude</span> + <span class="php-var">$range</span>;
</span><span id="208" class="l"><a class="l" href="#208">208: </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>-&gt;polyStartStr . <span class="php-quote">&quot;</span><span class="php-var">$minLat</span><span class="php-quote"> </span><span class="php-var">$minLong</span><span class="php-quote">,</span><span class="php-var">$minLat</span><span class="php-quote"> </span><span class="php-var">$maxLong</span><span class="php-quote">,</span><span class="php-var">$maxLat</span><span class="php-quote"> </span><span class="php-var">$maxLong</span><span class="php-quote">,</span><span class="php-var">$maxLat</span><span class="php-quote"> </span><span class="php-var">$minLong</span><span class="php-quote">,</span><span class="php-var">$minLat</span><span class="php-quote"> </span><span class="php-var">$minLong</span><span class="php-quote">&quot;</span> . <span class="php-var">$this</span>-&gt;polyEndStr;
</span><span id="209" class="l"><a class="l" href="#209">209: </a> }
</span><span id="210" class="l"><a class="l" href="#210">210: </a>
</span><span id="211" class="l"><a class="l" href="#211">211: </a>}
</span><span id="212" class="l"><a class="l" href="#212">212: </a>
</span><span id="213" class="l"><a class="l" href="#213">213: </a><span class="xlang">?&gt;</span>
</span><span id="214" class="l"><a class="l" href="#214">214: </a></span></code></pre>
<div id="footer"> <div id="footer">
GeoApi API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a> GeoApi API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>

View File

@@ -8,7 +8,7 @@
<title>File config/config.db.php | GeoApi</title> <title>File config/config.db.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -39,6 +39,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>
@@ -97,33 +99,40 @@
</span><span id="4" class="l"><a class="l" href="#4"> 4: </a> </span><span id="4" class="l"><a class="l" href="#4"> 4: </a>
</span><span id="5" class="l"><a class="l" href="#5"> 5: </a><span class="php-comment">/** </span><span id="5" class="l"><a class="l" href="#5"> 5: </a><span class="php-comment">/**
</span></span><span id="6" class="l"><a class="l" href="#6"> 6: </a><span class="php-comment"> * This clas is an container for the DBConf </span></span><span id="6" class="l"><a class="l" href="#6"> 6: </a><span class="php-comment"> * This clas is an container for the DBConf
</span></span><span id="7" class="l"><a class="l" href="#7"> 7: </a><span class="php-comment"> */</span> </span></span><span id="7" class="l"><a class="l" href="#7"> 7: </a><span class="php-comment"> *
</span><span id="8" class="l"><a class="l" href="#8"> 8: </a><span class="php-keyword1">class</span> <a id="DBConfig" href="#DBConfig">DBConfig</a> { </span></span><span id="8" class="l"><a class="l" href="#8"> 8: </a><span class="php-comment"> * @author stubbfel
</span><span id="9" class="l"><a class="l" href="#9"> 9: </a> </span></span><span id="9" class="l"><a class="l" href="#9"> 9: </a><span class="php-comment"> * @since 20.06.2013
</span><span id="10" class="l"><a class="l" href="#10">10: </a> <span class="php-comment">/** </span></span><span id="10" class="l"><a class="l" href="#10">10: </a><span class="php-comment"> */</span>
</span></span><span id="11" class="l"><a class="l" href="#11">11: </a><span class="php-comment"> * Address of the sqlserver </span><span id="11" class="l"><a class="l" href="#11">11: </a><span class="php-keyword1">class</span> <a id="DBConfig" href="#DBConfig">DBConfig</a> {
</span></span><span id="12" class="l"><a class="l" href="#12">12: </a><span class="php-comment"> */</span> </span><span id="12" class="l"><a class="l" href="#12">12: </a>
</span><span id="13" class="l"><a class="l" href="#13">13: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$sqlServer" href="#$sqlServer">$sqlServer</a></span> = <span class="php-quote">&quot;localhost&quot;</span>; </span><span id="13" class="l"><a class="l" href="#13">13: </a> <span class="php-comment">/**
</span><span id="14" class="l"><a class="l" href="#14">14: </a> </span></span><span id="14" class="l"><a class="l" href="#14">14: </a><span class="php-comment"> * Address of the sqlserver
</span><span id="15" class="l"><a class="l" href="#15">15: </a> <span class="php-comment">/** </span></span><span id="15" class="l"><a class="l" href="#15">15: </a><span class="php-comment"> * @var string
</span></span><span id="16" class="l"><a class="l" href="#16">16: </a><span class="php-comment"> * name of the database </span></span><span id="16" class="l"><a class="l" href="#16">16: </a><span class="php-comment"> */</span>
</span></span><span id="17" class="l"><a class="l" href="#17">17: </a><span class="php-comment"> */</span> </span><span id="17" class="l"><a class="l" href="#17">17: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$sqlServer" href="#$sqlServer">$sqlServer</a></span> = <span class="php-quote">&quot;localhost&quot;</span>;
</span><span id="18" class="l"><a class="l" href="#18">18: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$sqlDBName" href="#$sqlDBName">$sqlDBName</a></span> = <span class="php-quote">&quot;geoDB&quot;</span>; </span><span id="18" class="l"><a class="l" href="#18">18: </a>
</span><span id="19" class="l"><a class="l" href="#19">19: </a> </span><span id="19" class="l"><a class="l" href="#19">19: </a> <span class="php-comment">/**
</span><span id="20" class="l"><a class="l" href="#20">20: </a> <span class="php-comment">/** </span></span><span id="20" class="l"><a class="l" href="#20">20: </a><span class="php-comment"> * name of the database
</span></span><span id="21" class="l"><a class="l" href="#21">21: </a><span class="php-comment"> * user of the database </span></span><span id="21" class="l"><a class="l" href="#21">21: </a><span class="php-comment"> * @var string
</span></span><span id="22" class="l"><a class="l" href="#22">22: </a><span class="php-comment"> */</span> </span></span><span id="22" class="l"><a class="l" href="#22">22: </a><span class="php-comment"> */</span>
</span><span id="23" class="l"><a class="l" href="#23">23: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$sqlDBUser" href="#$sqlDBUser">$sqlDBUser</a></span> = <span class="php-quote">&quot;geoDB&quot;</span>; </span><span id="23" class="l"><a class="l" href="#23">23: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$sqlDBName" href="#$sqlDBName">$sqlDBName</a></span> = <span class="php-quote">&quot;geoDB&quot;</span>;
</span><span id="24" class="l"><a class="l" href="#24">24: </a> </span><span id="24" class="l"><a class="l" href="#24">24: </a>
</span><span id="25" class="l"><a class="l" href="#25">25: </a> <span class="php-comment">/** </span><span id="25" class="l"><a class="l" href="#25">25: </a> <span class="php-comment">/**
</span></span><span id="26" class="l"><a class="l" href="#26">26: </a><span class="php-comment"> * password of the database </span></span><span id="26" class="l"><a class="l" href="#26">26: </a><span class="php-comment"> * user of the database
</span></span><span id="27" class="l"><a class="l" href="#27">27: </a><span class="php-comment"> */</span> </span></span><span id="27" class="l"><a class="l" href="#27">27: </a><span class="php-comment"> * @var string
</span><span id="28" class="l"><a class="l" href="#28">28: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$sqlDBUserPW" href="#$sqlDBUserPW">$sqlDBUserPW</a></span> = <span class="php-quote">&quot;VZrSAYvmcrntQ97b&quot;</span>; </span></span><span id="28" class="l"><a class="l" href="#28">28: </a><span class="php-comment"> */</span>
</span><span id="29" class="l"><a class="l" href="#29">29: </a> </span><span id="29" class="l"><a class="l" href="#29">29: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$sqlDBUser" href="#$sqlDBUser">$sqlDBUser</a></span> = <span class="php-quote">&quot;geoDB&quot;</span>;
</span><span id="30" class="l"><a class="l" href="#30">30: </a>} </span><span id="30" class="l"><a class="l" href="#30">30: </a>
</span><span id="31" class="l"><a class="l" href="#31">31: </a> </span><span id="31" class="l"><a class="l" href="#31">31: </a> <span class="php-comment">/**
</span><span id="32" class="l"><a class="l" href="#32">32: </a><span class="xlang">?&gt;</span> </span></span><span id="32" class="l"><a class="l" href="#32">32: </a><span class="php-comment"> * password of the database
</span><span id="33" class="l"><a class="l" href="#33">33: </a></span></code></pre> </span></span><span id="33" class="l"><a class="l" href="#33">33: </a><span class="php-comment"> * @var string
</span></span><span id="34" class="l"><a class="l" href="#34">34: </a><span class="php-comment"> */</span>
</span><span id="35" class="l"><a class="l" href="#35">35: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$sqlDBUserPW" href="#$sqlDBUserPW">$sqlDBUserPW</a></span> = <span class="php-quote">&quot;VZrSAYvmcrntQ97b&quot;</span>;
</span><span id="36" class="l"><a class="l" href="#36">36: </a>
</span><span id="37" class="l"><a class="l" href="#37">37: </a>}
</span><span id="38" class="l"><a class="l" href="#38">38: </a>
</span><span id="39" class="l"><a class="l" href="#39">39: </a><span class="xlang">?&gt;</span>
</span><span id="40" class="l"><a class="l" href="#40">40: </a></span></code></pre>
<div id="footer"> <div id="footer">
GeoApi API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a> GeoApi API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>

View File

@@ -0,0 +1,194 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="ApiGen 2.8.0" />
<meta name="robots" content="noindex" />
<title>File database/PisSqlManager.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
<div id="groups">
<h3>Namespaces</h3>
<ul>
<li><a href="namespace-api.html">api</a>
</li>
<li><a href="namespace-config.html">config</a>
</li>
<li class="active"><a href="namespace-database.html">database</a>
</li>
<li><a href="namespace-PHP.html">PHP</a>
</li>
<li><a href="namespace-Slim.html">Slim<span></span></a>
<ul>
<li><a href="namespace-Slim.Exception.html">Exception</a>
</li>
<li><a href="namespace-Slim.Http.html">Http</a>
</li>
<li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li>
</ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul>
</div>
<hr />
<div id="elements">
<h3>Classes</h3>
<ul>
<li class="active"><a href="class-database.PisSqlManager.html">PisSqlManager</a></li>
<li><a href="class-database.PssSqlManager.html">PssSqlManager</a></li>
<li><a href="class-database.SpsSqlManager.html">SpsSqlManager</a></li>
<li><a href="class-database.SqlManager.html">SqlManager</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" />
<input type="submit" value="Search" />
</form>
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="namespace-database.html" title="Summary of database"><span>Namespace</span></a>
</li>
<li>
<a href="class-database.PisSqlManager.html" title="Summary of database\PisSqlManager"><span>Class</span></a>
</li>
</ul>
<ul>
<li>
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
</li>
</ul>
<ul>
</ul>
</div>
<pre><code><span id="1" class="l"><a class="l" href="#1"> 1: </a><span class="xlang">&lt;?php</span>
</span><span id="2" class="l"><a class="l" href="#2"> 2: </a>
</span><span id="3" class="l"><a class="l" href="#3"> 3: </a><span class="php-keyword1">namespace</span> database;
</span><span id="4" class="l"><a class="l" href="#4"> 4: </a>
</span><span id="5" class="l"><a class="l" href="#5"> 5: </a><span class="php-keyword1">include_once</span> <span class="php-quote">&quot;../../global.inc.php&quot;</span>;
</span><span id="6" class="l"><a class="l" href="#6"> 6: </a><span class="php-keyword1">include_once</span> PATH_UTILITTY . <span class="php-quote">&quot;/StringManager.php&quot;</span>;
</span><span id="7" class="l"><a class="l" href="#7"> 7: </a><span class="php-keyword1">require_once</span> PATH_DATABASE . <span class="php-quote">&quot;/SqlManager.php&quot;</span>;
</span><span id="8" class="l"><a class="l" href="#8"> 8: </a>
</span><span id="9" class="l"><a class="l" href="#9"> 9: </a><span class="php-comment">/**
</span></span><span id="10" class="l"><a class="l" href="#10">10: </a><span class="php-comment"> * Description of PisSqlManager
</span></span><span id="11" class="l"><a class="l" href="#11">11: </a><span class="php-comment"> *
</span></span><span id="12" class="l"><a class="l" href="#12">12: </a><span class="php-comment"> * @author stubbfel
</span></span><span id="13" class="l"><a class="l" href="#13">13: </a><span class="php-comment"> * @since 20.06.2013
</span></span><span id="14" class="l"><a class="l" href="#14">14: </a><span class="php-comment"> */</span>
</span><span id="15" class="l"><a class="l" href="#15">15: </a><span class="php-keyword1">class</span> <a id="PisSqlManager" href="#PisSqlManager">PisSqlManager</a> <span class="php-keyword1">extends</span> SQLManager {
</span><span id="16" class="l"><a class="l" href="#16">16: </a>
</span><span id="17" class="l"><a class="l" href="#17">17: </a> <span class="php-comment">/**
</span></span><span id="18" class="l"><a class="l" href="#18">18: </a><span class="php-comment"> * Fieldname of the placeID
</span></span><span id="19" class="l"><a class="l" href="#19">19: </a><span class="php-comment"> * @var string
</span></span><span id="20" class="l"><a class="l" href="#20">20: </a><span class="php-comment"> */</span>
</span><span id="21" class="l"><a class="l" href="#21">21: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$placeId" href="#$placeId">$placeId</a></span> = <span class="php-quote">&quot;pid&quot;</span>;
</span><span id="22" class="l"><a class="l" href="#22">22: </a>
</span><span id="23" class="l"><a class="l" href="#23">23: </a> <span class="php-comment">/**
</span></span><span id="24" class="l"><a class="l" href="#24">24: </a><span class="php-comment"> * Fieldname of the name of the information
</span></span><span id="25" class="l"><a class="l" href="#25">25: </a><span class="php-comment"> * @var string
</span></span><span id="26" class="l"><a class="l" href="#26">26: </a><span class="php-comment"> */</span>
</span><span id="27" class="l"><a class="l" href="#27">27: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$infName" href="#$infName">$infName</a></span> = <span class="php-quote">&quot;iName&quot;</span>;
</span><span id="28" class="l"><a class="l" href="#28">28: </a>
</span><span id="29" class="l"><a class="l" href="#29">29: </a> <span class="php-comment">/**
</span></span><span id="30" class="l"><a class="l" href="#30">30: </a><span class="php-comment"> * Fieldname of the value of the information
</span></span><span id="31" class="l"><a class="l" href="#31">31: </a><span class="php-comment"> * @var string
</span></span><span id="32" class="l"><a class="l" href="#32">32: </a><span class="php-comment"> */</span>
</span><span id="33" class="l"><a class="l" href="#33">33: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$infValue" href="#$infValue">$infValue</a></span> = <span class="php-quote">&quot;iValue&quot;</span>;
</span><span id="34" class="l"><a class="l" href="#34">34: </a>
</span><span id="35" class="l"><a class="l" href="#35">35: </a> <span class="php-comment">/**
</span></span><span id="36" class="l"><a class="l" href="#36">36: </a><span class="php-comment"> * String for the select part of the query
</span></span><span id="37" class="l"><a class="l" href="#37">37: </a><span class="php-comment"> * @var string
</span></span><span id="38" class="l"><a class="l" href="#38">38: </a><span class="php-comment"> */</span>
</span><span id="39" class="l"><a class="l" href="#39">39: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$selectTerm" href="#$selectTerm">$selectTerm</a></span> = <span class="php-quote">&quot;SELECT pid, iName, iValue FROM pis WHERE &quot;</span>;
</span><span id="40" class="l"><a class="l" href="#40">40: </a>
</span><span id="41" class="l"><a class="l" href="#41">41: </a> <span class="php-comment">/**
</span></span><span id="42" class="l"><a class="l" href="#42">42: </a><span class="php-comment"> * String for the orderby part of the query
</span></span><span id="43" class="l"><a class="l" href="#43">43: </a><span class="php-comment"> * @var string
</span></span><span id="44" class="l"><a class="l" href="#44">44: </a><span class="php-comment"> */</span>
</span><span id="45" class="l"><a class="l" href="#45">45: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$orderByTerm" href="#$orderByTerm">$orderByTerm</a></span> = <span class="php-quote">&quot; ORDER BY pid, iName&quot;</span>;
</span><span id="46" class="l"><a class="l" href="#46">46: </a>
</span><span id="47" class="l"><a class="l" href="#47">47: </a> <span class="php-comment">/**
</span></span><span id="48" class="l"><a class="l" href="#48">48: </a><span class="php-comment"> * String for the pid part of the query
</span></span><span id="49" class="l"><a class="l" href="#49">49: </a><span class="php-comment"> * @var string
</span></span><span id="50" class="l"><a class="l" href="#50">50: </a><span class="php-comment"> */</span>
</span><span id="51" class="l"><a class="l" href="#51">51: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$pidTerm" href="#$pidTerm">$pidTerm</a></span> = <span class="php-quote">&quot;pid = &quot;</span>;
</span><span id="52" class="l"><a class="l" href="#52">52: </a>
</span><span id="53" class="l"><a class="l" href="#53">53: </a> <span class="php-comment">/**
</span></span><span id="54" class="l"><a class="l" href="#54">54: </a><span class="php-comment"> * Default-Constructor
</span></span><span id="55" class="l"><a class="l" href="#55">55: </a><span class="php-comment"> */</span>
</span><span id="56" class="l"><a class="l" href="#56">56: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___construct" href="#___construct">__construct</a>() {
</span><span id="57" class="l"><a class="l" href="#57">57: </a> parent::__construct();
</span><span id="58" class="l"><a class="l" href="#58">58: </a> }
</span><span id="59" class="l"><a class="l" href="#59">59: </a>
</span><span id="60" class="l"><a class="l" href="#60">60: </a> <span class="php-comment">/**
</span></span><span id="61" class="l"><a class="l" href="#61">61: </a><span class="php-comment"> * Default-DeConstructor
</span></span><span id="62" class="l"><a class="l" href="#62">62: </a><span class="php-comment"> */</span>
</span><span id="63" class="l"><a class="l" href="#63">63: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___destruct" href="#___destruct">__destruct</a>() {
</span><span id="64" class="l"><a class="l" href="#64">64: </a> parent::__destruct();
</span><span id="65" class="l"><a class="l" href="#65">65: </a> }
</span><span id="66" class="l"><a class="l" href="#66">66: </a>
</span><span id="67" class="l"><a class="l" href="#67">67: </a> <span class="php-comment">/**
</span></span><span id="68" class="l"><a class="l" href="#68">68: </a><span class="php-comment"> * Methods send an query for the pis-service
</span></span><span id="69" class="l"><a class="l" href="#69">69: </a><span class="php-comment"> * @param array $queryArgs
</span></span><span id="70" class="l"><a class="l" href="#70">70: </a><span class="php-comment"> * @return array [num][assoc]
</span></span><span id="71" class="l"><a class="l" href="#71">71: </a><span class="php-comment"> */</span>
</span><span id="72" class="l"><a class="l" href="#72">72: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_sendPisQuery" href="#_sendPisQuery">sendPisQuery</a>(<span class="php-var">$queryArgs</span>) {
</span><span id="73" class="l"><a class="l" href="#73">73: </a>
</span><span id="74" class="l"><a class="l" href="#74">74: </a> <span class="php-comment">// build query string</span>
</span><span id="75" class="l"><a class="l" href="#75">75: </a> <span class="php-var">$query</span> = <span class="php-var">$this</span>-&gt;selectTerm;
</span><span id="76" class="l"><a class="l" href="#76">76: </a> <span class="php-keyword1">if</span> (\utiliy\ArrayManager::validIntList(<span class="php-var">$queryArgs</span>)) {
</span><span id="77" class="l"><a class="l" href="#77">77: </a> <span class="php-var">$query</span> .= \utiliy\ArrayManager::toSqlWhereString(<span class="php-var">$queryArgs</span>, <span class="php-var">$this</span>-&gt;orTerm, <span class="php-var">$this</span>-&gt;pidTerm) . <span class="php-var">$this</span>-&gt;orderByTerm;
</span><span id="78" class="l"><a class="l" href="#78">78: </a> } <span class="php-keyword1">else</span> {
</span><span id="79" class="l"><a class="l" href="#79">79: </a> <span class="php-keyword1">return</span> <span class="php-keyword1">null</span>;
</span><span id="80" class="l"><a class="l" href="#80">80: </a> }
</span><span id="81" class="l"><a class="l" href="#81">81: </a>
</span><span id="82" class="l"><a class="l" href="#82">82: </a> <span class="php-comment">// send query</span>
</span><span id="83" class="l"><a class="l" href="#83">83: </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>-&gt;query(<span class="php-var">$query</span>);
</span><span id="84" class="l"><a class="l" href="#84">84: </a> }
</span><span id="85" class="l"><a class="l" href="#85">85: </a>}
</span><span id="86" class="l"><a class="l" href="#86">86: </a>
</span><span id="87" class="l"><a class="l" href="#87">87: </a><span class="xlang">?&gt;</span>
</span><span id="88" class="l"><a class="l" href="#88">88: </a></span></code></pre>
<div id="footer">
GeoApi API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,202 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="ApiGen 2.8.0" />
<meta name="robots" content="noindex" />
<title>File database/PssSqlManager.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
<div id="groups">
<h3>Namespaces</h3>
<ul>
<li><a href="namespace-api.html">api</a>
</li>
<li><a href="namespace-config.html">config</a>
</li>
<li class="active"><a href="namespace-database.html">database</a>
</li>
<li><a href="namespace-PHP.html">PHP</a>
</li>
<li><a href="namespace-Slim.html">Slim<span></span></a>
<ul>
<li><a href="namespace-Slim.Exception.html">Exception</a>
</li>
<li><a href="namespace-Slim.Http.html">Http</a>
</li>
<li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li>
</ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul>
</div>
<hr />
<div id="elements">
<h3>Classes</h3>
<ul>
<li><a href="class-database.PisSqlManager.html">PisSqlManager</a></li>
<li class="active"><a href="class-database.PssSqlManager.html">PssSqlManager</a></li>
<li><a href="class-database.SpsSqlManager.html">SpsSqlManager</a></li>
<li><a href="class-database.SqlManager.html">SqlManager</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" />
<input type="submit" value="Search" />
</form>
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="namespace-database.html" title="Summary of database"><span>Namespace</span></a>
</li>
<li>
<a href="class-database.PssSqlManager.html" title="Summary of database\PssSqlManager"><span>Class</span></a>
</li>
</ul>
<ul>
<li>
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
</li>
</ul>
<ul>
</ul>
</div>
<pre><code><span id="1" class="l"><a class="l" href="#1"> 1: </a><span class="xlang">&lt;?php</span>
</span><span id="2" class="l"><a class="l" href="#2"> 2: </a>
</span><span id="3" class="l"><a class="l" href="#3"> 3: </a><span class="php-keyword1">namespace</span> database;
</span><span id="4" class="l"><a class="l" href="#4"> 4: </a>
</span><span id="5" class="l"><a class="l" href="#5"> 5: </a><span class="php-keyword1">include_once</span> <span class="php-quote">&quot;../../global.inc.php&quot;</span>;
</span><span id="6" class="l"><a class="l" href="#6"> 6: </a><span class="php-keyword1">include_once</span> PATH_UTILITTY . <span class="php-quote">&quot;/ArrayManager.php&quot;</span>;
</span><span id="7" class="l"><a class="l" href="#7"> 7: </a><span class="php-keyword1">require_once</span> PATH_DATABASE . <span class="php-quote">&quot;/SqlManager.php&quot;</span>;
</span><span id="8" class="l"><a class="l" href="#8"> 8: </a>
</span><span id="9" class="l"><a class="l" href="#9"> 9: </a><span class="php-comment">/**
</span></span><span id="10" class="l"><a class="l" href="#10">10: </a><span class="php-comment"> * Description of PssSqlManager
</span></span><span id="11" class="l"><a class="l" href="#11">11: </a><span class="php-comment"> *
</span></span><span id="12" class="l"><a class="l" href="#12">12: </a><span class="php-comment"> * @author stubbfel
</span></span><span id="13" class="l"><a class="l" href="#13">13: </a><span class="php-comment"> * @since 20.06.2013
</span></span><span id="14" class="l"><a class="l" href="#14">14: </a><span class="php-comment"> */</span>
</span><span id="15" class="l"><a class="l" href="#15">15: </a><span class="php-keyword1">class</span> <a id="PssSqlManager" href="#PssSqlManager">PssSqlManager</a> <span class="php-keyword1">extends</span> SQLManager {
</span><span id="16" class="l"><a class="l" href="#16">16: </a>
</span><span id="17" class="l"><a class="l" href="#17">17: </a> <span class="php-comment">/**
</span></span><span id="18" class="l"><a class="l" href="#18">18: </a><span class="php-comment"> * Fieldname of the placeID
</span></span><span id="19" class="l"><a class="l" href="#19">19: </a><span class="php-comment"> * @var string
</span></span><span id="20" class="l"><a class="l" href="#20">20: </a><span class="php-comment"> */</span>
</span><span id="21" class="l"><a class="l" href="#21">21: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$placeId" href="#$placeId">$placeId</a></span> = <span class="php-quote">&quot;pid&quot;</span>;
</span><span id="22" class="l"><a class="l" href="#22">22: </a>
</span><span id="23" class="l"><a class="l" href="#23">23: </a> <span class="php-comment">/**
</span></span><span id="24" class="l"><a class="l" href="#24">24: </a><span class="php-comment"> * Fieldname of the name of the service
</span></span><span id="25" class="l"><a class="l" href="#25">25: </a><span class="php-comment"> * @var string
</span></span><span id="26" class="l"><a class="l" href="#26">26: </a><span class="php-comment"> */</span>
</span><span id="27" class="l"><a class="l" href="#27">27: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$srvName" href="#$srvName">$srvName</a></span> = <span class="php-quote">&quot;sName&quot;</span>;
</span><span id="28" class="l"><a class="l" href="#28">28: </a>
</span><span id="29" class="l"><a class="l" href="#29">29: </a> <span class="php-comment">/**
</span></span><span id="30" class="l"><a class="l" href="#30">30: </a><span class="php-comment"> * Fieldname of the value of the information
</span></span><span id="31" class="l"><a class="l" href="#31">31: </a><span class="php-comment"> * @var string
</span></span><span id="32" class="l"><a class="l" href="#32">32: </a><span class="php-comment"> */</span>
</span><span id="33" class="l"><a class="l" href="#33">33: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$srvSap" href="#$srvSap">$srvSap</a></span> = <span class="php-quote">&quot;sap&quot;</span>;
</span><span id="34" class="l"><a class="l" href="#34">34: </a>
</span><span id="35" class="l"><a class="l" href="#35">35: </a> <span class="php-comment">/**
</span></span><span id="36" class="l"><a class="l" href="#36">36: </a><span class="php-comment"> * Fieldname of the value of the information
</span></span><span id="37" class="l"><a class="l" href="#37">37: </a><span class="php-comment"> * @var string
</span></span><span id="38" class="l"><a class="l" href="#38">38: </a><span class="php-comment"> */</span>
</span><span id="39" class="l"><a class="l" href="#39">39: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$srvRequest" href="#$srvRequest">$srvRequest</a></span> = <span class="php-quote">&quot;request&quot;</span>;
</span><span id="40" class="l"><a class="l" href="#40">40: </a>
</span><span id="41" class="l"><a class="l" href="#41">41: </a> <span class="php-comment">/**
</span></span><span id="42" class="l"><a class="l" href="#42">42: </a><span class="php-comment"> * String for the select part of the query
</span></span><span id="43" class="l"><a class="l" href="#43">43: </a><span class="php-comment"> * @var string
</span></span><span id="44" class="l"><a class="l" href="#44">44: </a><span class="php-comment"> */</span>
</span><span id="45" class="l"><a class="l" href="#45">45: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$selectTerm" href="#$selectTerm">$selectTerm</a></span> = <span class="php-quote">&quot;SELECT pid, sName, sap, request FROM pss WHERE &quot;</span>;
</span><span id="46" class="l"><a class="l" href="#46">46: </a>
</span><span id="47" class="l"><a class="l" href="#47">47: </a> <span class="php-comment">/**
</span></span><span id="48" class="l"><a class="l" href="#48">48: </a><span class="php-comment"> * String for the orderby part of the query
</span></span><span id="49" class="l"><a class="l" href="#49">49: </a><span class="php-comment"> * @var string
</span></span><span id="50" class="l"><a class="l" href="#50">50: </a><span class="php-comment"> */</span>
</span><span id="51" class="l"><a class="l" href="#51">51: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$orderByTerm" href="#$orderByTerm">$orderByTerm</a></span> = <span class="php-quote">&quot; ORDER BY pid, sName&quot;</span>;
</span><span id="52" class="l"><a class="l" href="#52">52: </a>
</span><span id="53" class="l"><a class="l" href="#53">53: </a> <span class="php-comment">/**
</span></span><span id="54" class="l"><a class="l" href="#54">54: </a><span class="php-comment"> * String for the pid part of the query
</span></span><span id="55" class="l"><a class="l" href="#55">55: </a><span class="php-comment"> * @var string
</span></span><span id="56" class="l"><a class="l" href="#56">56: </a><span class="php-comment"> */</span>
</span><span id="57" class="l"><a class="l" href="#57">57: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$pidTerm" href="#$pidTerm">$pidTerm</a></span> = <span class="php-quote">&quot;pid = &quot;</span>;
</span><span id="58" class="l"><a class="l" href="#58">58: </a>
</span><span id="59" class="l"><a class="l" href="#59">59: </a> <span class="php-comment">/**
</span></span><span id="60" class="l"><a class="l" href="#60">60: </a><span class="php-comment"> * Default-Constructor
</span></span><span id="61" class="l"><a class="l" href="#61">61: </a><span class="php-comment"> */</span>
</span><span id="62" class="l"><a class="l" href="#62">62: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___construct" href="#___construct">__construct</a>() {
</span><span id="63" class="l"><a class="l" href="#63">63: </a> parent::__construct();
</span><span id="64" class="l"><a class="l" href="#64">64: </a> }
</span><span id="65" class="l"><a class="l" href="#65">65: </a>
</span><span id="66" class="l"><a class="l" href="#66">66: </a> <span class="php-comment">/**
</span></span><span id="67" class="l"><a class="l" href="#67">67: </a><span class="php-comment"> * Default-DeConstructor
</span></span><span id="68" class="l"><a class="l" href="#68">68: </a><span class="php-comment"> */</span>
</span><span id="69" class="l"><a class="l" href="#69">69: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___destruct" href="#___destruct">__destruct</a>() {
</span><span id="70" class="l"><a class="l" href="#70">70: </a> parent::__destruct();
</span><span id="71" class="l"><a class="l" href="#71">71: </a> }
</span><span id="72" class="l"><a class="l" href="#72">72: </a>
</span><span id="73" class="l"><a class="l" href="#73">73: </a> <span class="php-comment">/**
</span></span><span id="74" class="l"><a class="l" href="#74">74: </a><span class="php-comment"> * Methods send an query for the pis-service
</span></span><span id="75" class="l"><a class="l" href="#75">75: </a><span class="php-comment"> * @param array $queryArgs
</span></span><span id="76" class="l"><a class="l" href="#76">76: </a><span class="php-comment"> * @return array [num][assoc]
</span></span><span id="77" class="l"><a class="l" href="#77">77: </a><span class="php-comment"> */</span>
</span><span id="78" class="l"><a class="l" href="#78">78: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_sendPssQuery" href="#_sendPssQuery">sendPssQuery</a>(<span class="php-var">$queryArgs</span>) {
</span><span id="79" class="l"><a class="l" href="#79">79: </a>
</span><span id="80" class="l"><a class="l" href="#80">80: </a> <span class="php-comment">// build query string</span>
</span><span id="81" class="l"><a class="l" href="#81">81: </a> <span class="php-var">$query</span> = <span class="php-var">$this</span>-&gt;selectTerm;
</span><span id="82" class="l"><a class="l" href="#82">82: </a>
</span><span id="83" class="l"><a class="l" href="#83">83: </a> <span class="php-keyword1">if</span> (\utiliy\ArrayManager::validIntList(<span class="php-var">$queryArgs</span>)) {
</span><span id="84" class="l"><a class="l" href="#84">84: </a> <span class="php-var">$query</span> .= \utiliy\ArrayManager::toSqlWhereString(<span class="php-var">$queryArgs</span>, <span class="php-var">$this</span>-&gt;orTerm, <span class="php-var">$this</span>-&gt;pidTerm) . <span class="php-var">$this</span>-&gt;orderByTerm;
</span><span id="85" class="l"><a class="l" href="#85">85: </a> } <span class="php-keyword1">else</span> {
</span><span id="86" class="l"><a class="l" href="#86">86: </a> <span class="php-keyword1">return</span> <span class="php-keyword1">null</span>;
</span><span id="87" class="l"><a class="l" href="#87">87: </a> };
</span><span id="88" class="l"><a class="l" href="#88">88: </a>
</span><span id="89" class="l"><a class="l" href="#89">89: </a> <span class="php-comment">// send query</span>
</span><span id="90" class="l"><a class="l" href="#90">90: </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>-&gt;query(<span class="php-var">$query</span>);
</span><span id="91" class="l"><a class="l" href="#91">91: </a> }
</span><span id="92" class="l"><a class="l" href="#92">92: </a>
</span><span id="93" class="l"><a class="l" href="#93">93: </a>}
</span><span id="94" class="l"><a class="l" href="#94">94: </a>
</span><span id="95" class="l"><a class="l" href="#95">95: </a><span class="xlang">?&gt;</span>
</span><span id="96" class="l"><a class="l" href="#96">96: </a></span></code></pre>
<div id="footer">
GeoApi API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<title>File database/SpsSqlManager.php | GeoApi</title> <title>File database/SpsSqlManager.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -39,6 +39,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>
@@ -48,6 +50,8 @@
<div id="elements"> <div id="elements">
<h3>Classes</h3> <h3>Classes</h3>
<ul> <ul>
<li><a href="class-database.PisSqlManager.html">PisSqlManager</a></li>
<li><a href="class-database.PssSqlManager.html">PssSqlManager</a></li>
<li class="active"><a href="class-database.SpsSqlManager.html">SpsSqlManager</a></li> <li class="active"><a href="class-database.SpsSqlManager.html">SpsSqlManager</a></li>
<li><a href="class-database.SqlManager.html">SqlManager</a></li> <li><a href="class-database.SqlManager.html">SqlManager</a></li>
</ul> </ul>
@@ -92,51 +96,237 @@
</ul> </ul>
</div> </div>
<pre><code><span id="1" class="l"><a class="l" href="#1"> 1: </a><span class="xlang">&lt;?php</span> <pre><code><span id="1" class="l"><a class="l" href="#1"> 1: </a><span class="xlang">&lt;?php</span>
</span><span id="2" class="l"><a class="l" href="#2"> 2: </a> </span><span id="2" class="l"><a class="l" href="#2"> 2: </a>
</span><span id="3" class="l"><a class="l" href="#3"> 3: </a><span class="php-keyword1">namespace</span> database; </span><span id="3" class="l"><a class="l" href="#3"> 3: </a><span class="php-keyword1">namespace</span> database;
</span><span id="4" class="l"><a class="l" href="#4"> 4: </a> </span><span id="4" class="l"><a class="l" href="#4"> 4: </a>
</span><span id="5" class="l"><a class="l" href="#5"> 5: </a><span class="php-keyword1">include_once</span> <span class="php-quote">&quot;../../global.inc.php&quot;</span>; </span><span id="5" class="l"><a class="l" href="#5"> 5: </a><span class="php-keyword1">include_once</span> <span class="php-quote">&quot;../../global.inc.php&quot;</span>;
</span><span id="6" class="l"><a class="l" href="#6"> 6: </a><span class="php-keyword1">include_once</span> PATH_DATABASE . <span class="php-quote">&quot;/SpsSqlManager.php&quot;</span>; </span><span id="6" class="l"><a class="l" href="#6"> 6: </a><span class="php-keyword1">include_once</span> PATH_UTILITTY . <span class="php-quote">&quot;/StringManager.php&quot;</span>;
</span><span id="7" class="l"><a class="l" href="#7"> 7: </a><span class="php-keyword1">include_once</span> PATH_DATABASE . <span class="php-quote">&quot;/SqlManager.php&quot;</span>; </span><span id="7" class="l"><a class="l" href="#7"> 7: </a><span class="php-keyword1">require_once</span> PATH_DATABASE . <span class="php-quote">&quot;/SqlManager.php&quot;</span>;
</span><span id="8" class="l"><a class="l" href="#8"> 8: </a> </span><span id="8" class="l"><a class="l" href="#8"> 8: </a>
</span><span id="9" class="l"><a class="l" href="#9"> 9: </a><span class="php-comment">/** </span><span id="9" class="l"><a class="l" href="#9"> 9: </a><span class="php-comment">/**
</span></span><span id="10" class="l"><a class="l" href="#10">10: </a><span class="php-comment"> * Description of SpsSqlManager </span></span><span id="10" class="l"><a class="l" href="#10"> 10: </a><span class="php-comment"> * Description of SpsSqlManager
</span></span><span id="11" class="l"><a class="l" href="#11">11: </a><span class="php-comment"> * </span></span><span id="11" class="l"><a class="l" href="#11"> 11: </a><span class="php-comment"> *
</span></span><span id="12" class="l"><a class="l" href="#12">12: </a><span class="php-comment"> * @author stubbfel </span></span><span id="12" class="l"><a class="l" href="#12"> 12: </a><span class="php-comment"> * @author stubbfel
</span></span><span id="13" class="l"><a class="l" href="#13">13: </a><span class="php-comment"> * @since 20.06.2013 </span></span><span id="13" class="l"><a class="l" href="#13"> 13: </a><span class="php-comment"> * @since 20.06.2013
</span></span><span id="14" class="l"><a class="l" href="#14">14: </a><span class="php-comment"> */</span> </span></span><span id="14" class="l"><a class="l" href="#14"> 14: </a><span class="php-comment"> */</span>
</span><span id="15" class="l"><a class="l" href="#15">15: </a><span class="php-keyword1">class</span> <a id="SpsSqlManager" href="#SpsSqlManager">SpsSqlManager</a> <span class="php-keyword1">extends</span> SQLManager { </span><span id="15" class="l"><a class="l" href="#15"> 15: </a><span class="php-keyword1">class</span> <a id="SpsSqlManager" href="#SpsSqlManager">SpsSqlManager</a> <span class="php-keyword1">extends</span> SQLManager {
</span><span id="16" class="l"><a class="l" href="#16">16: </a> </span><span id="16" class="l"><a class="l" href="#16"> 16: </a>
</span><span id="17" class="l"><a class="l" href="#17">17: </a> <span class="php-comment">/** </span><span id="17" class="l"><a class="l" href="#17"> 17: </a> <span class="php-comment">/**
</span></span><span id="18" class="l"><a class="l" href="#18">18: </a><span class="php-comment"> * Default-Constructor </span></span><span id="18" class="l"><a class="l" href="#18"> 18: </a><span class="php-comment"> * Fieldname of the placeID
</span></span><span id="19" class="l"><a class="l" href="#19">19: </a><span class="php-comment"> */</span> </span></span><span id="19" class="l"><a class="l" href="#19"> 19: </a><span class="php-comment"> * @var string
</span><span id="20" class="l"><a class="l" href="#20">20: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___construct" href="#___construct">__construct</a>() { </span></span><span id="20" class="l"><a class="l" href="#20"> 20: </a><span class="php-comment"> */</span>
</span><span id="21" class="l"><a class="l" href="#21">21: </a> parent::__construct(); </span><span id="21" class="l"><a class="l" href="#21"> 21: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$placeId" href="#$placeId">$placeId</a></span> = <span class="php-quote">&quot;id&quot;</span>;
</span><span id="22" class="l"><a class="l" href="#22">22: </a> } </span><span id="22" class="l"><a class="l" href="#22"> 22: </a>
</span><span id="23" class="l"><a class="l" href="#23">23: </a> </span><span id="23" class="l"><a class="l" href="#23"> 23: </a> <span class="php-comment">/**
</span><span id="24" class="l"><a class="l" href="#24">24: </a> <span class="php-comment">/** </span></span><span id="24" class="l"><a class="l" href="#24"> 24: </a><span class="php-comment"> * Fieldname of the parendId
</span></span><span id="25" class="l"><a class="l" href="#25">25: </a><span class="php-comment"> * Default-DEConstructor </span></span><span id="25" class="l"><a class="l" href="#25"> 25: </a><span class="php-comment"> * @var string
</span></span><span id="26" class="l"><a class="l" href="#26">26: </a><span class="php-comment"> */</span> </span></span><span id="26" class="l"><a class="l" href="#26"> 26: </a><span class="php-comment"> */</span>
</span><span id="27" class="l"><a class="l" href="#27">27: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___destruct" href="#___destruct">__destruct</a>() { </span><span id="27" class="l"><a class="l" href="#27"> 27: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$parentId" href="#$parentId">$parentId</a></span> = <span class="php-quote">&quot;parent&quot;</span>;
</span><span id="28" class="l"><a class="l" href="#28">28: </a> parent::__destruct(); </span><span id="28" class="l"><a class="l" href="#28"> 28: </a>
</span><span id="29" class="l"><a class="l" href="#29">29: </a> } </span><span id="29" class="l"><a class="l" href="#29"> 29: </a> <span class="php-comment">/**
</span><span id="30" class="l"><a class="l" href="#30">30: </a> </span></span><span id="30" class="l"><a class="l" href="#30"> 30: </a><span class="php-comment"> * String for the select part of the query
</span><span id="31" class="l"><a class="l" href="#31">31: </a> <span class="php-comment">/** </span></span><span id="31" class="l"><a class="l" href="#31"> 31: </a><span class="php-comment"> * @var string
</span></span><span id="32" class="l"><a class="l" href="#32">32: </a><span class="php-comment"> * Methods send an query for the sps-service </span></span><span id="32" class="l"><a class="l" href="#32"> 32: </a><span class="php-comment"> */</span>
</span></span><span id="33" class="l"><a class="l" href="#33">33: </a><span class="php-comment"> * @param array $queryArgs </span><span id="33" class="l"><a class="l" href="#33"> 33: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$selectTerm" href="#$selectTerm">$selectTerm</a></span> = <span class="php-quote">&quot;SELECT DISTINCT id, parent FROM sps WHERE &quot;</span>;
</span></span><span id="34" class="l"><a class="l" href="#34">34: </a><span class="php-comment"> * @return array [num][assoc] </span><span id="34" class="l"><a class="l" href="#34"> 34: </a>
</span></span><span id="35" class="l"><a class="l" href="#35">35: </a><span class="php-comment"> */</span> </span><span id="35" class="l"><a class="l" href="#35"> 35: </a> <span class="php-comment">/**
</span><span id="36" class="l"><a class="l" href="#36">36: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_sendSpsQuery" href="#_sendSpsQuery">sendSpsQuery</a>(<span class="php-var">$queryArgs</span> = <span class="php-keyword1">array</span>()) { </span></span><span id="36" class="l"><a class="l" href="#36"> 36: </a><span class="php-comment"> * String for the alias part of the query
</span><span id="37" class="l"><a class="l" href="#37">37: </a> <span class="php-comment">// TODO Input validitaion</span> </span></span><span id="37" class="l"><a class="l" href="#37"> 37: </a><span class="php-comment"> * @var string
</span><span id="38" class="l"><a class="l" href="#38">38: </a> <span class="php-var">$alias</span> = <span class="php-var">$queryArgs</span>[<span class="php-quote">&quot;alias&quot;</span>]; </span></span><span id="38" class="l"><a class="l" href="#38"> 38: </a><span class="php-comment"> */</span>
</span><span id="39" class="l"><a class="l" href="#39">39: </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>-&gt;query(<span class="php-quote">&quot;SELECT * FROM sps Where alias = \&quot;</span><span class="php-var">$alias</span><span class="php-quote">\&quot;&quot;</span>); </span><span id="39" class="l"><a class="l" href="#39"> 39: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$aliasTerm" href="#$aliasTerm">$aliasTerm</a></span> = <span class="php-quote">&quot;alias = &quot;</span>;
</span><span id="40" class="l"><a class="l" href="#40">40: </a> } </span><span id="40" class="l"><a class="l" href="#40"> 40: </a>
</span><span id="41" class="l"><a class="l" href="#41">41: </a> </span><span id="41" class="l"><a class="l" href="#41"> 41: </a> <span class="php-comment">/**
</span><span id="42" class="l"><a class="l" href="#42">42: </a>} </span></span><span id="42" class="l"><a class="l" href="#42"> 42: </a><span class="php-comment"> * String for the did part of the query
</span><span id="43" class="l"><a class="l" href="#43">43: </a> </span></span><span id="43" class="l"><a class="l" href="#43"> 43: </a><span class="php-comment"> * @var string
</span><span id="44" class="l"><a class="l" href="#44">44: </a><span class="xlang">?&gt;</span> </span></span><span id="44" class="l"><a class="l" href="#44"> 44: </a><span class="php-comment"> */</span>
</span><span id="45" class="l"><a class="l" href="#45">45: </a></span></code></pre> </span><span id="45" class="l"><a class="l" href="#45"> 45: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$domainTerm" href="#$domainTerm">$domainTerm</a></span> = <span class="php-quote">&quot;did = &quot;</span>;
</span><span id="46" class="l"><a class="l" href="#46"> 46: </a>
</span><span id="47" class="l"><a class="l" href="#47"> 47: </a> <span class="php-comment">/**
</span></span><span id="48" class="l"><a class="l" href="#48"> 48: </a><span class="php-comment"> * String for the dNamet part of the query
</span></span><span id="49" class="l"><a class="l" href="#49"> 49: </a><span class="php-comment"> * @var string
</span></span><span id="50" class="l"><a class="l" href="#50"> 50: </a><span class="php-comment"> */</span>
</span><span id="51" class="l"><a class="l" href="#51"> 51: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$domainNameTerm" href="#$domainNameTerm">$domainNameTerm</a></span> = <span class="php-quote">&quot;dName = &quot;</span>;
</span><span id="52" class="l"><a class="l" href="#52"> 52: </a>
</span><span id="53" class="l"><a class="l" href="#53"> 53: </a> <span class="php-comment">/**
</span></span><span id="54" class="l"><a class="l" href="#54"> 54: </a><span class="php-comment"> * first part of intersect-function
</span></span><span id="55" class="l"><a class="l" href="#55"> 55: </a><span class="php-comment"> * @var string
</span></span><span id="56" class="l"><a class="l" href="#56"> 56: </a><span class="php-comment"> */</span>
</span><span id="57" class="l"><a class="l" href="#57"> 57: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$interSectTermStart" href="#$interSectTermStart">$interSectTermStart</a></span> = <span class="php-quote">&quot;Intersects(&quot;</span>;
</span><span id="58" class="l"><a class="l" href="#58"> 58: </a>
</span><span id="59" class="l"><a class="l" href="#59"> 59: </a> <span class="php-comment">/**
</span></span><span id="60" class="l"><a class="l" href="#60"> 60: </a><span class="php-comment"> * last part of intersect-function
</span></span><span id="61" class="l"><a class="l" href="#61"> 61: </a><span class="php-comment"> * @var string
</span></span><span id="62" class="l"><a class="l" href="#62"> 62: </a><span class="php-comment"> */</span>
</span><span id="63" class="l"><a class="l" href="#63"> 63: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$interSectTermEnd" href="#$interSectTermEnd">$interSectTermEnd</a></span> = <span class="php-quote">&quot;),plan)&quot;</span>;
</span><span id="64" class="l"><a class="l" href="#64"> 64: </a>
</span><span id="65" class="l"><a class="l" href="#65"> 65: </a> <span class="php-comment">/**
</span></span><span id="66" class="l"><a class="l" href="#66"> 66: </a><span class="php-comment"> * first part of GeomFromText('Polygon-function
</span></span><span id="67" class="l"><a class="l" href="#67"> 67: </a><span class="php-comment"> * @var string
</span></span><span id="68" class="l"><a class="l" href="#68"> 68: </a><span class="php-comment"> */</span>
</span><span id="69" class="l"><a class="l" href="#69"> 69: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$polyStartStr" href="#$polyStartStr">$polyStartStr</a></span> = <span class="php-quote">&quot;GeomFromText('Polygon((&quot;</span>;
</span><span id="70" class="l"><a class="l" href="#70"> 70: </a>
</span><span id="71" class="l"><a class="l" href="#71"> 71: </a> <span class="php-comment">/**
</span></span><span id="72" class="l"><a class="l" href="#72"> 72: </a><span class="php-comment"> * last part of GeomFromText('Polygon-function
</span></span><span id="73" class="l"><a class="l" href="#73"> 73: </a><span class="php-comment"> * @var string
</span></span><span id="74" class="l"><a class="l" href="#74"> 74: </a><span class="php-comment"> */</span>
</span><span id="75" class="l"><a class="l" href="#75"> 75: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$polyEndStr" href="#$polyEndStr">$polyEndStr</a></span> = <span class="php-quote">&quot;))'&quot;</span>;
</span><span id="76" class="l"><a class="l" href="#76"> 76: </a>
</span><span id="77" class="l"><a class="l" href="#77"> 77: </a> <span class="php-comment">/**
</span></span><span id="78" class="l"><a class="l" href="#78"> 78: </a><span class="php-comment"> * maximium length of the value-string for an aliasname
</span></span><span id="79" class="l"><a class="l" href="#79"> 79: </a><span class="php-comment"> * @var int
</span></span><span id="80" class="l"><a class="l" href="#80"> 80: </a><span class="php-comment"> */</span>
</span><span id="81" class="l"><a class="l" href="#81"> 81: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$aliasMaxLenght" href="#$aliasMaxLenght">$aliasMaxLenght</a></span> = <span class="php-num">32</span>;
</span><span id="82" class="l"><a class="l" href="#82"> 82: </a>
</span><span id="83" class="l"><a class="l" href="#83"> 83: </a> <span class="php-comment">/**
</span></span><span id="84" class="l"><a class="l" href="#84"> 84: </a><span class="php-comment"> * maximium length of the value-string for a domainname
</span></span><span id="85" class="l"><a class="l" href="#85"> 85: </a><span class="php-comment"> * @var int
</span></span><span id="86" class="l"><a class="l" href="#86"> 86: </a><span class="php-comment"> */</span>
</span><span id="87" class="l"><a class="l" href="#87"> 87: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$domainMaxLenght" href="#$domainMaxLenght">$domainMaxLenght</a></span> = <span class="php-num">32</span>;
</span><span id="88" class="l"><a class="l" href="#88"> 88: </a>
</span><span id="89" class="l"><a class="l" href="#89"> 89: </a> <span class="php-comment">/**
</span></span><span id="90" class="l"><a class="l" href="#90"> 90: </a><span class="php-comment"> * Default-Constructor
</span></span><span id="91" class="l"><a class="l" href="#91"> 91: </a><span class="php-comment"> */</span>
</span><span id="92" class="l"><a class="l" href="#92"> 92: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___construct" href="#___construct">__construct</a>() {
</span><span id="93" class="l"><a class="l" href="#93"> 93: </a> parent::__construct();
</span><span id="94" class="l"><a class="l" href="#94"> 94: </a> }
</span><span id="95" class="l"><a class="l" href="#95"> 95: </a>
</span><span id="96" class="l"><a class="l" href="#96"> 96: </a> <span class="php-comment">/**
</span></span><span id="97" class="l"><a class="l" href="#97"> 97: </a><span class="php-comment"> * Default-DEConstructor
</span></span><span id="98" class="l"><a class="l" href="#98"> 98: </a><span class="php-comment"> */</span>
</span><span id="99" class="l"><a class="l" href="#99"> 99: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___destruct" href="#___destruct">__destruct</a>() {
</span><span id="100" class="l"><a class="l" href="#100">100: </a> parent::__destruct();
</span><span id="101" class="l"><a class="l" href="#101">101: </a> }
</span><span id="102" class="l"><a class="l" href="#102">102: </a>
</span><span id="103" class="l"><a class="l" href="#103">103: </a> <span class="php-comment">/**
</span></span><span id="104" class="l"><a class="l" href="#104">104: </a><span class="php-comment"> * Methods send an query for the sps-service depends of alias
</span></span><span id="105" class="l"><a class="l" href="#105">105: </a><span class="php-comment"> * @param array $queryArgs
</span></span><span id="106" class="l"><a class="l" href="#106">106: </a><span class="php-comment"> * @return array [num][assoc]
</span></span><span id="107" class="l"><a class="l" href="#107">107: </a><span class="php-comment"> */</span>
</span><span id="108" class="l"><a class="l" href="#108">108: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_sendSpsAliasQuery" href="#_sendSpsAliasQuery">sendSpsAliasQuery</a>(<span class="php-var">$queryArgs</span>) {
</span><span id="109" class="l"><a class="l" href="#109">109: </a>
</span><span id="110" class="l"><a class="l" href="#110">110: </a> <span class="php-comment">// check arguments of the query</span>
</span><span id="111" class="l"><a class="l" href="#111">111: </a> <span class="php-keyword1">if</span> (<span class="php-keyword2">array_key_exists</span>(\api\SpsApi::<span class="php-var">$keyAlias</span>, <span class="php-var">$queryArgs</span>)) {
</span><span id="112" class="l"><a class="l" href="#112">112: </a> <span class="php-var">$alias</span> = <span class="php-var">$queryArgs</span>[\api\SpsApi::<span class="php-var">$keyAlias</span>];
</span><span id="113" class="l"><a class="l" href="#113">113: </a> } <span class="php-keyword1">else</span> {
</span><span id="114" class="l"><a class="l" href="#114">114: </a> <span class="php-keyword1">return</span> <span class="php-keyword1">null</span>;
</span><span id="115" class="l"><a class="l" href="#115">115: </a> }
</span><span id="116" class="l"><a class="l" href="#116">116: </a>
</span><span id="117" class="l"><a class="l" href="#117">117: </a> <span class="php-var">$domain</span> = <span class="php-keyword1">null</span>;
</span><span id="118" class="l"><a class="l" href="#118">118: </a> <span class="php-keyword1">if</span> (<span class="php-keyword2">array_key_exists</span>(\api\SpsApi::<span class="php-var">$keyDomain</span>, <span class="php-var">$queryArgs</span>)) {
</span><span id="119" class="l"><a class="l" href="#119">119: </a> <span class="php-var">$domain</span> = <span class="php-var">$queryArgs</span>[\api\SpsApi::<span class="php-var">$keyDomain</span>];
</span><span id="120" class="l"><a class="l" href="#120">120: </a> }
</span><span id="121" class="l"><a class="l" href="#121">121: </a>
</span><span id="122" class="l"><a class="l" href="#122">122: </a> <span class="php-comment">// build query string</span>
</span><span id="123" class="l"><a class="l" href="#123">123: </a> <span class="php-var">$query</span> = <span class="php-var">$this</span>-&gt;selectTerm;
</span><span id="124" class="l"><a class="l" href="#124">124: </a> <span class="php-keyword1">if</span> (<span class="php-var">$this</span>-&gt;validAliasString(<span class="php-var">$alias</span>)) {
</span><span id="125" class="l"><a class="l" href="#125">125: </a> <span class="php-var">$query</span> .= <span class="php-var">$this</span>-&gt;aliasTerm . <span class="php-var">$this</span>-&gt;quoteTerm . <span class="php-var">$alias</span> . <span class="php-var">$this</span>-&gt;quoteTerm . <span class="php-var">$this</span>-&gt;addDomainTerm(<span class="php-var">$domain</span>);
</span><span id="126" class="l"><a class="l" href="#126">126: </a> } <span class="php-keyword1">else</span> {
</span><span id="127" class="l"><a class="l" href="#127">127: </a> <span class="php-keyword1">return</span> <span class="php-keyword1">null</span>;
</span><span id="128" class="l"><a class="l" href="#128">128: </a> }
</span><span id="129" class="l"><a class="l" href="#129">129: </a>
</span><span id="130" class="l"><a class="l" href="#130">130: </a> <span class="php-comment">// send query</span>
</span><span id="131" class="l"><a class="l" href="#131">131: </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>-&gt;query(<span class="php-var">$query</span>);
</span><span id="132" class="l"><a class="l" href="#132">132: </a> }
</span><span id="133" class="l"><a class="l" href="#133">133: </a>
</span><span id="134" class="l"><a class="l" href="#134">134: </a> <span class="php-comment">/**
</span></span><span id="135" class="l"><a class="l" href="#135">135: </a><span class="php-comment"> * Methods send an query for the sps-service depends of coordinates
</span></span><span id="136" class="l"><a class="l" href="#136">136: </a><span class="php-comment"> * @param array $queryArgs
</span></span><span id="137" class="l"><a class="l" href="#137">137: </a><span class="php-comment"> * @return array [num][assoc]
</span></span><span id="138" class="l"><a class="l" href="#138">138: </a><span class="php-comment"> */</span>
</span><span id="139" class="l"><a class="l" href="#139">139: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_sendSpsCoordinateQuery" href="#_sendSpsCoordinateQuery">sendSpsCoordinateQuery</a>(<span class="php-var">$queryArgs</span>) {
</span><span id="140" class="l"><a class="l" href="#140">140: </a>
</span><span id="141" class="l"><a class="l" href="#141">141: </a> <span class="php-comment">// check arguments of the query</span>
</span><span id="142" class="l"><a class="l" href="#142">142: </a> <span class="php-keyword1">if</span> (<span class="php-keyword2">array_key_exists</span>(\api\SpsApi::<span class="php-var">$keyPoly</span>, <span class="php-var">$queryArgs</span>)) {
</span><span id="143" class="l"><a class="l" href="#143">143: </a> <span class="php-var">$poly</span> = <span class="php-var">$queryArgs</span>[\api\SpsApi::<span class="php-var">$keyPoly</span>];
</span><span id="144" class="l"><a class="l" href="#144">144: </a> } <span class="php-keyword1">else</span> {
</span><span id="145" class="l"><a class="l" href="#145">145: </a> <span class="php-keyword1">return</span> <span class="php-keyword1">null</span>;
</span><span id="146" class="l"><a class="l" href="#146">146: </a> }
</span><span id="147" class="l"><a class="l" href="#147">147: </a>
</span><span id="148" class="l"><a class="l" href="#148">148: </a> <span class="php-var">$domain</span> = <span class="php-keyword1">null</span>;
</span><span id="149" class="l"><a class="l" href="#149">149: </a> <span class="php-keyword1">if</span> (<span class="php-keyword2">array_key_exists</span>(\api\SpsApi::<span class="php-var">$keyDomain</span>, <span class="php-var">$queryArgs</span>)) {
</span><span id="150" class="l"><a class="l" href="#150">150: </a> <span class="php-var">$domain</span> = <span class="php-var">$queryArgs</span>[\api\SpsApi::<span class="php-var">$keyDomain</span>];
</span><span id="151" class="l"><a class="l" href="#151">151: </a> }
</span><span id="152" class="l"><a class="l" href="#152">152: </a>
</span><span id="153" class="l"><a class="l" href="#153">153: </a> <span class="php-comment">// build query string</span>
</span><span id="154" class="l"><a class="l" href="#154">154: </a> <span class="php-keyword1">if</span> (<span class="php-var">$this</span>-&gt;validPolyString(<span class="php-var">$poly</span>)) {
</span><span id="155" class="l"><a class="l" href="#155">155: </a> <span class="php-var">$query</span> = <span class="php-var">$this</span>-&gt;selectTerm . <span class="php-var">$this</span>-&gt;interSectTermStart . <span class="php-var">$poly</span> . <span class="php-var">$this</span>-&gt;interSectTermEnd . <span class="php-var">$this</span>-&gt;addDomainTerm(<span class="php-var">$domain</span>);
</span><span id="156" class="l"><a class="l" href="#156">156: </a> } <span class="php-keyword1">else</span> {
</span><span id="157" class="l"><a class="l" href="#157">157: </a> <span class="php-keyword1">return</span> <span class="php-keyword1">null</span>;
</span><span id="158" class="l"><a class="l" href="#158">158: </a> }
</span><span id="159" class="l"><a class="l" href="#159">159: </a>
</span><span id="160" class="l"><a class="l" href="#160">160: </a> <span class="php-comment">// send query</span>
</span><span id="161" class="l"><a class="l" href="#161">161: </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>-&gt;query(<span class="php-var">$query</span>);
</span><span id="162" class="l"><a class="l" href="#162">162: </a> }
</span><span id="163" class="l"><a class="l" href="#163">163: </a>
</span><span id="164" class="l"><a class="l" href="#164">164: </a> <span class="php-comment">/**
</span></span><span id="165" class="l"><a class="l" href="#165">165: </a><span class="php-comment"> * Method create the correct domain part depends of $domain. If it is a number =&gt; did
</span></span><span id="166" class="l"><a class="l" href="#166">166: </a><span class="php-comment"> * otherwise =&gt; dName
</span></span><span id="167" class="l"><a class="l" href="#167">167: </a><span class="php-comment"> * @param string $domain
</span></span><span id="168" class="l"><a class="l" href="#168">168: </a><span class="php-comment"> * @return string
</span></span><span id="169" class="l"><a class="l" href="#169">169: </a><span class="php-comment"> */</span>
</span><span id="170" class="l"><a class="l" href="#170">170: </a> <span class="php-keyword1">private</span> <span class="php-keyword1">function</span> <a id="_addDomainTerm" href="#_addDomainTerm">addDomainTerm</a>(<span class="php-var">$domain</span>) {
</span><span id="171" class="l"><a class="l" href="#171">171: </a> <span class="php-var">$result</span> = <span class="php-keyword1">null</span>;
</span><span id="172" class="l"><a class="l" href="#172">172: </a> <span class="php-keyword1">if</span> (<span class="php-var">$domain</span> != <span class="php-keyword1">null</span> &amp;&amp; <span class="php-var">$this</span>-&gt;validDomainString(<span class="php-var">$domain</span>)) {
</span><span id="173" class="l"><a class="l" href="#173">173: </a> <span class="php-keyword1">if</span> (<span class="php-var">$this</span>-&gt;isDid(<span class="php-var">$domain</span>)) {
</span><span id="174" class="l"><a class="l" href="#174">174: </a> <span class="php-var">$result</span> .= <span class="php-var">$this</span>-&gt;andTerm . <span class="php-var">$this</span>-&gt;domainTerm . <span class="php-var">$this</span>-&gt;quoteTerm . <span class="php-var">$domain</span> . <span class="php-var">$this</span>-&gt;quoteTerm;
</span><span id="175" class="l"><a class="l" href="#175">175: </a> } <span class="php-keyword1">else</span> {
</span><span id="176" class="l"><a class="l" href="#176">176: </a> <span class="php-var">$result</span> .= <span class="php-var">$this</span>-&gt;andTerm . <span class="php-var">$this</span>-&gt;domainNameTerm . <span class="php-var">$this</span>-&gt;quoteTerm . <span class="php-var">$domain</span> . <span class="php-var">$this</span>-&gt;quoteTerm;
</span><span id="177" class="l"><a class="l" href="#177">177: </a> }
</span><span id="178" class="l"><a class="l" href="#178">178: </a> }
</span><span id="179" class="l"><a class="l" href="#179">179: </a> <span class="php-keyword1">return</span> <span class="php-var">$result</span>;
</span><span id="180" class="l"><a class="l" href="#180">180: </a> }
</span><span id="181" class="l"><a class="l" href="#181">181: </a>
</span><span id="182" class="l"><a class="l" href="#182">182: </a> <span class="php-comment">/**
</span></span><span id="183" class="l"><a class="l" href="#183">183: </a><span class="php-comment"> * Method check if the input value for the alias is valid
</span></span><span id="184" class="l"><a class="l" href="#184">184: </a><span class="php-comment"> * @param string $alias
</span></span><span id="185" class="l"><a class="l" href="#185">185: </a><span class="php-comment"> * @return boolean
</span></span><span id="186" class="l"><a class="l" href="#186">186: </a><span class="php-comment"> */</span>
</span><span id="187" class="l"><a class="l" href="#187">187: </a> <span class="php-keyword1">private</span> <span class="php-keyword1">function</span> <a id="_validAliasString" href="#_validAliasString">validAliasString</a>(<span class="php-var">$alias</span>) {
</span><span id="188" class="l"><a class="l" href="#188">188: </a> <span class="php-keyword1">if</span> (\utiliy\StringManager::validSQLString(<span class="php-var">$alias</span>) &amp;&amp; <span class="php-keyword2">ctype_alnum</span>(<span class="php-var">$alias</span>) &amp;&amp; <span class="php-keyword2">strlen</span>(<span class="php-var">$alias</span>) &lt;= <span class="php-var">$this</span>-&gt;aliasMaxLenght) {
</span><span id="189" class="l"><a class="l" href="#189">189: </a> <span class="php-keyword1">return</span> <span class="php-keyword1">TRUE</span>;
</span><span id="190" class="l"><a class="l" href="#190">190: </a> }
</span><span id="191" class="l"><a class="l" href="#191">191: </a> <span class="php-keyword1">return</span> <span class="php-keyword1">FALSE</span>;
</span><span id="192" class="l"><a class="l" href="#192">192: </a> }
</span><span id="193" class="l"><a class="l" href="#193">193: </a>
</span><span id="194" class="l"><a class="l" href="#194">194: </a> <span class="php-comment">/**
</span></span><span id="195" class="l"><a class="l" href="#195">195: </a><span class="php-comment"> * Method check if the input value for the alias is valid
</span></span><span id="196" class="l"><a class="l" href="#196">196: </a><span class="php-comment"> * @param string $domain
</span></span><span id="197" class="l"><a class="l" href="#197">197: </a><span class="php-comment"> * @return boolean
</span></span><span id="198" class="l"><a class="l" href="#198">198: </a><span class="php-comment"> */</span>
</span><span id="199" class="l"><a class="l" href="#199">199: </a> <span class="php-keyword1">private</span> <span class="php-keyword1">function</span> <a id="_validDomainString" href="#_validDomainString">validDomainString</a>(<span class="php-var">$domain</span>) {
</span><span id="200" class="l"><a class="l" href="#200">200: </a> <span class="php-keyword1">if</span> (\utiliy\StringManager::validSQLString(<span class="php-var">$domain</span>) &amp;&amp; <span class="php-keyword2">ctype_alnum</span>(<span class="php-var">$domain</span>) &amp;&amp; <span class="php-keyword2">strlen</span>(<span class="php-var">$domain</span>) &lt;= <span class="php-var">$this</span>-&gt;domainMaxLenght) {
</span><span id="201" class="l"><a class="l" href="#201">201: </a> <span class="php-keyword1">return</span> <span class="php-keyword1">TRUE</span>;
</span><span id="202" class="l"><a class="l" href="#202">202: </a> }
</span><span id="203" class="l"><a class="l" href="#203">203: </a> <span class="php-keyword1">return</span> <span class="php-keyword1">FALSE</span>;
</span><span id="204" class="l"><a class="l" href="#204">204: </a> }
</span><span id="205" class="l"><a class="l" href="#205">205: </a>
</span><span id="206" class="l"><a class="l" href="#206">206: </a> <span class="php-comment">/**
</span></span><span id="207" class="l"><a class="l" href="#207">207: </a><span class="php-comment"> * Method check if the input value for the polygon is valid
</span></span><span id="208" class="l"><a class="l" href="#208">208: </a><span class="php-comment"> * @param string $poly
</span></span><span id="209" class="l"><a class="l" href="#209">209: </a><span class="php-comment"> * @return boolean
</span></span><span id="210" class="l"><a class="l" href="#210">210: </a><span class="php-comment"> */</span>
</span><span id="211" class="l"><a class="l" href="#211">211: </a> <span class="php-keyword1">private</span> <span class="php-keyword1">function</span> <a id="_validPolyString" href="#_validPolyString">validPolyString</a>(<span class="php-var">$poly</span>) {
</span><span id="212" class="l"><a class="l" href="#212">212: </a> <span class="php-keyword1">if</span> (\utiliy\StringManager::validSQLString(<span class="php-var">$poly</span>) &amp;&amp; \utiliy\StringManager::startsWith(<span class="php-var">$poly</span>, <span class="php-var">$this</span>-&gt;polyStartStr)
</span><span id="213" class="l"><a class="l" href="#213">213: </a> &amp;&amp; \utiliy\StringManager::endsWith(<span class="php-var">$poly</span>, <span class="php-var">$this</span>-&gt;polyEndStr)) {
</span><span id="214" class="l"><a class="l" href="#214">214: </a> <span class="php-keyword1">return</span> <span class="php-keyword1">TRUE</span>;
</span><span id="215" class="l"><a class="l" href="#215">215: </a> }
</span><span id="216" class="l"><a class="l" href="#216">216: </a> <span class="php-keyword1">return</span> <span class="php-keyword1">FALSE</span>;
</span><span id="217" class="l"><a class="l" href="#217">217: </a> }
</span><span id="218" class="l"><a class="l" href="#218">218: </a>
</span><span id="219" class="l"><a class="l" href="#219">219: </a> <span class="php-comment">/**
</span></span><span id="220" class="l"><a class="l" href="#220">220: </a><span class="php-comment"> * Method check if the ntring is a did
</span></span><span id="221" class="l"><a class="l" href="#221">221: </a><span class="php-comment"> * @param string $string
</span></span><span id="222" class="l"><a class="l" href="#222">222: </a><span class="php-comment"> * @return boolean
</span></span><span id="223" class="l"><a class="l" href="#223">223: </a><span class="php-comment"> */</span>
</span><span id="224" class="l"><a class="l" href="#224">224: </a> <span class="php-keyword1">private</span> <span class="php-keyword1">function</span> <a id="_isDid" href="#_isDid">isDid</a>(<span class="php-var">$string</span>) {
</span><span id="225" class="l"><a class="l" href="#225">225: </a> <span class="php-keyword1">return</span> <span class="php-keyword2">ctype_digit</span>(<span class="php-var">$string</span>);
</span><span id="226" class="l"><a class="l" href="#226">226: </a> }
</span><span id="227" class="l"><a class="l" href="#227">227: </a>
</span><span id="228" class="l"><a class="l" href="#228">228: </a>}
</span><span id="229" class="l"><a class="l" href="#229">229: </a>
</span><span id="230" class="l"><a class="l" href="#230">230: </a><span class="xlang">?&gt;</span>
</span><span id="231" class="l"><a class="l" href="#231">231: </a></span></code></pre>
<div id="footer"> <div id="footer">
GeoApi API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a> GeoApi API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>

View File

@@ -8,7 +8,7 @@
<title>File database/SqlManager.php | GeoApi</title> <title>File database/SqlManager.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -39,6 +39,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>
@@ -48,6 +50,8 @@
<div id="elements"> <div id="elements">
<h3>Classes</h3> <h3>Classes</h3>
<ul> <ul>
<li><a href="class-database.PisSqlManager.html">PisSqlManager</a></li>
<li><a href="class-database.PssSqlManager.html">PssSqlManager</a></li>
<li><a href="class-database.SpsSqlManager.html">SpsSqlManager</a></li> <li><a href="class-database.SpsSqlManager.html">SpsSqlManager</a></li>
<li class="active"><a href="class-database.SqlManager.html">SqlManager</a></li> <li class="active"><a href="class-database.SqlManager.html">SqlManager</a></li>
</ul> </ul>
@@ -137,75 +141,103 @@
</span><span id="43" class="l"><a class="l" href="#43"> 43: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$link" href="#$link">$link</a></span>; </span><span id="43" class="l"><a class="l" href="#43"> 43: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$link" href="#$link">$link</a></span>;
</span><span id="44" class="l"><a class="l" href="#44"> 44: </a> </span><span id="44" class="l"><a class="l" href="#44"> 44: </a>
</span><span id="45" class="l"><a class="l" href="#45"> 45: </a> <span class="php-comment">/** </span><span id="45" class="l"><a class="l" href="#45"> 45: </a> <span class="php-comment">/**
</span></span><span id="46" class="l"><a class="l" href="#46"> 46: </a><span class="php-comment"> * Default-Constructor </span></span><span id="46" class="l"><a class="l" href="#46"> 46: </a><span class="php-comment"> * String for an and-operrator
</span></span><span id="47" class="l"><a class="l" href="#47"> 47: </a><span class="php-comment"> */</span> </span></span><span id="47" class="l"><a class="l" href="#47"> 47: </a><span class="php-comment"> * @var string
</span><span id="48" class="l"><a class="l" href="#48"> 48: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___construct" href="#___construct">__construct</a>() { </span></span><span id="48" class="l"><a class="l" href="#48"> 48: </a><span class="php-comment"> */</span>
</span><span id="49" class="l"><a class="l" href="#49"> 49: </a> </span><span id="49" class="l"><a class="l" href="#49"> 49: </a> <span class="php-keyword1">protected</span> <span class="php-var"><a id="$andTerm" href="#$andTerm">$andTerm</a></span> = <span class="php-quote">&quot; and &quot;</span>;
</span><span id="50" class="l"><a class="l" href="#50"> 50: </a> <span class="php-var">$this</span>-&gt;serverAddress = \config\DBConfig::<span class="php-var">$sqlServer</span>; </span><span id="50" class="l"><a class="l" href="#50"> 50: </a>
</span><span id="51" class="l"><a class="l" href="#51"> 51: </a> <span class="php-var">$this</span>-&gt;dbName = \config\DBConfig::<span class="php-var">$sqlDBName</span>; </span><span id="51" class="l"><a class="l" href="#51"> 51: </a> <span class="php-comment">/**
</span><span id="52" class="l"><a class="l" href="#52"> 52: </a> <span class="php-var">$this</span>-&gt;userName = \config\DBConfig::<span class="php-var">$sqlDBUser</span>; </span></span><span id="52" class="l"><a class="l" href="#52"> 52: </a><span class="php-comment"> * String for an or-operrator
</span><span id="53" class="l"><a class="l" href="#53"> 53: </a> <span class="php-var">$this</span>-&gt;userPw = \config\DBConfig::<span class="php-var">$sqlDBUserPW</span>; </span></span><span id="53" class="l"><a class="l" href="#53"> 53: </a><span class="php-comment"> * @var string
</span><span id="54" class="l"><a class="l" href="#54"> 54: </a> } </span></span><span id="54" class="l"><a class="l" href="#54"> 54: </a><span class="php-comment"> */</span>
</span><span id="55" class="l"><a class="l" href="#55"> 55: </a> </span><span id="55" class="l"><a class="l" href="#55"> 55: </a> <span class="php-keyword1">protected</span> <span class="php-var"><a id="$orTerm" href="#$orTerm">$orTerm</a></span> = <span class="php-quote">&quot; or &quot;</span>;
</span><span id="56" class="l"><a class="l" href="#56"> 56: </a> <span class="php-comment">/** </span><span id="56" class="l"><a class="l" href="#56"> 56: </a>
</span></span><span id="57" class="l"><a class="l" href="#57"> 57: </a><span class="php-comment"> * Default-DEConstructor </span><span id="57" class="l"><a class="l" href="#57"> 57: </a> <span class="php-comment">/**
</span></span><span id="58" class="l"><a class="l" href="#58"> 58: </a><span class="php-comment"> */</span> </span></span><span id="58" class="l"><a class="l" href="#58"> 58: </a><span class="php-comment"> * String for quotes in a query
</span><span id="59" class="l"><a class="l" href="#59"> 59: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___destruct" href="#___destruct">__destruct</a>() { </span></span><span id="59" class="l"><a class="l" href="#59"> 59: </a><span class="php-comment"> * @var string
</span><span id="60" class="l"><a class="l" href="#60"> 60: </a> <span class="php-var">$this</span>-&gt;closeConnection(); </span></span><span id="60" class="l"><a class="l" href="#60"> 60: </a><span class="php-comment"> */</span>
</span><span id="61" class="l"><a class="l" href="#61"> 61: </a> <span class="php-var">$this</span>-&gt;serverAddress = <span class="php-keyword1">null</span>; </span><span id="61" class="l"><a class="l" href="#61"> 61: </a> <span class="php-keyword1">protected</span> <span class="php-var"><a id="$quoteTerm" href="#$quoteTerm">$quoteTerm</a></span> = <span class="php-quote">&quot;\&quot;&quot;</span>;
</span><span id="62" class="l"><a class="l" href="#62"> 62: </a> <span class="php-var">$this</span>-&gt;dbName = <span class="php-keyword1">null</span>; </span><span id="62" class="l"><a class="l" href="#62"> 62: </a>
</span><span id="63" class="l"><a class="l" href="#63"> 63: </a> <span class="php-var">$this</span>-&gt;userName = <span class="php-keyword1">null</span>; </span><span id="63" class="l"><a class="l" href="#63"> 63: </a> <span class="php-comment">/**
</span><span id="64" class="l"><a class="l" href="#64"> 64: </a> <span class="php-var">$this</span>-&gt;userPW = <span class="php-keyword1">null</span>; </span></span><span id="64" class="l"><a class="l" href="#64"> 64: </a><span class="php-comment"> * Default-Constructor
</span><span id="65" class="l"><a class="l" href="#65"> 65: </a> } </span></span><span id="65" class="l"><a class="l" href="#65"> 65: </a><span class="php-comment"> */</span>
</span><span id="66" class="l"><a class="l" href="#66"> 66: </a> </span><span id="66" class="l"><a class="l" href="#66"> 66: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___construct" href="#___construct">__construct</a>() {
</span><span id="67" class="l"><a class="l" href="#67"> 67: </a> <span class="php-comment">/** </span><span id="67" class="l"><a class="l" href="#67"> 67: </a> <span class="php-var">$this</span>-&gt;serverAddress = \config\DBConfig::<span class="php-var">$sqlServer</span>;
</span></span><span id="68" class="l"><a class="l" href="#68"> 68: </a><span class="php-comment"> * Method setup the connection to the Database </span><span id="68" class="l"><a class="l" href="#68"> 68: </a> <span class="php-var">$this</span>-&gt;dbName = \config\DBConfig::<span class="php-var">$sqlDBName</span>;
</span></span><span id="69" class="l"><a class="l" href="#69"> 69: </a><span class="php-comment"> */</span> </span><span id="69" class="l"><a class="l" href="#69"> 69: </a> <span class="php-var">$this</span>-&gt;userName = \config\DBConfig::<span class="php-var">$sqlDBUser</span>;
</span><span id="70" class="l"><a class="l" href="#70"> 70: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_connect" href="#_connect">connect</a>() { </span><span id="70" class="l"><a class="l" href="#70"> 70: </a> <span class="php-var">$this</span>-&gt;userPw = \config\DBConfig::<span class="php-var">$sqlDBUserPW</span>;
</span><span id="71" class="l"><a class="l" href="#71"> 71: </a> <span class="php-var">$this</span>-&gt;<span class="php-keyword2">link</span> = <span class="php-keyword2">mysql_connect</span>(<span class="php-var">$this</span>-&gt;serverAddress, <span class="php-var">$this</span>-&gt;userName, <span class="php-var">$this</span>-&gt;userPw); </span><span id="71" class="l"><a class="l" href="#71"> 71: </a> }
</span><span id="72" class="l"><a class="l" href="#72"> 72: </a> <span class="php-keyword1">if</span> (!<span class="php-var">$this</span>-&gt;<span class="php-keyword2">link</span>) { </span><span id="72" class="l"><a class="l" href="#72"> 72: </a>
</span><span id="73" class="l"><a class="l" href="#73"> 73: </a> <span class="php-keyword1">exit</span>(<span class="php-quote">&quot;No Connection: &quot;</span> . <span class="php-keyword2">mysql_error</span>()); </span><span id="73" class="l"><a class="l" href="#73"> 73: </a> <span class="php-comment">/**
</span><span id="74" class="l"><a class="l" href="#74"> 74: </a> } </span></span><span id="74" class="l"><a class="l" href="#74"> 74: </a><span class="php-comment"> * Default-DEConstructor
</span><span id="75" class="l"><a class="l" href="#75"> 75: </a> <span class="php-var">$selected</span> = <span class="php-keyword2">mysql_select_db</span>(<span class="php-var">$this</span>-&gt;dbName, <span class="php-var">$this</span>-&gt;<span class="php-keyword2">link</span>); </span></span><span id="75" class="l"><a class="l" href="#75"> 75: </a><span class="php-comment"> */</span>
</span><span id="76" class="l"><a class="l" href="#76"> 76: </a> <span class="php-keyword1">if</span> (!<span class="php-var">$selected</span>) { </span><span id="76" class="l"><a class="l" href="#76"> 76: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___destruct" href="#___destruct">__destruct</a>() {
</span><span id="77" class="l"><a class="l" href="#77"> 77: </a> <span class="php-keyword1">exit</span>(<span class="php-quote">&quot;No DB: &quot;</span> . <span class="php-keyword2">mysql_error</span>()); </span><span id="77" class="l"><a class="l" href="#77"> 77: </a>
</span><span id="78" class="l"><a class="l" href="#78"> 78: </a> } </span><span id="78" class="l"><a class="l" href="#78"> 78: </a> <span class="php-comment">// close connection</span>
</span><span id="79" class="l"><a class="l" href="#79"> 79: </a> } </span><span id="79" class="l"><a class="l" href="#79"> 79: </a> <span class="php-var">$this</span>-&gt;closeConnection();
</span><span id="80" class="l"><a class="l" href="#80"> 80: </a> </span><span id="80" class="l"><a class="l" href="#80"> 80: </a>
</span><span id="81" class="l"><a class="l" href="#81"> 81: </a> <span class="php-comment">/** </span><span id="81" class="l"><a class="l" href="#81"> 81: </a> <span class="php-comment">// delete connection parameter</span>
</span></span><span id="82" class="l"><a class="l" href="#82"> 82: </a><span class="php-comment"> * Method close the connection </span><span id="82" class="l"><a class="l" href="#82"> 82: </a> <span class="php-keyword1">unset</span>(<span class="php-var">$this</span>-&gt;serverAddress);
</span></span><span id="83" class="l"><a class="l" href="#83"> 83: </a><span class="php-comment"> */</span> </span><span id="83" class="l"><a class="l" href="#83"> 83: </a> <span class="php-keyword1">unset</span>(<span class="php-var">$this</span>-&gt;dbName);
</span><span id="84" class="l"><a class="l" href="#84"> 84: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_closeConnection" href="#_closeConnection">closeConnection</a>() { </span><span id="84" class="l"><a class="l" href="#84"> 84: </a> <span class="php-keyword1">unset</span>(<span class="php-var">$this</span>-&gt;userName);
</span><span id="85" class="l"><a class="l" href="#85"> 85: </a> <span class="php-keyword1">if</span> (<span class="php-var">$this</span>-&gt;<span class="php-keyword2">link</span>) { </span><span id="85" class="l"><a class="l" href="#85"> 85: </a> <span class="php-keyword1">unset</span>(<span class="php-var">$this</span>-&gt;userPW);
</span><span id="86" class="l"><a class="l" href="#86"> 86: </a> <span class="php-keyword2">mysql_close</span>(<span class="php-var">$this</span>-&gt;<span class="php-keyword2">link</span>); </span><span id="86" class="l"><a class="l" href="#86"> 86: </a> }
</span><span id="87" class="l"><a class="l" href="#87"> 87: </a> <span class="php-var">$this</span>-&gt;<span class="php-keyword2">link</span> = <span class="php-keyword1">null</span>; </span><span id="87" class="l"><a class="l" href="#87"> 87: </a>
</span><span id="88" class="l"><a class="l" href="#88"> 88: </a> } </span><span id="88" class="l"><a class="l" href="#88"> 88: </a> <span class="php-comment">/**
</span><span id="89" class="l"><a class="l" href="#89"> 89: </a> } </span></span><span id="89" class="l"><a class="l" href="#89"> 89: </a><span class="php-comment"> * Method setup the connection to the Database
</span><span id="90" class="l"><a class="l" href="#90"> 90: </a> </span></span><span id="90" class="l"><a class="l" href="#90"> 90: </a><span class="php-comment"> */</span>
</span><span id="91" class="l"><a class="l" href="#91"> 91: </a> <span class="php-comment">/** </span><span id="91" class="l"><a class="l" href="#91"> 91: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_connect" href="#_connect">connect</a>() {
</span></span><span id="92" class="l"><a class="l" href="#92"> 92: </a><span class="php-comment"> * Method send a query to the Datebase and return the result </span><span id="92" class="l"><a class="l" href="#92"> 92: </a> <span class="php-var">$this</span>-&gt;<span class="php-keyword2">link</span> = <span class="php-keyword2">mysql_connect</span>(<span class="php-var">$this</span>-&gt;serverAddress, <span class="php-var">$this</span>-&gt;userName, <span class="php-var">$this</span>-&gt;userPw);
</span></span><span id="93" class="l"><a class="l" href="#93"> 93: </a><span class="php-comment"> * @param string $query </span><span id="93" class="l"><a class="l" href="#93"> 93: </a> <span class="php-keyword1">if</span> (!<span class="php-var">$this</span>-&gt;<span class="php-keyword2">link</span>) {
</span></span><span id="94" class="l"><a class="l" href="#94"> 94: </a><span class="php-comment"> * @return result[num][assoc] </span><span id="94" class="l"><a class="l" href="#94"> 94: </a> <span class="php-keyword1">exit</span>(<span class="php-quote">&quot;No Connection: &quot;</span> . <span class="php-keyword2">mysql_error</span>());
</span></span><span id="95" class="l"><a class="l" href="#95"> 95: </a><span class="php-comment"> */</span> </span><span id="95" class="l"><a class="l" href="#95"> 95: </a> }
</span><span id="96" class="l"><a class="l" href="#96"> 96: </a> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> <a id="_query" href="#_query">query</a>(<span class="php-var">$query</span>) { </span><span id="96" class="l"><a class="l" href="#96"> 96: </a> <span class="php-var">$selected</span> = <span class="php-keyword2">mysql_select_db</span>(<span class="php-var">$this</span>-&gt;dbName, <span class="php-var">$this</span>-&gt;<span class="php-keyword2">link</span>);
</span><span id="97" class="l"><a class="l" href="#97"> 97: </a> <span class="php-var">$mysqlResult</span> = <span class="php-keyword2">mysql_query</span>(<span class="php-var">$query</span>, <span class="php-var">$this</span>-&gt;<span class="php-keyword2">link</span>); </span><span id="97" class="l"><a class="l" href="#97"> 97: </a> <span class="php-keyword1">if</span> (!<span class="php-var">$selected</span>) {
</span><span id="98" class="l"><a class="l" href="#98"> 98: </a> <span class="php-keyword1">if</span> (!<span class="php-var">$mysqlResult</span>) { </span><span id="98" class="l"><a class="l" href="#98"> 98: </a> <span class="php-keyword1">exit</span>(<span class="php-quote">&quot;No DB: &quot;</span> . <span class="php-keyword2">mysql_error</span>());
</span><span id="99" class="l"><a class="l" href="#99"> 99: </a> <span class="php-keyword1">exit</span>(<span class="php-quote">&quot;Query error: &quot;</span> . <span class="php-keyword2">mysql_error</span>()); </span><span id="99" class="l"><a class="l" href="#99"> 99: </a> }
</span><span id="100" class="l"><a class="l" href="#100">100: </a> } </span><span id="100" class="l"><a class="l" href="#100">100: </a> }
</span><span id="101" class="l"><a class="l" href="#101">101: </a> <span class="php-var">$rowNums</span> = <span class="php-keyword2">mysql_num_rows</span>(<span class="php-var">$mysqlResult</span>); </span><span id="101" class="l"><a class="l" href="#101">101: </a>
</span><span id="102" class="l"><a class="l" href="#102">102: </a> <span class="php-var">$result</span> = <span class="php-keyword1">array</span>(); </span><span id="102" class="l"><a class="l" href="#102">102: </a> <span class="php-comment">/**
</span><span id="103" class="l"><a class="l" href="#103">103: </a> <span class="php-keyword1">for</span> (<span class="php-var">$i</span> = <span class="php-num">0</span>; <span class="php-var">$i</span> &lt; <span class="php-var">$rowNums</span>; <span class="php-var">$i</span>++) { </span></span><span id="103" class="l"><a class="l" href="#103">103: </a><span class="php-comment"> * Method close the connection
</span><span id="104" class="l"><a class="l" href="#104">104: </a> <span class="php-var">$row</span> = <span class="php-keyword2">mysql_fetch_assoc</span>(<span class="php-var">$mysqlResult</span>); </span></span><span id="104" class="l"><a class="l" href="#104">104: </a><span class="php-comment"> */</span>
</span><span id="105" class="l"><a class="l" href="#105">105: </a> <span class="php-var">$result</span>[<span class="php-var">$i</span>] = <span class="php-var">$row</span>; </span><span id="105" class="l"><a class="l" href="#105">105: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_closeConnection" href="#_closeConnection">closeConnection</a>() {
</span><span id="106" class="l"><a class="l" href="#106">106: </a> } </span><span id="106" class="l"><a class="l" href="#106">106: </a> <span class="php-keyword1">if</span> (<span class="php-var">$this</span>-&gt;<span class="php-keyword2">link</span>) {
</span><span id="107" class="l"><a class="l" href="#107">107: </a> <span class="php-keyword2">mysql_free_result</span>(<span class="php-var">$mysqlResult</span>); </span><span id="107" class="l"><a class="l" href="#107">107: </a> <span class="php-keyword2">mysql_close</span>(<span class="php-var">$this</span>-&gt;<span class="php-keyword2">link</span>);
</span><span id="108" class="l"><a class="l" href="#108">108: </a> <span class="php-keyword1">return</span> <span class="php-var">$result</span>; </span><span id="108" class="l"><a class="l" href="#108">108: </a> <span class="php-keyword1">unset</span>(<span class="php-var">$this</span>-&gt;<span class="php-keyword2">link</span>);
</span><span id="109" class="l"><a class="l" href="#109">109: </a> } </span><span id="109" class="l"><a class="l" href="#109">109: </a> <span class="php-var">$this</span>-&gt;<span class="php-keyword2">link</span> = <span class="php-keyword1">null</span>;
</span><span id="110" class="l"><a class="l" href="#110">110: </a> </span><span id="110" class="l"><a class="l" href="#110">110: </a> }
</span><span id="111" class="l"><a class="l" href="#111">111: </a>} </span><span id="111" class="l"><a class="l" href="#111">111: </a> }
</span><span id="112" class="l"><a class="l" href="#112">112: </a> </span><span id="112" class="l"><a class="l" href="#112">112: </a>
</span><span id="113" class="l"><a class="l" href="#113">113: </a><span class="xlang">?&gt;</span> </span><span id="113" class="l"><a class="l" href="#113">113: </a> <span class="php-comment">/**
</span><span id="114" class="l"><a class="l" href="#114">114: </a></span></code></pre> </span></span><span id="114" class="l"><a class="l" href="#114">114: </a><span class="php-comment"> * Method send a query to the Datebase and return the result
</span></span><span id="115" class="l"><a class="l" href="#115">115: </a><span class="php-comment"> * @param string $query
</span></span><span id="116" class="l"><a class="l" href="#116">116: </a><span class="php-comment"> * @return result[num][assoc]
</span></span><span id="117" class="l"><a class="l" href="#117">117: </a><span class="php-comment"> */</span>
</span><span id="118" class="l"><a class="l" href="#118">118: </a> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> <a id="_query" href="#_query">query</a>(<span class="php-var">$query</span>) {
</span><span id="119" class="l"><a class="l" href="#119">119: </a>
</span><span id="120" class="l"><a class="l" href="#120">120: </a> <span class="php-comment">// send error</span>
</span><span id="121" class="l"><a class="l" href="#121">121: </a> <span class="php-var">$mysqlResult</span> = <span class="php-keyword2">mysql_query</span>(<span class="php-var">$query</span>, <span class="php-var">$this</span>-&gt;<span class="php-keyword2">link</span>);
</span><span id="122" class="l"><a class="l" href="#122">122: </a> <span class="php-keyword1">if</span> (!<span class="php-var">$mysqlResult</span>) {
</span><span id="123" class="l"><a class="l" href="#123">123: </a> <span class="php-keyword1">exit</span>(<span class="php-quote">&quot;Query error: &quot;</span> . <span class="php-keyword2">mysql_error</span>());
</span><span id="124" class="l"><a class="l" href="#124">124: </a> }
</span><span id="125" class="l"><a class="l" href="#125">125: </a>
</span><span id="126" class="l"><a class="l" href="#126">126: </a> <span class="php-comment">// fetch result</span>
</span><span id="127" class="l"><a class="l" href="#127">127: </a> <span class="php-var">$rowNums</span> = <span class="php-keyword2">mysql_num_rows</span>(<span class="php-var">$mysqlResult</span>);
</span><span id="128" class="l"><a class="l" href="#128">128: </a> <span class="php-var">$result</span> = <span class="php-keyword1">array</span>();
</span><span id="129" class="l"><a class="l" href="#129">129: </a> <span class="php-keyword1">for</span> (<span class="php-var">$i</span> = <span class="php-num">0</span>; <span class="php-var">$i</span> &lt; <span class="php-var">$rowNums</span>; <span class="php-var">$i</span>++) {
</span><span id="130" class="l"><a class="l" href="#130">130: </a> <span class="php-var">$row</span> = <span class="php-keyword2">mysql_fetch_assoc</span>(<span class="php-var">$mysqlResult</span>);
</span><span id="131" class="l"><a class="l" href="#131">131: </a> <span class="php-var">$result</span>[<span class="php-var">$i</span>] = <span class="php-var">$row</span>;
</span><span id="132" class="l"><a class="l" href="#132">132: </a> }
</span><span id="133" class="l"><a class="l" href="#133">133: </a>
</span><span id="134" class="l"><a class="l" href="#134">134: </a> <span class="php-comment">// call gc</span>
</span><span id="135" class="l"><a class="l" href="#135">135: </a> <span class="php-keyword2">mysql_free_result</span>(<span class="php-var">$mysqlResult</span>);
</span><span id="136" class="l"><a class="l" href="#136">136: </a>
</span><span id="137" class="l"><a class="l" href="#137">137: </a> <span class="php-keyword1">return</span> <span class="php-var">$result</span>;
</span><span id="138" class="l"><a class="l" href="#138">138: </a> }
</span><span id="139" class="l"><a class="l" href="#139">139: </a>}
</span><span id="140" class="l"><a class="l" href="#140">140: </a>
</span><span id="141" class="l"><a class="l" href="#141">141: </a><span class="xlang">?&gt;</span>
</span><span id="142" class="l"><a class="l" href="#142">142: </a></span></code></pre>
<div id="footer"> <div id="footer">
GeoApi API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a> GeoApi API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>

View File

@@ -0,0 +1,166 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="ApiGen 2.8.0" />
<meta name="robots" content="noindex" />
<title>File utility/ArrayManager.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
<div id="groups">
<h3>Namespaces</h3>
<ul>
<li><a href="namespace-api.html">api</a>
</li>
<li><a href="namespace-config.html">config</a>
</li>
<li><a href="namespace-database.html">database</a>
</li>
<li><a href="namespace-PHP.html">PHP</a>
</li>
<li><a href="namespace-Slim.html">Slim<span></span></a>
<ul>
<li><a href="namespace-Slim.Exception.html">Exception</a>
</li>
<li><a href="namespace-Slim.Http.html">Http</a>
</li>
<li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li>
</ul></li>
<li class="active"><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul>
</div>
<hr />
<div id="elements">
<h3>Classes</h3>
<ul>
<li class="active"><a href="class-utiliy.ArrayManager.html">ArrayManager</a></li>
<li><a href="class-utiliy.StringManager.html">StringManager</a></li>
<li><a href="class-utiliy.XmlManager.html">XmlManager</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" />
<input type="submit" value="Search" />
</form>
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="namespace-utiliy.html" title="Summary of utiliy"><span>Namespace</span></a>
</li>
<li>
<a href="class-utiliy.ArrayManager.html" title="Summary of utiliy\ArrayManager"><span>Class</span></a>
</li>
</ul>
<ul>
<li>
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
</li>
</ul>
<ul>
</ul>
</div>
<pre><code><span id="1" class="l"><a class="l" href="#1"> 1: </a><span class="xlang">&lt;?php</span>
</span><span id="2" class="l"><a class="l" href="#2"> 2: </a>
</span><span id="3" class="l"><a class="l" href="#3"> 3: </a><span class="php-keyword1">namespace</span> utiliy;
</span><span id="4" class="l"><a class="l" href="#4"> 4: </a>
</span><span id="5" class="l"><a class="l" href="#5"> 5: </a><span class="php-keyword1">include_once</span> <span class="php-quote">&quot;../../global.inc.php&quot;</span>;
</span><span id="6" class="l"><a class="l" href="#6"> 6: </a><span class="php-keyword1">include_once</span> PATH_UTILITTY . <span class="php-quote">&quot;/StringManager.php&quot;</span>;
</span><span id="7" class="l"><a class="l" href="#7"> 7: </a>
</span><span id="8" class="l"><a class="l" href="#8"> 8: </a><span class="php-comment">/**
</span></span><span id="9" class="l"><a class="l" href="#9"> 9: </a><span class="php-comment"> * The ArrayManager provides some array-methods
</span></span><span id="10" class="l"><a class="l" href="#10">10: </a><span class="php-comment"> * @author stubbfel
</span></span><span id="11" class="l"><a class="l" href="#11">11: </a><span class="php-comment"> * @since 26.06.2013
</span></span><span id="12" class="l"><a class="l" href="#12">12: </a><span class="php-comment"> */</span>
</span><span id="13" class="l"><a class="l" href="#13">13: </a><span class="php-keyword1">class</span> <a id="ArrayManager" href="#ArrayManager">ArrayManager</a> {
</span><span id="14" class="l"><a class="l" href="#14">14: </a>
</span><span id="15" class="l"><a class="l" href="#15">15: </a> <span class="php-comment">/**
</span></span><span id="16" class="l"><a class="l" href="#16">16: </a><span class="php-comment"> * Method remove all empty itmes of an array
</span></span><span id="17" class="l"><a class="l" href="#17">17: </a><span class="php-comment"> * @param array $queryArgs
</span></span><span id="18" class="l"><a class="l" href="#18">18: </a><span class="php-comment"> * @return array
</span></span><span id="19" class="l"><a class="l" href="#19">19: </a><span class="php-comment"> */</span>
</span><span id="20" class="l"><a class="l" href="#20">20: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-keyword1">function</span> <a id="_removeEmptyItmes" href="#_removeEmptyItmes">removeEmptyItmes</a>(<span class="php-var">$array</span>) {
</span><span id="21" class="l"><a class="l" href="#21">21: </a> <span class="php-keyword1">foreach</span> (<span class="php-var">$array</span> <span class="php-keyword1">as</span> <span class="php-var">$key</span> =&gt; <span class="php-var">$value</span>) {
</span><span id="22" class="l"><a class="l" href="#22">22: </a> <span class="php-keyword1">if</span> (<span class="php-keyword1">empty</span>(<span class="php-var">$value</span>)) {
</span><span id="23" class="l"><a class="l" href="#23">23: </a> <span class="php-keyword1">unset</span>(<span class="php-var">$array</span>[<span class="php-var">$key</span>]);
</span><span id="24" class="l"><a class="l" href="#24">24: </a> }
</span><span id="25" class="l"><a class="l" href="#25">25: </a> }
</span><span id="26" class="l"><a class="l" href="#26">26: </a> <span class="php-keyword1">return</span> <span class="php-var">$array</span>;
</span><span id="27" class="l"><a class="l" href="#27">27: </a> }
</span><span id="28" class="l"><a class="l" href="#28">28: </a>
</span><span id="29" class="l"><a class="l" href="#29">29: </a> <span class="php-comment">/**
</span></span><span id="30" class="l"><a class="l" href="#30">30: </a><span class="php-comment"> * Method convert an array to a where-string like $fieldname = $array[i] $operator
</span></span><span id="31" class="l"><a class="l" href="#31">31: </a><span class="php-comment"> * @param array $pidList
</span></span><span id="32" class="l"><a class="l" href="#32">32: </a><span class="php-comment"> * @return string
</span></span><span id="33" class="l"><a class="l" href="#33">33: </a><span class="php-comment"> */</span>
</span><span id="34" class="l"><a class="l" href="#34">34: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-keyword1">function</span> <a id="_toSqlWhereString" href="#_toSqlWhereString">toSqlWhereString</a>(<span class="php-var">$array</span>, <span class="php-var">$operator</span> = <span class="php-quote">&quot;&quot;</span>, <span class="php-var">$fieldname</span> = <span class="php-quote">&quot;&quot;</span>) {
</span><span id="35" class="l"><a class="l" href="#35">35: </a> <span class="php-var">$arrayStr</span> = StringManager::<span class="php-var">$emptyString</span>;
</span><span id="36" class="l"><a class="l" href="#36">36: </a> <span class="php-keyword1">foreach</span> (<span class="php-var">$array</span> <span class="php-keyword1">as</span> <span class="php-var">$value</span>) {
</span><span id="37" class="l"><a class="l" href="#37">37: </a> <span class="php-var">$arrayStr</span> .= <span class="php-var">$fieldname</span> . <span class="php-var">$value</span> . <span class="php-var">$operator</span>;
</span><span id="38" class="l"><a class="l" href="#38">38: </a> }
</span><span id="39" class="l"><a class="l" href="#39">39: </a> <span class="php-var">$result</span> = <span class="php-keyword2">substr</span>(<span class="php-var">$arrayStr</span>, <span class="php-num">0</span>, <span class="php-keyword2">strlen</span>(<span class="php-var">$arrayStr</span>) - <span class="php-keyword2">strlen</span>(<span class="php-var">$operator</span>));
</span><span id="40" class="l"><a class="l" href="#40">40: </a> <span class="php-keyword1">return</span> <span class="php-var">$result</span>;
</span><span id="41" class="l"><a class="l" href="#41">41: </a> }
</span><span id="42" class="l"><a class="l" href="#42">42: </a>
</span><span id="43" class="l"><a class="l" href="#43">43: </a> <span class="php-comment">/**
</span></span><span id="44" class="l"><a class="l" href="#44">44: </a><span class="php-comment"> * Method check if all items of the array are only digits and &lt; PHP_INT_MAX
</span></span><span id="45" class="l"><a class="l" href="#45">45: </a><span class="php-comment"> * @param array $poly
</span></span><span id="46" class="l"><a class="l" href="#46">46: </a><span class="php-comment"> * @return boolean
</span></span><span id="47" class="l"><a class="l" href="#47">47: </a><span class="php-comment"> */</span>
</span><span id="48" class="l"><a class="l" href="#48">48: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-keyword1">function</span> <a id="_validIntList" href="#_validIntList">validIntList</a>(<span class="php-var">$list</span>) {
</span><span id="49" class="l"><a class="l" href="#49">49: </a> <span class="php-keyword1">foreach</span> (<span class="php-var">$list</span> <span class="php-keyword1">as</span> <span class="php-var">$value</span>) {
</span><span id="50" class="l"><a class="l" href="#50">50: </a>
</span><span id="51" class="l"><a class="l" href="#51">51: </a> <span class="php-keyword1">if</span> (!<span class="php-keyword2">ctype_digit</span>(<span class="php-var">$value</span>) || PHP_INT_MAX &lt; <span class="php-var">$value</span>) {
</span><span id="52" class="l"><a class="l" href="#52">52: </a> <span class="php-keyword1">return</span> <span class="php-keyword1">FALSE</span>;
</span><span id="53" class="l"><a class="l" href="#53">53: </a> }
</span><span id="54" class="l"><a class="l" href="#54">54: </a> }
</span><span id="55" class="l"><a class="l" href="#55">55: </a> <span class="php-keyword1">return</span> <span class="php-keyword1">TRUE</span>;
</span><span id="56" class="l"><a class="l" href="#56">56: </a> }
</span><span id="57" class="l"><a class="l" href="#57">57: </a>
</span><span id="58" class="l"><a class="l" href="#58">58: </a>}
</span><span id="59" class="l"><a class="l" href="#59">59: </a>
</span><span id="60" class="l"><a class="l" href="#60">60: </a><span class="xlang">?&gt;</span>
</span><span id="61" class="l"><a class="l" href="#61">61: </a></span></code></pre>
<div id="footer">
GeoApi API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,160 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="ApiGen 2.8.0" />
<meta name="robots" content="noindex" />
<title>File utility/StringManager.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
<div id="groups">
<h3>Namespaces</h3>
<ul>
<li><a href="namespace-api.html">api</a>
</li>
<li><a href="namespace-config.html">config</a>
</li>
<li><a href="namespace-database.html">database</a>
</li>
<li><a href="namespace-PHP.html">PHP</a>
</li>
<li><a href="namespace-Slim.html">Slim<span></span></a>
<ul>
<li><a href="namespace-Slim.Exception.html">Exception</a>
</li>
<li><a href="namespace-Slim.Http.html">Http</a>
</li>
<li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li>
</ul></li>
<li class="active"><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul>
</div>
<hr />
<div id="elements">
<h3>Classes</h3>
<ul>
<li><a href="class-utiliy.ArrayManager.html">ArrayManager</a></li>
<li class="active"><a href="class-utiliy.StringManager.html">StringManager</a></li>
<li><a href="class-utiliy.XmlManager.html">XmlManager</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" />
<input type="submit" value="Search" />
</form>
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="namespace-utiliy.html" title="Summary of utiliy"><span>Namespace</span></a>
</li>
<li>
<a href="class-utiliy.StringManager.html" title="Summary of utiliy\StringManager"><span>Class</span></a>
</li>
</ul>
<ul>
<li>
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
</li>
</ul>
<ul>
</ul>
</div>
<pre><code><span id="1" class="l"><a class="l" href="#1"> 1: </a><span class="xlang">&lt;?php</span>
</span><span id="2" class="l"><a class="l" href="#2"> 2: </a>
</span><span id="3" class="l"><a class="l" href="#3"> 3: </a><span class="php-keyword1">namespace</span> utiliy;
</span><span id="4" class="l"><a class="l" href="#4"> 4: </a>
</span><span id="5" class="l"><a class="l" href="#5"> 5: </a><span class="php-keyword1">include_once</span> <span class="php-quote">&quot;../../global.inc.php&quot;</span>;
</span><span id="6" class="l"><a class="l" href="#6"> 6: </a>
</span><span id="7" class="l"><a class="l" href="#7"> 7: </a><span class="php-comment">/**
</span></span><span id="8" class="l"><a class="l" href="#8"> 8: </a><span class="php-comment"> * The StringManager provides some string-methods
</span></span><span id="9" class="l"><a class="l" href="#9"> 9: </a><span class="php-comment"> * @author stubbfel
</span></span><span id="10" class="l"><a class="l" href="#10">10: </a><span class="php-comment"> * @since 25.06.2013
</span></span><span id="11" class="l"><a class="l" href="#11">11: </a><span class="php-comment"> */</span>
</span><span id="12" class="l"><a class="l" href="#12">12: </a><span class="php-keyword1">class</span> <a id="StringManager" href="#StringManager">StringManager</a> {
</span><span id="13" class="l"><a class="l" href="#13">13: </a>
</span><span id="14" class="l"><a class="l" href="#14">14: </a> <span class="php-comment">/**
</span></span><span id="15" class="l"><a class="l" href="#15">15: </a><span class="php-comment"> * A Constant vor an emptystring like &quot;&quot;
</span></span><span id="16" class="l"><a class="l" href="#16">16: </a><span class="php-comment"> * @var string
</span></span><span id="17" class="l"><a class="l" href="#17">17: </a><span class="php-comment"> */</span>
</span><span id="18" class="l"><a class="l" href="#18">18: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$emptyString" href="#$emptyString">$emptyString</a></span> = <span class="php-quote">&quot;&quot;</span>;
</span><span id="19" class="l"><a class="l" href="#19">19: </a>
</span><span id="20" class="l"><a class="l" href="#20">20: </a> <span class="php-comment">/**
</span></span><span id="21" class="l"><a class="l" href="#21">21: </a><span class="php-comment"> * Method check if a certain string start with a certain substring
</span></span><span id="22" class="l"><a class="l" href="#22">22: </a><span class="php-comment"> * @param string $haystack
</span></span><span id="23" class="l"><a class="l" href="#23">23: </a><span class="php-comment"> * @param string $needle
</span></span><span id="24" class="l"><a class="l" href="#24">24: </a><span class="php-comment"> * @return boolean
</span></span><span id="25" class="l"><a class="l" href="#25">25: </a><span class="php-comment"> */</span>
</span><span id="26" class="l"><a class="l" href="#26">26: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-keyword1">function</span> <a id="_startsWith" href="#_startsWith">startsWith</a>(<span class="php-var">$haystack</span>, <span class="php-var">$needle</span>) {
</span><span id="27" class="l"><a class="l" href="#27">27: </a> <span class="php-keyword1">return</span> !<span class="php-keyword2">strncmp</span>(<span class="php-var">$haystack</span>, <span class="php-var">$needle</span>, <span class="php-keyword2">strlen</span>(<span class="php-var">$needle</span>));
</span><span id="28" class="l"><a class="l" href="#28">28: </a> }
</span><span id="29" class="l"><a class="l" href="#29">29: </a>
</span><span id="30" class="l"><a class="l" href="#30">30: </a> <span class="php-comment">/**
</span></span><span id="31" class="l"><a class="l" href="#31">31: </a><span class="php-comment"> * Method check if a certain string end with a certain substring
</span></span><span id="32" class="l"><a class="l" href="#32">32: </a><span class="php-comment"> * @param string $haystack
</span></span><span id="33" class="l"><a class="l" href="#33">33: </a><span class="php-comment"> * @param string $needle
</span></span><span id="34" class="l"><a class="l" href="#34">34: </a><span class="php-comment"> * @return boolean
</span></span><span id="35" class="l"><a class="l" href="#35">35: </a><span class="php-comment"> */</span>
</span><span id="36" class="l"><a class="l" href="#36">36: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-keyword1">function</span> <a id="_endsWith" href="#_endsWith">endsWith</a>(<span class="php-var">$haystack</span>, <span class="php-var">$needle</span>) {
</span><span id="37" class="l"><a class="l" href="#37">37: </a> <span class="php-keyword1">return</span> (<span class="php-keyword2">substr</span>(<span class="php-var">$haystack</span>, -<span class="php-keyword2">strlen</span>(<span class="php-var">$needle</span>)) === <span class="php-var">$needle</span>);
</span><span id="38" class="l"><a class="l" href="#38">38: </a> }
</span><span id="39" class="l"><a class="l" href="#39">39: </a>
</span><span id="40" class="l"><a class="l" href="#40">40: </a> <span class="php-comment">/**
</span></span><span id="41" class="l"><a class="l" href="#41">41: </a><span class="php-comment"> * Method if the string is not a empty String (not only spaces and controlls)
</span></span><span id="42" class="l"><a class="l" href="#42">42: </a><span class="php-comment"> * @param string $string
</span></span><span id="43" class="l"><a class="l" href="#43">43: </a><span class="php-comment"> * @return boolean
</span></span><span id="44" class="l"><a class="l" href="#44">44: </a><span class="php-comment"> */</span>
</span><span id="45" class="l"><a class="l" href="#45">45: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-keyword1">function</span> <a id="_validSQLString" href="#_validSQLString">validSQLString</a>(<span class="php-var">$string</span>) {
</span><span id="46" class="l"><a class="l" href="#46">46: </a> <span class="php-keyword1">if</span> (!<span class="php-keyword2">ctype_space</span>(<span class="php-var">$string</span>) &amp;&amp; !<span class="php-keyword2">ctype_cntrl</span>(<span class="php-var">$string</span>)) {
</span><span id="47" class="l"><a class="l" href="#47">47: </a> <span class="php-keyword1">return</span> <span class="php-keyword1">TRUE</span>;
</span><span id="48" class="l"><a class="l" href="#48">48: </a> }
</span><span id="49" class="l"><a class="l" href="#49">49: </a> <span class="php-keyword1">return</span> <span class="php-keyword1">FALSE</span>;
</span><span id="50" class="l"><a class="l" href="#50">50: </a> }
</span><span id="51" class="l"><a class="l" href="#51">51: </a>
</span><span id="52" class="l"><a class="l" href="#52">52: </a>}
</span><span id="53" class="l"><a class="l" href="#53">53: </a>
</span><span id="54" class="l"><a class="l" href="#54">54: </a><span class="xlang">?&gt;</span>
</span><span id="55" class="l"><a class="l" href="#55">55: </a></span></code></pre>
<div id="footer">
GeoApi API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,269 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="ApiGen 2.8.0" />
<meta name="robots" content="noindex" />
<title>File utility/XmlManager.php | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
<div id="groups">
<h3>Namespaces</h3>
<ul>
<li><a href="namespace-api.html">api</a>
</li>
<li><a href="namespace-config.html">config</a>
</li>
<li><a href="namespace-database.html">database</a>
</li>
<li><a href="namespace-PHP.html">PHP</a>
</li>
<li><a href="namespace-Slim.html">Slim<span></span></a>
<ul>
<li><a href="namespace-Slim.Exception.html">Exception</a>
</li>
<li><a href="namespace-Slim.Http.html">Http</a>
</li>
<li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li>
</ul></li>
<li class="active"><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul>
</div>
<hr />
<div id="elements">
<h3>Classes</h3>
<ul>
<li><a href="class-utiliy.ArrayManager.html">ArrayManager</a></li>
<li><a href="class-utiliy.StringManager.html">StringManager</a></li>
<li class="active"><a href="class-utiliy.XmlManager.html">XmlManager</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" />
<input type="submit" value="Search" />
</form>
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="namespace-utiliy.html" title="Summary of utiliy"><span>Namespace</span></a>
</li>
<li>
<a href="class-utiliy.XmlManager.html" title="Summary of utiliy\XmlManager"><span>Class</span></a>
</li>
</ul>
<ul>
<li>
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
</li>
</ul>
<ul>
</ul>
</div>
<pre><code><span id="1" class="l"><a class="l" href="#1"> 1: </a><span class="xlang">&lt;?php</span>
</span><span id="2" class="l"><a class="l" href="#2"> 2: </a>
</span><span id="3" class="l"><a class="l" href="#3"> 3: </a><span class="php-keyword1">namespace</span> utiliy;
</span><span id="4" class="l"><a class="l" href="#4"> 4: </a>
</span><span id="5" class="l"><a class="l" href="#5"> 5: </a><span class="php-keyword1">include_once</span> <span class="php-quote">&quot;../../global.inc.php&quot;</span>;
</span><span id="6" class="l"><a class="l" href="#6"> 6: </a>
</span><span id="7" class="l"><a class="l" href="#7"> 7: </a><span class="php-comment">/**
</span></span><span id="8" class="l"><a class="l" href="#8"> 8: </a><span class="php-comment"> * The XmlManager provides some xml-methods
</span></span><span id="9" class="l"><a class="l" href="#9"> 9: </a><span class="php-comment"> * @author stubbfel
</span></span><span id="10" class="l"><a class="l" href="#10"> 10: </a><span class="php-comment"> * @since 25.06.2013
</span></span><span id="11" class="l"><a class="l" href="#11"> 11: </a><span class="php-comment"> */</span>
</span><span id="12" class="l"><a class="l" href="#12"> 12: </a><span class="php-keyword1">class</span> <a id="XmlManager" href="#XmlManager">XmlManager</a> {
</span><span id="13" class="l"><a class="l" href="#13"> 13: </a>
</span><span id="14" class="l"><a class="l" href="#14"> 14: </a> <span class="php-comment">/**
</span></span><span id="15" class="l"><a class="l" href="#15"> 15: </a><span class="php-comment"> * a default xml document
</span></span><span id="16" class="l"><a class="l" href="#16"> 16: </a><span class="php-comment"> * @var xml-string
</span></span><span id="17" class="l"><a class="l" href="#17"> 17: </a><span class="php-comment"> */</span>
</span><span id="18" class="l"><a class="l" href="#18"> 18: </a> <span class="php-keyword1">private</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$defaultXmlDoc" href="#$defaultXmlDoc">$defaultXmlDoc</a></span> = <span class="php-quote">&quot;&lt;?xml version=\&quot;1.0\&quot; encoding=\&quot;UTF-8\&quot;?&gt;&lt;root&gt;&lt;/root&gt;&quot;</span>;
</span><span id="19" class="l"><a class="l" href="#19"> 19: </a>
</span><span id="20" class="l"><a class="l" href="#20"> 20: </a> <span class="php-comment">/**
</span></span><span id="21" class="l"><a class="l" href="#21"> 21: </a><span class="php-comment"> * Name for the place element
</span></span><span id="22" class="l"><a class="l" href="#22"> 22: </a><span class="php-comment"> * @var string
</span></span><span id="23" class="l"><a class="l" href="#23"> 23: </a><span class="php-comment"> */</span>
</span><span id="24" class="l"><a class="l" href="#24"> 24: </a> <span class="php-keyword1">private</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$placeElementName" href="#$placeElementName">$placeElementName</a></span> = <span class="php-quote">&quot;place&quot;</span>;
</span><span id="25" class="l"><a class="l" href="#25"> 25: </a>
</span><span id="26" class="l"><a class="l" href="#26"> 26: </a> <span class="php-comment">/**
</span></span><span id="27" class="l"><a class="l" href="#27"> 27: </a><span class="php-comment"> * Name for the placeinformation element
</span></span><span id="28" class="l"><a class="l" href="#28"> 28: </a><span class="php-comment"> * @var string
</span></span><span id="29" class="l"><a class="l" href="#29"> 29: </a><span class="php-comment"> */</span>
</span><span id="30" class="l"><a class="l" href="#30"> 30: </a> <span class="php-keyword1">private</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$placeInfoElementName" href="#$placeInfoElementName">$placeInfoElementName</a></span> = <span class="php-quote">&quot;placeInformation&quot;</span>;
</span><span id="31" class="l"><a class="l" href="#31"> 31: </a>
</span><span id="32" class="l"><a class="l" href="#32"> 32: </a> <span class="php-comment">/**
</span></span><span id="33" class="l"><a class="l" href="#33"> 33: </a><span class="php-comment"> * Name for the placeserviceelement
</span></span><span id="34" class="l"><a class="l" href="#34"> 34: </a><span class="php-comment"> * @var string
</span></span><span id="35" class="l"><a class="l" href="#35"> 35: </a><span class="php-comment"> */</span>
</span><span id="36" class="l"><a class="l" href="#36"> 36: </a> <span class="php-keyword1">private</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$placeServiceElementName" href="#$placeServiceElementName">$placeServiceElementName</a></span> = <span class="php-quote">&quot;placeService&quot;</span>;
</span><span id="37" class="l"><a class="l" href="#37"> 37: </a>
</span><span id="38" class="l"><a class="l" href="#38"> 38: </a> <span class="php-comment">/**
</span></span><span id="39" class="l"><a class="l" href="#39"> 39: </a><span class="php-comment"> * Name for the ssap element
</span></span><span id="40" class="l"><a class="l" href="#40"> 40: </a><span class="php-comment"> * @var string
</span></span><span id="41" class="l"><a class="l" href="#41"> 41: </a><span class="php-comment"> */</span>
</span><span id="42" class="l"><a class="l" href="#42"> 42: </a> <span class="php-keyword1">private</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$placeSapElementName" href="#$placeSapElementName">$placeSapElementName</a></span> = <span class="php-quote">&quot;sap&quot;</span>;
</span><span id="43" class="l"><a class="l" href="#43"> 43: </a>
</span><span id="44" class="l"><a class="l" href="#44"> 44: </a> <span class="php-comment">/**
</span></span><span id="45" class="l"><a class="l" href="#45"> 45: </a><span class="php-comment"> * Name for the request element
</span></span><span id="46" class="l"><a class="l" href="#46"> 46: </a><span class="php-comment"> * @var string
</span></span><span id="47" class="l"><a class="l" href="#47"> 47: </a><span class="php-comment"> */</span>
</span><span id="48" class="l"><a class="l" href="#48"> 48: </a> <span class="php-keyword1">private</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$placeRequestElementName" href="#$placeRequestElementName">$placeRequestElementName</a></span> = <span class="php-quote">&quot;request&quot;</span>;
</span><span id="49" class="l"><a class="l" href="#49"> 49: </a>
</span><span id="50" class="l"><a class="l" href="#50"> 50: </a> <span class="php-comment">/**
</span></span><span id="51" class="l"><a class="l" href="#51"> 51: </a><span class="php-comment"> * Name for the placeInfoName attribute
</span></span><span id="52" class="l"><a class="l" href="#52"> 52: </a><span class="php-comment"> * @var string
</span></span><span id="53" class="l"><a class="l" href="#53"> 53: </a><span class="php-comment"> */</span>
</span><span id="54" class="l"><a class="l" href="#54"> 54: </a> <span class="php-keyword1">private</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$placeInfoAttrName" href="#$placeInfoAttrName">$placeInfoAttrName</a></span> = <span class="php-quote">&quot;placeInformationName&quot;</span>;
</span><span id="55" class="l"><a class="l" href="#55"> 55: </a>
</span><span id="56" class="l"><a class="l" href="#56"> 56: </a> <span class="php-comment">/**
</span></span><span id="57" class="l"><a class="l" href="#57"> 57: </a><span class="php-comment"> * Name for the placeServiceName attribute
</span></span><span id="58" class="l"><a class="l" href="#58"> 58: </a><span class="php-comment"> * @var string
</span></span><span id="59" class="l"><a class="l" href="#59"> 59: </a><span class="php-comment"> */</span>
</span><span id="60" class="l"><a class="l" href="#60"> 60: </a> <span class="php-keyword1">private</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$placeServiceAttrName" href="#$placeServiceAttrName">$placeServiceAttrName</a></span> = <span class="php-quote">&quot;placeServiceName&quot;</span>;
</span><span id="61" class="l"><a class="l" href="#61"> 61: </a>
</span><span id="62" class="l"><a class="l" href="#62"> 62: </a> <span class="php-comment">/**
</span></span><span id="63" class="l"><a class="l" href="#63"> 63: </a><span class="php-comment"> * Name for the placeid attribute
</span></span><span id="64" class="l"><a class="l" href="#64"> 64: </a><span class="php-comment"> * @var string
</span></span><span id="65" class="l"><a class="l" href="#65"> 65: </a><span class="php-comment"> */</span>
</span><span id="66" class="l"><a class="l" href="#66"> 66: </a> <span class="php-keyword1">private</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$placeIdAttrName" href="#$placeIdAttrName">$placeIdAttrName</a></span> = <span class="php-quote">&quot;id&quot;</span>;
</span><span id="67" class="l"><a class="l" href="#67"> 67: </a>
</span><span id="68" class="l"><a class="l" href="#68"> 68: </a> <span class="php-comment">/**
</span></span><span id="69" class="l"><a class="l" href="#69"> 69: </a><span class="php-comment"> * Name for the parent attribute
</span></span><span id="70" class="l"><a class="l" href="#70"> 70: </a><span class="php-comment"> * @var string
</span></span><span id="71" class="l"><a class="l" href="#71"> 71: </a><span class="php-comment"> */</span>
</span><span id="72" class="l"><a class="l" href="#72"> 72: </a> <span class="php-keyword1">private</span> <span class="php-keyword1">static</span> <span class="php-var"><a id="$parentIdAttrName" href="#$parentIdAttrName">$parentIdAttrName</a></span> = <span class="php-quote">&quot;parentId&quot;</span>;
</span><span id="73" class="l"><a class="l" href="#73"> 73: </a>
</span><span id="74" class="l"><a class="l" href="#74"> 74: </a> <span class="php-comment">/**
</span></span><span id="75" class="l"><a class="l" href="#75"> 75: </a><span class="php-comment"> * Method convert an array to a response xml for the sps service
</span></span><span id="76" class="l"><a class="l" href="#76"> 76: </a><span class="php-comment"> * &lt;place id =&quot;4711&quot; parentID=%0815&quot;/&gt;
</span></span><span id="77" class="l"><a class="l" href="#77"> 77: </a><span class="php-comment"> *
</span></span><span id="78" class="l"><a class="l" href="#78"> 78: </a><span class="php-comment"> * @param array[num][assoc] $result
</span></span><span id="79" class="l"><a class="l" href="#79"> 79: </a><span class="php-comment"> * @return xml-string
</span></span><span id="80" class="l"><a class="l" href="#80"> 80: </a><span class="php-comment"> */</span>
</span><span id="81" class="l"><a class="l" href="#81"> 81: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-keyword1">function</span> <a id="_arrayToSpsXml" href="#_arrayToSpsXml">arrayToSpsXml</a>(<span class="php-var">$result</span>) {
</span><span id="82" class="l"><a class="l" href="#82"> 82: </a> <span class="php-var">$xml</span> = <span class="php-keyword1">new</span> \SimpleXMLElement(XmlManager::<span class="php-var">$defaultXmlDoc</span>);
</span><span id="83" class="l"><a class="l" href="#83"> 83: </a>
</span><span id="84" class="l"><a class="l" href="#84"> 84: </a> <span class="php-keyword1">foreach</span> (<span class="php-var">$result</span> <span class="php-keyword1">as</span> <span class="php-var">$row</span>) {
</span><span id="85" class="l"><a class="l" href="#85"> 85: </a> <span class="php-var">$place</span> = <span class="php-var">$xml</span>-&gt;addChild(XmlManager::<span class="php-var">$placeElementName</span>);
</span><span id="86" class="l"><a class="l" href="#86"> 86: </a> <span class="php-var">$place</span>-&gt;addAttribute(XmlManager::<span class="php-var">$placeIdAttrName</span>, <span class="php-var">$row</span>[\database\SpsSqlManager::<span class="php-var">$placeId</span>]);
</span><span id="87" class="l"><a class="l" href="#87"> 87: </a> <span class="php-var">$place</span>-&gt;addAttribute(XmlManager::<span class="php-var">$parentIdAttrName</span>, <span class="php-var">$row</span>[\database\SpsSqlManager::<span class="php-var">$parentId</span>]);
</span><span id="88" class="l"><a class="l" href="#88"> 88: </a> }
</span><span id="89" class="l"><a class="l" href="#89"> 89: </a> <span class="php-keyword1">return</span> <span class="php-var">$xml</span>-&gt;asXML();
</span><span id="90" class="l"><a class="l" href="#90"> 90: </a> }
</span><span id="91" class="l"><a class="l" href="#91"> 91: </a>
</span><span id="92" class="l"><a class="l" href="#92"> 92: </a> <span class="php-comment">/**
</span></span><span id="93" class="l"><a class="l" href="#93"> 93: </a><span class="php-comment"> * Method convert an array to a response xml for the pis service like
</span></span><span id="94" class="l"><a class="l" href="#94"> 94: </a><span class="php-comment"> * &lt;place id =&quot;4711&quot;&gt;
</span></span><span id="95" class="l"><a class="l" href="#95"> 95: </a><span class="php-comment"> * &lt;placeInformation placeInformationName = &quot;key&quot;&gt;Value&lt;/placeinformation&gt;
</span></span><span id="96" class="l"><a class="l" href="#96"> 96: </a><span class="php-comment"> * &lt;/place&gt;
</span></span><span id="97" class="l"><a class="l" href="#97"> 97: </a><span class="php-comment"> *
</span></span><span id="98" class="l"><a class="l" href="#98"> 98: </a><span class="php-comment"> * @param array[num][assoc] $result
</span></span><span id="99" class="l"><a class="l" href="#99"> 99: </a><span class="php-comment"> * @return xml-string
</span></span><span id="100" class="l"><a class="l" href="#100">100: </a><span class="php-comment"> */</span>
</span><span id="101" class="l"><a class="l" href="#101">101: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-keyword1">function</span> <a id="_arrayToPisXml" href="#_arrayToPisXml">arrayToPisXml</a>(<span class="php-var">$result</span>) {
</span><span id="102" class="l"><a class="l" href="#102">102: </a> <span class="php-var">$xml</span> = <span class="php-keyword1">new</span> \SimpleXMLElement(XmlManager::<span class="php-var">$defaultXmlDoc</span>);
</span><span id="103" class="l"><a class="l" href="#103">103: </a> <span class="php-var">$actPlace</span> = <span class="php-num">0</span>;
</span><span id="104" class="l"><a class="l" href="#104">104: </a>
</span><span id="105" class="l"><a class="l" href="#105">105: </a> <span class="php-keyword1">foreach</span> (<span class="php-var">$result</span> <span class="php-keyword1">as</span> <span class="php-var">$row</span>) {
</span><span id="106" class="l"><a class="l" href="#106">106: </a>
</span><span id="107" class="l"><a class="l" href="#107">107: </a> <span class="php-comment">// fetch the place id of the row</span>
</span><span id="108" class="l"><a class="l" href="#108">108: </a> <span class="php-var">$placeId</span> = <span class="php-var">$row</span>[\database\PisSqlManager::<span class="php-var">$placeId</span>];
</span><span id="109" class="l"><a class="l" href="#109">109: </a>
</span><span id="110" class="l"><a class="l" href="#110">110: </a> <span class="php-comment">// if the id is new -&gt; add new place element</span>
</span><span id="111" class="l"><a class="l" href="#111">111: </a> <span class="php-keyword1">if</span> (<span class="php-var">$actPlace</span> != <span class="php-var">$placeId</span>) {
</span><span id="112" class="l"><a class="l" href="#112">112: </a> <span class="php-var">$actPlace</span> = <span class="php-var">$placeId</span>;
</span><span id="113" class="l"><a class="l" href="#113">113: </a> <span class="php-var">$place</span> = <span class="php-var">$xml</span>-&gt;addChild(XmlManager::<span class="php-var">$placeElementName</span>);
</span><span id="114" class="l"><a class="l" href="#114">114: </a> <span class="php-var">$place</span>-&gt;addAttribute(XmlManager::<span class="php-var">$placeIdAttrName</span>, <span class="php-var">$placeId</span>);
</span><span id="115" class="l"><a class="l" href="#115">115: </a> }
</span><span id="116" class="l"><a class="l" href="#116">116: </a>
</span><span id="117" class="l"><a class="l" href="#117">117: </a> <span class="php-comment">// add placeinformation elment</span>
</span><span id="118" class="l"><a class="l" href="#118">118: </a> <span class="php-var">$placeInfo</span> = <span class="php-var">$place</span>-&gt;addChild(XmlManager::<span class="php-var">$placeInfoElementName</span>, <span class="php-keyword2">utf8_encode</span>(<span class="php-var">$row</span>[\database\PisSqlManager::<span class="php-var">$infValue</span>]));
</span><span id="119" class="l"><a class="l" href="#119">119: </a> <span class="php-var">$placeInfo</span>-&gt;addAttribute(XmlManager::<span class="php-var">$placeInfoAttrName</span>, <span class="php-var">$row</span>[\database\PisSqlManager::<span class="php-var">$infName</span>]);
</span><span id="120" class="l"><a class="l" href="#120">120: </a> }
</span><span id="121" class="l"><a class="l" href="#121">121: </a> <span class="php-keyword1">return</span> <span class="php-var">$xml</span>-&gt;asXML();
</span><span id="122" class="l"><a class="l" href="#122">122: </a> }
</span><span id="123" class="l"><a class="l" href="#123">123: </a>
</span><span id="124" class="l"><a class="l" href="#124">124: </a> <span class="php-comment">/**
</span></span><span id="125" class="l"><a class="l" href="#125">125: </a><span class="php-comment"> * Method convert an array to a response xml for the pss service
</span></span><span id="126" class="l"><a class="l" href="#126">126: </a><span class="php-comment"> * &lt;place id =&quot;4711&quot;&gt;
</span></span><span id="127" class="l"><a class="l" href="#127">127: </a><span class="php-comment"> * &lt;placeService placeServiceName = &quot;key&quot;&gt;
</span></span><span id="128" class="l"><a class="l" href="#128">128: </a><span class="php-comment"> * &lt;sap&gt;sapValue&lt;/sap&gt;
</span></span><span id="129" class="l"><a class="l" href="#129">129: </a><span class="php-comment"> * &lt;request&gt;reqVaule&lt;/request&gt;
</span></span><span id="130" class="l"><a class="l" href="#130">130: </a><span class="php-comment"> * &lt;/placeService&gt;
</span></span><span id="131" class="l"><a class="l" href="#131">131: </a><span class="php-comment"> * &lt;/place&gt;
</span></span><span id="132" class="l"><a class="l" href="#132">132: </a><span class="php-comment"> *
</span></span><span id="133" class="l"><a class="l" href="#133">133: </a><span class="php-comment"> * @param array[num][assoc] $result
</span></span><span id="134" class="l"><a class="l" href="#134">134: </a><span class="php-comment"> * @return xml-string
</span></span><span id="135" class="l"><a class="l" href="#135">135: </a><span class="php-comment"> */</span>
</span><span id="136" class="l"><a class="l" href="#136">136: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">static</span> <span class="php-keyword1">function</span> <a id="_arrayToPssXml" href="#_arrayToPssXml">arrayToPssXml</a>(<span class="php-var">$result</span>) {
</span><span id="137" class="l"><a class="l" href="#137">137: </a> <span class="php-var">$xml</span> = <span class="php-keyword1">new</span> \SimpleXMLElement(XmlManager::<span class="php-var">$defaultXmlDoc</span>);
</span><span id="138" class="l"><a class="l" href="#138">138: </a> <span class="php-var">$actPlace</span> = <span class="php-num">0</span>;
</span><span id="139" class="l"><a class="l" href="#139">139: </a>
</span><span id="140" class="l"><a class="l" href="#140">140: </a> <span class="php-keyword1">foreach</span> (<span class="php-var">$result</span> <span class="php-keyword1">as</span> <span class="php-var">$row</span>) {
</span><span id="141" class="l"><a class="l" href="#141">141: </a>
</span><span id="142" class="l"><a class="l" href="#142">142: </a> <span class="php-comment">// fetch the place id of the row</span>
</span><span id="143" class="l"><a class="l" href="#143">143: </a> <span class="php-var">$placeId</span> = <span class="php-var">$row</span>[\database\PssSqlManager::<span class="php-var">$placeId</span>];
</span><span id="144" class="l"><a class="l" href="#144">144: </a>
</span><span id="145" class="l"><a class="l" href="#145">145: </a> <span class="php-comment">// if the id is new -&gt; add new place element</span>
</span><span id="146" class="l"><a class="l" href="#146">146: </a> <span class="php-keyword1">if</span> (<span class="php-var">$actPlace</span> != <span class="php-var">$placeId</span>) {
</span><span id="147" class="l"><a class="l" href="#147">147: </a> <span class="php-var">$actPlace</span> = <span class="php-var">$placeId</span>;
</span><span id="148" class="l"><a class="l" href="#148">148: </a> <span class="php-var">$place</span> = <span class="php-var">$xml</span>-&gt;addChild(XmlManager::<span class="php-var">$placeElementName</span>);
</span><span id="149" class="l"><a class="l" href="#149">149: </a> <span class="php-var">$place</span>-&gt;addAttribute(XmlManager::<span class="php-var">$placeIdAttrName</span>, <span class="php-var">$placeId</span>);
</span><span id="150" class="l"><a class="l" href="#150">150: </a> }
</span><span id="151" class="l"><a class="l" href="#151">151: </a>
</span><span id="152" class="l"><a class="l" href="#152">152: </a> <span class="php-comment">// add placeservice elment</span>
</span><span id="153" class="l"><a class="l" href="#153">153: </a> <span class="php-var">$placeSrv</span> = <span class="php-var">$place</span>-&gt;addChild(XmlManager::<span class="php-var">$placeServiceElementName</span>);
</span><span id="154" class="l"><a class="l" href="#154">154: </a> <span class="php-var">$placeSrv</span>-&gt;addAttribute(XmlManager::<span class="php-var">$placeServiceAttrName</span>, <span class="php-var">$row</span>[\database\PssSqlManager::<span class="php-var">$srvName</span>]);
</span><span id="155" class="l"><a class="l" href="#155">155: </a> <span class="php-var">$placeSrv</span>-&gt;addChild(XmlManager::<span class="php-var">$placeSapElementName</span>, <span class="php-var">$row</span>[\database\PssSqlManager::<span class="php-var">$srvSap</span>]);
</span><span id="156" class="l"><a class="l" href="#156">156: </a> <span class="php-var">$placeSrv</span>-&gt;addChild(XmlManager::<span class="php-var">$placeRequestElementName</span>, <span class="php-var">$row</span>[\database\PssSqlManager::<span class="php-var">$srvRequest</span>]);
</span><span id="157" class="l"><a class="l" href="#157">157: </a> }
</span><span id="158" class="l"><a class="l" href="#158">158: </a> <span class="php-keyword1">return</span> <span class="php-var">$xml</span>-&gt;asXML();
</span><span id="159" class="l"><a class="l" href="#159">159: </a> }
</span><span id="160" class="l"><a class="l" href="#160">160: </a>
</span><span id="161" class="l"><a class="l" href="#161">161: </a>}
</span><span id="162" class="l"><a class="l" href="#162">162: </a>
</span><span id="163" class="l"><a class="l" href="#163">163: </a><span class="xlang">?&gt;</span>
</span><span id="164" class="l"><a class="l" href="#164">164: </a></span></code></pre>
<div id="footer">
GeoApi API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>

View File

@@ -7,7 +7,7 @@
<title>Tree | GeoApi</title> <title>Tree | GeoApi</title>
<script type="text/javascript" src="resources/combined.js?112270826"></script> <script type="text/javascript" src="resources/combined.js?112270826"></script>
<script type="text/javascript" src="elementlist.js?1501958955"></script> <script type="text/javascript" src="elementlist.js?4049399837"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head> </head>
@@ -38,6 +38,8 @@
<li><a href="namespace-Slim.Middleware.html">Middleware</a> <li><a href="namespace-Slim.Middleware.html">Middleware</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="namespace-utiliy.html">utiliy</a>
</li>
</ul> </ul>
</div> </div>
@@ -48,9 +50,13 @@
<h3>Classes</h3> <h3>Classes</h3>
<ul> <ul>
<li><a href="class-api.Api.html">api\Api</a></li> <li><a href="class-api.Api.html">api\Api</a></li>
<li><a href="class-api.PisApi.html">api\PisApi</a></li>
<li><a href="class-api.PssApi.html">api\PssApi</a></li>
<li><a href="class-api.SpsApi.html">api\SpsApi</a></li> <li><a href="class-api.SpsApi.html">api\SpsApi</a></li>
<li><a href="class-ArrayIterator.html">ArrayIterator</a></li> <li><a href="class-ArrayIterator.html">ArrayIterator</a></li>
<li><a href="class-config.DBConfig.html">config\DBConfig</a></li> <li><a href="class-config.DBConfig.html">config\DBConfig</a></li>
<li><a href="class-database.PisSqlManager.html">database\PisSqlManager</a></li>
<li><a href="class-database.PssSqlManager.html">database\PssSqlManager</a></li>
<li><a href="class-database.SpsSqlManager.html">database\SpsSqlManager</a></li> <li><a href="class-database.SpsSqlManager.html">database\SpsSqlManager</a></li>
<li><a href="class-database.SqlManager.html">database\SqlManager</a></li> <li><a href="class-database.SqlManager.html">database\SqlManager</a></li>
<li><a href="class-SimpleXMLElement.html">SimpleXMLElement</a></li> <li><a href="class-SimpleXMLElement.html">SimpleXMLElement</a></li>
@@ -71,6 +77,9 @@
<li><a href="class-Slim.Router.html">Slim\Router</a></li> <li><a href="class-Slim.Router.html">Slim\Router</a></li>
<li><a href="class-Slim.Slim.html">Slim\Slim</a></li> <li><a href="class-Slim.Slim.html">Slim\Slim</a></li>
<li><a href="class-Slim.View.html">Slim\View</a></li> <li><a href="class-Slim.View.html">Slim\View</a></li>
<li><a href="class-utiliy.ArrayManager.html">utiliy\ArrayManager</a></li>
<li><a href="class-utiliy.StringManager.html">utiliy\StringManager</a></li>
<li><a href="class-utiliy.XmlManager.html">utiliy\XmlManager</a></li>
</ul> </ul>
<h3>Interfaces</h3> <h3>Interfaces</h3>
@@ -304,6 +313,20 @@
<ul> <ul>
<li><div class="notlast"><a href="class-api.PisApi.html"><span>api\PisApi</span></a>
</div>
</li>
<li><div class="notlast"><a href="class-api.PssApi.html"><span>api\PssApi</span></a>
</div>
</li>
<li class="last"><div class="last"><a href="class-api.SpsApi.html"><span>api\SpsApi</span></a> <li class="last"><div class="last"><a href="class-api.SpsApi.html"><span>api\SpsApi</span></a>
@@ -331,6 +354,20 @@
<ul> <ul>
<li><div class="notlast"><a href="class-database.PisSqlManager.html"><span>database\PisSqlManager</span></a>
</div>
</li>
<li><div class="notlast"><a href="class-database.PssSqlManager.html"><span>database\PssSqlManager</span></a>
</div>
</li>
<li class="last"><div class="last"><a href="class-database.SpsSqlManager.html"><span>database\SpsSqlManager</span></a> <li class="last"><div class="last"><a href="class-database.SpsSqlManager.html"><span>database\SpsSqlManager</span></a>
@@ -338,7 +375,28 @@
</ul></li> </ul></li>
<li class="last"><div class="last"><a href="class-database.SqlManager.html"><span>database\SqlManager</span></a> <li><div class="notlast"><a href="class-database.SqlManager.html"><span>database\SqlManager</span></a>
</div>
</li>
<li><div class="notlast"><a href="class-utiliy.ArrayManager.html"><span>utiliy\ArrayManager</span></a>
</div>
</li>
<li><div class="notlast"><a href="class-utiliy.StringManager.html"><span>utiliy\StringManager</span></a>
</div>
</li>
<li class="last"><div class="last"><a href="class-utiliy.XmlManager.html"><span>utiliy\XmlManager</span></a>
</div> </div>