public function getPermissionCodes()
    {
        $permissions = [
            'view' => MaskBuilder::MASK_VIEW,
            'create' => MaskBuilder::MASK_CREATE,
            'edit' => MaskBuilder::MASK_EDIT,
            'delete' => MaskBuilder::MASK_DELETE,
            'undelete' => MaskBuilder::MASK_UNDELETE,
            'operator' => MaskBuilder::MASK_OPERATOR,
            'master' => MaskBuilder::MASK_MASTER,
            'owner' => MaskBuilder::MASK_OWNER,
            'iddqd' => MaskBuilder::MASK_IDDQD,
            'commit' => MaskBuilder::MASK_COMMIT,
            'publish' => MaskBuilder::MASK_PUBLISH,
            'none' => MaskBuilder::CODE_NONE
        ];

        return $permissions;
    }
public function getPermissionCodes()
    {
        $permissions = [
            'view' => MaskBuilder::MASK_VIEW,
            'create' => MaskBuilder::MASK_CREATE,
            'edit' => MaskBuilder::MASK_EDIT,
            'delete' => MaskBuilder::MASK_DELETE,
            'undelete' => MaskBuilder::MASK_UNDELETE,
            'operator' => MaskBuilder::MASK_OPERATOR,
            'master' => MaskBuilder::MASK_MASTER,
            'owner' => MaskBuilder::MASK_OWNER,
            'iddqd' => MaskBuilder::MASK_IDDQD,
            'commit' => MaskBuilder::MASK_COMMIT,
            'publish' => MaskBuilder::MASK_PUBLISH,
            'none' => MaskBuilder::CODE_NONE
        ];

        return $permissions;
    }
public function getPermissionCodes ( ) { $ permissions = [ 'view' => MaskBuilder :: MASK_VIEW , 'create' => MaskBuilder :: MASK_CREATE , 'edit' => MaskBuilder :: MASK_EDIT , 'delete' => MaskBuilder :: MASK_DELETE , 'undelete' => MaskBuilder :: MASK_UNDELETE , 'operator' => MaskBuilder :: MASK_OPERATOR , 'master' => MaskBuilder :: MASK_MASTER , 'owner' => MaskBuilder :: MASK_OWNER , 'iddqd' => MaskBuilder :: MASK_IDDQD , 'commit' => MaskBuilder :: MASK_COMMIT , 'publish' => MaskBuilder :: MASK_PUBLISH , 'none' => MaskBuilder :: CODE_NONE ] ; return $ permissions ; }
Get a list of all available permission codes.

@return array
Get a list of all available permission codes .