PHP Class Jarves\Controller\Admin\AdminController

Inheritance: extends Symfony\Bundle\FrameworkBundle\Controller\Controller
Datei anzeigen Open project: jarves/jarves

Protected Properties

Property Type Description
$acl Jarves\ACL
$contentRender Jarves\ContentRender
$encoderFactory Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface
$jarves Jarves\Jarves
$logger Psr\Log\LoggerInterface
$pageStack Jarves\PageStack
$tokenStorage Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface
$userProvider Jarves\Client\UserProvider

Public Methods

Method Description
getContentPreviewAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : array
getContentTemplateAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : array
getStreamAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : array
loggedInAction ( ) : boolean
loginUserAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher, Request $request ) : array | boolean
logoutUserAction ( ) : boolean
runStream ( Stream $stream, &$response, array $params = [] )
setContainer ( Symfony\Component\DependencyInjection\ContainerInterface $container = null )

Protected Methods

Method Description
getJarves ( ) : Jarves
loginFailed ( $username )

Method Details

getContentPreviewAction() public method

public getContentPreviewAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : array
$paramFetcher FOS\RestBundle\Request\ParamFetcher
return array

getContentTemplateAction() public method

public getContentTemplateAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : array
$paramFetcher FOS\RestBundle\Request\ParamFetcher
return array

getJarves() protected method

protected getJarves ( ) : Jarves
return Jarves\Jarves

getStreamAction() public method

public getStreamAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : array
$paramFetcher FOS\RestBundle\Request\ParamFetcher
return array

loggedInAction() public method

public loggedInAction ( ) : boolean
return boolean

loginFailed() protected method

protected loginFailed ( $username )

loginUserAction() public method

public loginUserAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher, Request $request ) : array | boolean
$paramFetcher FOS\RestBundle\Request\ParamFetcher
$request Symfony\Component\HttpFoundation\Request
return array | boolean Returns false on failure or a array if successful.

logoutUserAction() public method

public logoutUserAction ( ) : boolean
return boolean returns false if the user is not logged in or true when successfully logged out.

runStream() public method

public runStream ( Stream $stream, &$response, array $params = [] )
$stream Jarves\Configuration\Stream
$params array

setContainer() public method

public setContainer ( Symfony\Component\DependencyInjection\ContainerInterface $container = null )
$container Symfony\Component\DependencyInjection\ContainerInterface

Property Details

$acl protected_oe property

protected ACL,Jarves $acl
return Jarves\ACL

$contentRender protected_oe property

protected ContentRender,Jarves $contentRender
return Jarves\ContentRender

$encoderFactory protected_oe property

protected EncoderFactoryInterface,Symfony\Component\Security\Core\Encoder $encoderFactory
return Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface

$jarves protected_oe property

protected Jarves,Jarves $jarves
return Jarves\Jarves

$logger protected_oe property

protected LoggerInterface,Psr\Log $logger
return Psr\Log\LoggerInterface

$pageStack protected_oe property

protected PageStack,Jarves $pageStack
return Jarves\PageStack

$tokenStorage protected_oe property

protected TokenStorageInterface,Symfony\Component\Security\Core\Authentication\Token\Storage $tokenStorage
return Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface

$userProvider protected_oe property

protected UserProvider,Jarves\Client $userProvider
return Jarves\Client\UserProvider