Mapbender 3.0.6.0 API documenation
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Namespaces

  • FOM
    • CoreBundle
      • Component
      • DependencyInjection
      • Doctrine
        • Types
      • Form
        • DataTransformer
        • Type
    • ManagerBundle
      • Component
      • Configuration
      • Controller
      • DependencyInjection
        • Compiler
      • Form
        • Type
      • Routing
    • UserBundle
      • Command
      • Component
      • Controller
      • DependencyInjection
        • Factory
      • Entity
      • EventListener
      • Form
        • DataTransformer
        • EventListener
        • Type
      • Security
        • Authentication
          • Provider
          • Token
        • Authorization
          • Voter
        • Firewall
  • Mapbender
    • Component
    • CoreBundle
      • Asset
      • Command
      • Component
        • Exception
      • Controller
      • DataFixtures
        • ORM
          • Application
      • DependencyInjection
        • Compiler
      • Element
        • DataTransformer
        • EventListener
        • Type
      • Entity
      • EventListener
      • Extension
      • Form
        • DataTransformer
        • EventListener
        • Type
      • Security
      • Template
      • Tests
        • Controller
      • Utils
      • Validator
        • Constraints
    • DataSourceBundle
      • Component
        • Drivers
          • Interfaces
      • Controller
      • DependencyInjection
      • Element
        • Type
      • Entity
      • Extension
      • Tests
    • DigitizerBundle
      • Component
      • Element
        • Type
      • Entity
      • Utils
    • DrupalIntegrationBundle
      • DependencyInjection
      • Security
        • Authentication
          • Provider
          • Token
        • Authorization
          • Voter
        • Factory
        • Firewall
        • User
      • Session
    • KmlBundle
      • Element
    • ManagerBundle
      • Component
        • Exception
      • Controller
      • Form
        • DataTransformer
        • Type
      • Template
    • MobileBundle
      • DependencyInjection
      • Template
    • PrintBundle
      • Component
      • Element
        • Type
    • WmcBundle
      • Component
        • Exception
      • Element
        • Type
      • Entity
      • Form
        • Type
      • Tests
        • Component
    • WmsBundle
      • Component
        • Exception
      • Controller
      • DependencyInjection
      • Element
        • DataTransformer
        • EventListener
        • Type
      • Entity
      • Event
      • Form
        • DataTransformer
        • EventListener
        • Type
  • None
  • OwsProxy3
    • CoreBundle
      • Component
        • Exception
      • Controller
      • DependencyInjection
      • Entity
      • Event
      • EventListener
      • Worker
  • PHP

Classes

  • ACEType
  • ACLType
  • BasicProfileType
  • GroupType
  • UserForgotPassType
  • UserRegistrationType
  • UserResetPassType
  • UserType

Class ACLType

ACL form type

This type embeds a ACL configuration form which can be used to manage object and class ACEs.

Two sets of standard permissions are available to show for each ACE:

  • "standard::object": Standard permissions for objects
  • "standard::class": Standard permissions for classes

These can be provided using the 'permissions' parameter which can alternatively also provided an array of permissions where keys are 1-30 (bitmask position) and the values the labels to show in the form.

Symfony\Component\Form\AbstractType
Extended by FOM\UserBundle\Form\Type\ACLType
Namespace: FOM\UserBundle\Form\Type
Author: Christian Wygoda
Located at FOM/UserBundle/Form/Type/ACLType.php

Methods summary

public
# __construct( Mapbender\CoreBundle\Component\SecurityContext $securityContext, Symfony\Component\Security\Acl\Model\AclProviderInterface $aclProvider, Symfony\Component\Routing\RouterInterface $router )

ACLType constructor.

ACLType constructor.

Parameters

$securityContext
$aclProvider
$router
public
# getName( )

Inheritdoc

public
# buildForm( Symfony\Component\Form\FormBuilderInterface $builder, array $options )

Inheritdoc

public
# setDefaultOptions( Symfony\Component\OptionsResolver\OptionsResolverInterface $resolver )
protected [type]
# getStandardPermissions( array $options, [type] $master, [type] $owner )

Get standard permission sets for provided string identifier.

Get standard permission sets for provided string identifier.

Returns an array with an array of permissions to show (['show']) and an array with permissions which should be disabled (that means, still shown, but uneditable) (['disable']).

Parameters

$options
Form options
$master
is master permission assumed?
$owner
is owner permission assumed?

Returns

[type]
Array with permissions to show and disable

Magic methods summary

Properties summary

protected Mapbender\CoreBundle\Component\SecurityContext $securityContext
#
protected Symfony\Component\Security\Acl\Model\AclProviderInterface $aclProvider
#
protected Symfony\Component\Routing\RouterInterface $router
#
Mapbender 3.0.6.0 API documenation API documentation generated by ApiGen 2.8.0