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 Location

View mit allen Daten für ein Redirect. Als MimeType wird text/html gesetzt. Über den Parameter $permanent kann entweder ein \Alvine\Net\Http\StatusCode::HTTP_MOVED_PERMANENTLY oder ein \Alvine\Net\Http\StatusCode::HTTP_FOUND

Alvine\Core\Alvine
Extended by Alvine\Application\View
Extended by Alvine\Application\Web\View
Extended by Alvine\Application\Web\View\Location
Namespace: Alvine\Application\Web\View
Package: Alvine\Application
Category: Alvine
License: Alvine Nutzungslizenz
Author: schukai GmbH info@schukai.de
Version: $Revision: 216 $
Since: 20150426
Link: alvine.io
Located at web/view/Location.class.php
Methods summary
public static Alvine\Application\Web\View
# getInstance( Alvine\Application\Assembly $app, string $routeID, Alvine\Types\Map $map = null, boolean $permanent = true )

Neuen View erstellen

Neuen View erstellen

Parameters

$app
Applikation
$routeID
ID der Route
$map
Parameter gemäß Routen-Template
$permanent
Permanent oder temporär

Returns

Alvine\Application\Web\View
View für Webanwendungen

Throws

Alvine\Core\NullException
Wenn kein Router in der Anwendung definiert ist
Alvine\Application\Web\RouteNotFoundException
Wenn die Route nicht gefnden wurde
public static Alvine\Application\Web\View\Location
# getInstanceFromURL( Alvine\Net\Resource\URI $url, boolean $permanent = true )

Neuen Location-View erstellen

Neuen Location-View erstellen

Parameters

$url
$permanent

Returns

Alvine\Application\Web\View\Location
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