Overview

Namespaces

  • Alvine
    • Application
      • Configuration
      • Console
        • Option
        • Terminal
          • VT100
      • Data
        • Generic
      • Resource
      • UI
      • Web
        • Model
          • Linkage
            • Relation
            • Structure
        • Presenter
          • Access
          • Data
          • Event
          • File
          • Page
            • Plugin
              • Authentication
              • Html
              • I18n
              • Navigation
              • UI
                • Wrapper
        • Route
          • Cache
          • Exception
          • Handler
        • View
          • Data
          • Definition
          • Intern
          • Json

Classes

  • Container
  • Created
  • Data
  • DataException
  • DefaultView
  • Factory
  • Form
  • HTTPError
  • Json
  • Location
  • NoContent
  • NoViewException
  • Page
  • Updated
  • VoidView

Interfaces

  • InstanceFromContainer

Traits

  • FormImplementation
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated

Class Created

Nachdem eine Resource angelegt wurde muss der Server mit 201 CREATED antworten. Zudem kann der Server über den Location-Header eine URL zurückgeben die auf das erstellte Objekt zeigt.

Soll keine Location angegeben werden, so muss für den Parameter $routeID null übergeben werden.

Alvine\Core\Alvine
Extended by Alvine\Application\View
Extended by Alvine\Application\Web\View
Extended by Alvine\Application\Web\View\Created
Namespace: Alvine\Application\Web\View
Package: Alvine\Application
Category: Alvine
License: Alvine Nutzungslizenz
Author: schukai GmbH info@schukai.de
Version: $Revision: 362 $
Since: 20150426
Link: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.2
Link: alvine.io
Located at web/view/Created.class.php
Methods summary
public static Alvine\Application\Web\View
# getInstance( Alvine\Application\Web $app, string $routeIDOrLocation, Alvine\Types\Map $map, boolean $permanent,… )

Neues Creted-View

Neues Creted-View

Parameters

$app
Applikation
$routeIDOrLocation
\Alvine\Net\Resource\URI $routeID ID der Update-Route oder Location als URI
$map
Parameter gemäß Routen-Template
$permanent,…
Permanent oder temporär

Returns

Alvine\Application\Web\View
View für Webanwendungen
Methods inherited from Alvine\Application\Web\View
__construct(), getContent(), getHeader(), getHttpStatusCode(), getInstanceFromMap(), getTemplateFileAndMimeType(), replaceI18N(), setForbidden(), setHttpStatusCode(), setLinksPlaceholder(), setLocation(), setNotFound()
Constants inherited from Alvine\Application\Web\View
LINK_DELIMITER, LINK_ID_SUFFIX, LINK_LABEL_SUFFIX, LINK_PREFIX, LINK_RELATION_SUFFIX, LINK_URL_SUFFIX
Properties inherited from Alvine\Application\Web\View
$content, $header, $statusCode
alvine.application API-Dokumentation 1.1.1 | © schukai GmbH | Impressum