src/Symbb/Core/ForumBundle/Security/Authorization/ForumVoter.php
public function getGroupedAttributes()
    {
        return array(
            AbstractVoter::GROUP_USER => array(
                self::VIEW,
                self::CREATE_POST,
                self::CREATE_TOPIC,
                self::UPLOAD_FILE
            ),
            AbstractVoter::GROUP_MOD => array(
                self::EDIT_POST,
                self::EDIT_TOPIC,
                self::DELETE_POST,
                self::DELETE_TOPIC,
                self::MOVE_POST,
                self::MOVE_TOPIC,
                self::SPLIT_TOPIC,
            )
        );
    }
public function getGroupedAttributes()
    {
        return array(
            AbstractVoter::GROUP_USER => array(
                self::VIEW,
                self::CREATE_POST,
                self::CREATE_TOPIC,
                self::UPLOAD_FILE
            ),
            AbstractVoter::GROUP_MOD => array(
                self::EDIT_POST,
                self::EDIT_TOPIC,
                self::DELETE_POST,
                self::DELETE_TOPIC,
                self::MOVE_POST,
                self::MOVE_TOPIC,
                self::SPLIT_TOPIC,
            )
        );
    }
public function getGroupedAttributes ( ) { return array ( AbstractVoter :: GROUP_USER => array ( self :: VIEW , self :: CREATE_POST , self :: CREATE_TOPIC , self :: UPLOAD_FILE ) , AbstractVoter :: GROUP_MOD => array ( self :: EDIT_POST , self :: EDIT_TOPIC , self :: DELETE_POST , self :: DELETE_TOPIC , self :: MOVE_POST , self :: MOVE_TOPIC , self :: SPLIT_TOPIC , ) ) ; }
this will define the groups for the acl form later
@return array
this will define the groups for the acl form later