com\setasign\Konquadrat\Controller\Backend

Namebadge Class Namebadge

File: /Konquadrat/src/Controller/Backend/Namebadge.php

Class hierarchy

  • com\setasign\SetaFramework\Controller\AbstractViewController

Implements

  • \com\setasign\SetaFramework\Controller\ControllerInterface

Summary

Properties

$httpFactory

protected \com\setasign\SetaFramework\Http\HttpFactoryInterface \com\setasign\SetaFramework\Controller\AbstractController::$httpFactory

$response

protected ?\Psr\Http\Message\ResponseInterface \com\setasign\SetaFramework\Controller\AbstractController::$response

$viewScript

protected string \com\setasign\SetaFramework\Controller\AbstractViewController::$viewScript

Methods

__construct()

public \com\setasign\SetaFramework\Controller\AbstractViewController::__construct (
\com\setasign\SetaFramework\Http\HttpFactoryInterface $httpFactory,
\com\setasign\SetaFramework\View\View $view
)
Parameters
$httpFactory : \com\setasign\SetaFramework\Http\HttpFactoryInterface
 
$view : \com\setasign\SetaFramework\View\View
 

getParam()

public \com\setasign\SetaFramework\Controller\AbstractController::getParam (
string $name,
mixed $default = null
): ?mixed

Returns a param if it exists otherwise this will return $default

Parameters
$name : string
 
$default : mixed
 

getParams()

public \com\setasign\SetaFramework\Controller\AbstractController::getParams (
void
): array

Get all existing params

getResponse()

public \com\setasign\SetaFramework\Controller\AbstractController::getResponse (
void
): \Psr\Http\Message\ResponseInterface

getView()

public \com\setasign\SetaFramework\Controller\AbstractViewController::getView (
void
): \com\setasign\SetaFramework\View\View

Returns the view

renderView()

protected \com\setasign\SetaFramework\Controller\AbstractViewController::renderView (
void
): void
Exceptions

Throws \com\setasign\SetaFramework\View\ViewException

resetResponse()

public \com\setasign\SetaFramework\Controller\AbstractController::resetResponse (
void
): void

setParam()

public \com\setasign\SetaFramework\Controller\AbstractController::setParam (
string $name,
mixed $value
): \com\setasign\SetaFramework\Controller\ControllerInterface

Sets a param

Parameters
$name : string
 
$value : mixed
 

setParams()

public \com\setasign\SetaFramework\Controller\AbstractController::setParams (
array $params
): \com\setasign\SetaFramework\Controller\ControllerInterface

Set a array of params

Note: The params will be merged with the existing params!!

Parameters
$params : array
 

showAction()

public Namebadge::showAction (
\com\setasign\SetaFramework\Request\ServerRequest $request,
\com\setasign\Konquadrat\DirectorySettings $directorySettings,
\com\setasign\Konquadrat\Object\ObjectFinder $objectFinder,
\com\setasign\Konquadrat\Object\ObjectManager $objectManager,
\com\setasign\Konquadrat\Object\ObjectConfig $objectConfig
): void
Parameters
$request : \com\setasign\SetaFramework\Request\ServerRequest
 
$directorySettings : \com\setasign\Konquadrat\DirectorySettings

,

$objectFinder : \com\setasign\Konquadrat\Object\ObjectFinder
 
$objectManager : \com\setasign\Konquadrat\Object\ObjectManager
 
$objectConfig : \com\setasign\Konquadrat\Object\ObjectConfig
 
Exceptions

Throws \com\setasign\Konquadrat\Exception

Throws \JsonException

Throws \com\setasign\Konquadrat\Object\UnknownObjectException