PHP Class Jarves\Controller\Admin\BundleManager\EditorController

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

Protected Properties

Property Type Description
$configurationOperator Jarves\Configuration\ConfigurationOperator

Public Methods

Method Description
createWindowAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : boolean
getBasicAction ( string $bundle ) : array
getConfigAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : array | null
getDocuAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : array
getEntryPointsAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : array
getModelAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : array
getObjectsAction ( string $bundle ) : array
getPluginsAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : array
getThemesAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : array
getWindowDefinitionAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : array
saveConfigAction ( string $bundle ) : array
savePluginsAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : boolean
setBasicAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : boolean
setContainer ( Symfony\Component\DependencyInjection\ContainerInterface $container = null )
setDocuAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : boolean
setEntryPointsAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : boolean
setModelAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : boolean
setModelFromObjectsAction ( $objectKey ) : boolean
setObjectsAction ( string $bundle, array $objects = null, array $objectAttributes = null ) : boolean
setThemesAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : boolean
setWindowDefinitionAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : boolean

Protected Methods

Method Description
addMethod ( string &$sourceCode, string $source ) Add a new method.
addVar ( string &$sourceCode, string $name, string $var, string $visibility = 'public', boolean $static = false ) Adds a new class property.
extractParentClassInformation ( $parentClass, &$methods ) Extracts parent's class information.
normalizeField ( &$field, $key, $res )
reconfigureJarves ( ) Reload all changed configurations into ram.
toVar ( string $value ) : boolean | integer | string

Method Details

addMethod() protected method

Add a new method.
protected addMethod ( string &$sourceCode, string $source )
$sourceCode string
$source string

addVar() protected method

Adds a new class property.
protected addVar ( string &$sourceCode, string $name, string $var, string $visibility = 'public', boolean $static = false )
$sourceCode string
$name string
$var string
$visibility string
$static boolean

createWindowAction() public method

public createWindowAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : boolean
$paramFetcher FOS\RestBundle\Request\ParamFetcher
return boolean

extractParentClassInformation() protected method

Extracts parent's class information.
protected extractParentClassInformation ( $parentClass, &$methods )
$parentClass
$methods

getBasicAction() public method

public getBasicAction ( string $bundle ) : array
$bundle string
return array

getConfigAction() public method

public getConfigAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : array | null
$paramFetcher FOS\RestBundle\Request\ParamFetcher
return array | null

getDocuAction() public method

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

getEntryPointsAction() public method

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

getModelAction() public method

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

getObjectsAction() public method

public getObjectsAction ( string $bundle ) : array
$bundle string
return array

getPluginsAction() public method

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

getThemesAction() public method

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

getWindowDefinitionAction() public method

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

normalizeField() protected method

protected normalizeField ( &$field, $key, $res )

reconfigureJarves() protected method

Reload all changed configurations into ram.
protected reconfigureJarves ( )

saveConfigAction() public method

public saveConfigAction ( string $bundle ) : array
$bundle string
return array

savePluginsAction() public method

public savePluginsAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : boolean
$paramFetcher FOS\RestBundle\Request\ParamFetcher
return boolean

setBasicAction() public method

public setBasicAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : boolean
$paramFetcher FOS\RestBundle\Request\ParamFetcher
return boolean

setContainer() public method

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

setDocuAction() public method

public setDocuAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : boolean
$paramFetcher FOS\RestBundle\Request\ParamFetcher
return boolean

setEntryPointsAction() public method

public setEntryPointsAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : boolean
$paramFetcher FOS\RestBundle\Request\ParamFetcher
return boolean

setModelAction() public method

public setModelAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : boolean
$paramFetcher FOS\RestBundle\Request\ParamFetcher
return boolean

setModelFromObjectsAction() public method

public setModelFromObjectsAction ( $objectKey ) : boolean
return boolean

setObjectsAction() public method

public setObjectsAction ( string $bundle, array $objects = null, array $objectAttributes = null ) : boolean
$bundle string
$objects array
$objectAttributes array
return boolean

setThemesAction() public method

public setThemesAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : boolean
$paramFetcher FOS\RestBundle\Request\ParamFetcher
return boolean

setWindowDefinitionAction() public method

public setWindowDefinitionAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : boolean
$paramFetcher FOS\RestBundle\Request\ParamFetcher
return boolean

toVar() protected method

protected toVar ( string $value ) : boolean | integer | string
$value string
return boolean | integer | string

Property Details

$configurationOperator protected_oe property

protected ConfigurationOperator,Jarves\Configuration $configurationOperator
return Jarves\Configuration\ConfigurationOperator