Overview

Namespaces

  • api
  • config
  • database
  • None
  • PHP
  • Slim
    • Exception
    • Http
    • Middleware
  • utiliy

Classes

  • Api
  • PisApi
  • PssApi
  • SpsApi
  • Overview
  • Namespace
  • Class
  • Tree

Class Api

This class provides some general API methods

Slim\Slim
Extended by api\Api

Direct known subclasses

api\PisApi, api\PssApi, api\SpsApi
Abstract
Namespace: api
Author: stubbfel
Since: 20.06.2013
Located at api/Api.php
Methods summary
public
# __construct( array[assoc] $headers = array() )

Constructor

Constructor

Parameters

$headers
array[assoc]
$headers - RequestHeader

Overrides

Slim\Slim::__construct()
public
# __destruct( )

Default-DeConstructor

Default-DeConstructor

public
# connect( )

Method start a connection to the database

Method start a connection to the database

Methods inherited from Slim\Slim
add(), applyHook(), autoload(), call(), callErrorHandler(), cleanBuffer(), clearHooks(), config(), configureMode(), contentType(), defaultError(), defaultNotFound(), delete(), deleteCookie(), environment(), error(), etag(), expires(), flash(), flashKeep(), flashNow(), generateTemplateMarkup(), get(), getCookie(), getDefaultSettings(), getEncryptedCookie(), getHooks(), getInstance(), getLog(), getMode(), getName(), halt(), handleErrors(), hook(), lastModified(), map(), mapRoute(), notFound(), options(), pass(), post(), put(), redirect(), registerAutoloader(), render(), request(), response(), root(), router(), run(), setCookie(), setEncryptedCookie(), setName(), status(), stop(), urlFor(), view()
Constants inherited from Slim\Slim
VERSION
Properties summary
protected <T>:SqlManager $sqlManager
#

Variable for the sql manager of the api

Variable for the sql manager of the api

protected <T>:SqlManager $serialManager
#

Variable for the serialazarion manager of the api

Variable for the serialazarion manager of the api

protected static string $contentypeXML "application/xml;charset=utf-8"
#

Variable for the contentype of XML

Variable for the contentype of XML

protected static string $contentypeJson "application/json;charset=utf-8"
#

Variable for the contentype of Json

Variable for the contentype of Json

Properties inherited from Slim\Slim
$apps, $environment, $error, $hooks, $middleware, $mode, $name, $notFound, $request, $response, $router, $settings, $view
GeoApi API documentation generated by ApiGen 2.8.0